Search Results for

    Show / Hide Table of Contents

    Class VectorStoreFileService

    Vector Store Files: https://platform.openai.com/docs/api-reference/vector-stores-files

    Inheritance
    object
    CrudServiceBase<OpenAIClient>
    VectorStoreFileService
    Implements
    ICrudService
    IBetaService
    Inherited Members
    CrudServiceBase<OpenAIClient>.client
    CrudServiceBase<OpenAIClient>.ApiKey
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.OpenAI.Services
    Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
    Syntax
    public sealed class VectorStoreFileService : CrudServiceBase<OpenAIClient>, ICrudService, IBetaService

    Constructors

    | Edit this page View Source

    VectorStoreFileService(OpenAIClient)

    Declaration
    public VectorStoreFileService(OpenAIClient client)
    Parameters
    Type Name Description
    OpenAIClient client

    Methods

    | Edit this page View Source

    CreateAsync(string, VectorStoreFileRequest, RequestOptions)

    Declaration
    public UniTask<VectorStoreFile> CreateAsync(string vectorStoreId, VectorStoreFileRequest request, RequestOptions options = null)
    Parameters
    Type Name Description
    string vectorStoreId
    VectorStoreFileRequest request
    RequestOptions options
    Returns
    Type Description
    UniTask<VectorStoreFile>
    | Edit this page View Source

    DeleteAsync(string, string, RequestOptions)

    Declaration
    public UniTask<VectorStoreFile> DeleteAsync(string vectorStoreId, string fileId, RequestOptions options = null)
    Parameters
    Type Name Description
    string vectorStoreId
    string fileId
    RequestOptions options
    Returns
    Type Description
    UniTask<VectorStoreFile>
    | Edit this page View Source

    ListAsync(string, CursorQuery, RequestOptions)

    Declaration
    public UniTask<Queried<VectorStoreFile>> ListAsync(string vectorStoreId, CursorQuery query = null, RequestOptions options = null)
    Parameters
    Type Name Description
    string vectorStoreId
    CursorQuery query
    RequestOptions options
    Returns
    Type Description
    UniTask<Queried<VectorStoreFile>>
    | Edit this page View Source

    RetrieveAsync(string, string, RequestOptions)

    Declaration
    public UniTask<VectorStoreFile> RetrieveAsync(string vectorStoreId, string fileId, RequestOptions options = null)
    Parameters
    Type Name Description
    string vectorStoreId
    string fileId
    RequestOptions options
    Returns
    Type Description
    UniTask<VectorStoreFile>

    Implements

    ICrudService
    IBetaService

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation