Search Results for

    Show / Hide Table of Contents

    Class EmbedResponse

    The response from the /embed endpoint. Contains embedding vectors and metadata.

    Inheritance
    object
    OllamaResponse
    EmbedResponse
    Inherited Members
    OllamaResponse.Model
    OllamaResponse.TotalDuration
    OllamaResponse.LoadDuration
    OllamaResponse.InputTokenCount
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Ollama
    Assembly: Glitch9.AIDevKit.Provider.Ollama.dll
    Syntax
    public class EmbedResponse : OllamaResponse

    Properties

    | Edit this page View Source

    Embeddings

    A list of embedding vectors for each input.

    Declaration
    [JsonProperty("embeddings")]
    public List<List<float>> Embeddings { get; set; }
    Property Value
    Type Description
    List<List<float>>

    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