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 SourceData
Embedding values for the prompts submitted in the request.
Declaration
[JsonPropertyName("data")]
public IReadOnlyList<EmbeddingItem> Data { get; init; }
Property Value
Type | Description |
---|---|
IReadOnlyList<EmbeddingItem> |
Model
ID of the model to use.
Declaration
[JsonPropertyName("model")]
public string Model { get; init; }
Property Value
Type | Description |
---|---|
string |
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>