Search Results for

    Show / Hide Table of Contents

    Class DefaultEmbeddingService

    Inheritance
    object
    GenerativeServiceBase
    DefaultEmbeddingService
    Implements
    IEmbeddingService
    IGenerativeService<string, Embedding, IEmbeddingsOptions>
    IDisposable
    Inherited Members
    GenerativeServiceBase.CancelAsync()
    GenerativeServiceBase.Dispose()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public sealed class DefaultEmbeddingService : GenerativeServiceBase, IEmbeddingService, IGenerativeService<string, Embedding, IEmbeddingsOptions>, IDisposable

    Methods

    | Edit this page View Source

    GenerateAsync(string, IEmbeddingsOptions, CancellationToken)

    Generates a final output asynchronously.

    Declaration
    public UniTask<Generated<Embedding>> GenerateAsync(string input, IEmbeddingsOptions @params, CancellationToken ct = default)
    Parameters
    Type Name Description
    string input

    The input data.

    IEmbeddingsOptions params
    CancellationToken ct

    The cancellation token.

    Returns
    Type Description
    UniTask<Generated<Embedding>>

    The generated result.

    Implements

    IEmbeddingService
    IGenerativeService<TInput, TOutput, TSettings>
    IDisposable

    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.TryDispose(IDisposable)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation