Search Results for

    Show / Hide Table of Contents

    Class CorporaDocumentChunkService

    Inheritance
    object
    CrudServiceBase<GoogleAIClient>
    CorporaDocumentChunkService
    Implements
    ICrudService
    IBetaService
    Inherited Members
    CrudServiceBase<GoogleAIClient>.client
    CrudServiceBase<GoogleAIClient>.ApiKey
    CrudServiceBase<GoogleAIClient>.GetUrl(params string[])
    CrudServiceBase<GoogleAIClient>.GetChildUrl(string, params string[])
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Google.Services
    Assembly: Glitch9.AIDevKit.Provider.Google.dll
    Syntax
    public class CorporaDocumentChunkService : CrudServiceBase<GoogleAIClient>, ICrudService, IBetaService

    Constructors

    | Edit this page View Source

    CorporaDocumentChunkService(GoogleAIClient)

    Declaration
    public CorporaDocumentChunkService(GoogleAIClient client)
    Parameters
    Type Name Description
    GoogleAIClient client

    Methods

    | Edit this page View Source

    CreateAsync(string, string, Chunk, RequestOptions)

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

    CreateBatchAsync(string, string, ChunkBatchRequest<CreateChunkRequest>, RequestOptions)

    Declaration
    public UniTask<Queried<Chunk>> CreateBatchAsync(string corpusId, string documentId, ChunkBatchRequest<CreateChunkRequest> request, RequestOptions options = null)
    Parameters
    Type Name Description
    string corpusId
    string documentId
    ChunkBatchRequest<CreateChunkRequest> request
    RequestOptions options
    Returns
    Type Description
    UniTask<Queried<Chunk>>
    | Edit this page View Source

    DeleteAsync(string, string, string, RequestOptions)

    Declaration
    public UniTask<DeletionStatus> DeleteAsync(string corpusId, string documentId, string chunkId, RequestOptions options = null)
    Parameters
    Type Name Description
    string corpusId
    string documentId
    string chunkId
    RequestOptions options
    Returns
    Type Description
    UniTask<DeletionStatus>
    | Edit this page View Source

    DeleteBatchAsync(string, string, ChunkBatchRequest<DeleteChunkRequest>, RequestOptions)

    Declaration
    public UniTask<bool> DeleteBatchAsync(string corpusId, string documentId, ChunkBatchRequest<DeleteChunkRequest> request, RequestOptions options = null)
    Parameters
    Type Name Description
    string corpusId
    string documentId
    ChunkBatchRequest<DeleteChunkRequest> request
    RequestOptions options
    Returns
    Type Description
    UniTask<bool>
    | Edit this page View Source

    ListAsync(string, string, CursorQuery, RequestOptions)

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

    RetrieveAsync(string, string, string, RequestOptions)

    Declaration
    public UniTask<Chunk> RetrieveAsync(string corpusId, string documentId, string chunkId, RequestOptions options = null)
    Parameters
    Type Name Description
    string corpusId
    string documentId
    string chunkId
    RequestOptions options
    Returns
    Type Description
    UniTask<Chunk>
    | Edit this page View Source

    UpdateAsync(string, string, string, IEnumerable<UpdateMask>, RequestOptions)

    Declaration
    public UniTask<Chunk> UpdateAsync(string corpusId, string documentId, string chunkId, IEnumerable<UpdateMask> updateMasks, RequestOptions options = null)
    Parameters
    Type Name Description
    string corpusId
    string documentId
    string chunkId
    IEnumerable<UpdateMask> updateMasks
    RequestOptions options
    Returns
    Type Description
    UniTask<Chunk>
    | Edit this page View Source

    UpdateBatchAsync(string, string, ChunkBatchRequest<UpdateChunkRequest>, RequestOptions)

    Declaration
    public UniTask<Queried<Chunk>> UpdateBatchAsync(string corpusId, string documentId, ChunkBatchRequest<UpdateChunkRequest> request, RequestOptions options = null)
    Parameters
    Type Name Description
    string corpusId
    string documentId
    ChunkBatchRequest<UpdateChunkRequest> request
    RequestOptions options
    Returns
    Type Description
    UniTask<Queried<Chunk>>

    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