Class Embedding
Inherited Members
Namespace: Glitch9.AIDevKit.OpenAI
Assembly: .dll
Syntax
public class Embedding : ModelResponse
Properties
EmbeddingVector
The embedding vector, which is a list of floats. The length of vector depends on the model as listed in the embedding guide. See the embedding guide for more information on the length of the vector for each model.
Declaration
public float[] EmbeddingVector { get; set; }
Property Value
Type | Description |
---|---|
float[] |
Index
The index of the embedding in the list of embeddings.
Declaration
public int Index { get; set; }
Property Value
Type | Description |
---|---|
int |