Search Results for

    Show / Hide Table of Contents

    Class Embeddings

    Inheritance
    object
    Embeddings
    Implements
    IEquatable<Embeddings>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: DotnetPrompt.LLM.OpenAI.Model
    Assembly: DotnetPrompt.LLM.OpenAI.dll
    Syntax
    public record Embeddings : IEquatable<Embeddings>

    Properties

    | Improve this Doc View Source

    Data

    Embedding values for the prompts submitted in the request.

    Declaration
    [JsonPropertyName("data")]
    public IReadOnlyList<EmbeddingItem> Data { get; init; }
    Property Value
    Type Description
    IReadOnlyList<EmbeddingItem>
    | Improve this Doc View Source

    Model

    ID of the model to use.

    Declaration
    [JsonPropertyName("model")]
    public string Model { get; init; }
    Property Value
    Type Description
    string
    | Improve this Doc View Source

    Usage

    Usage counts for tokens input using the embeddings API.

    Declaration
    [JsonPropertyName("usage")]
    public EmbeddingsUsage Usage { get; init; }
    Property Value
    Type Description
    EmbeddingsUsage

    Implements

    System.IEquatable<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright 2023 © Pavel «xakpc» Osadchuk for DotnetPrompt