Class EmbeddingResult
public class EmbeddingResult : IGeneratedOutput
- Inheritance
-
objectEmbeddingResult
- Implements
Properties
Count
public int Count { get; }
Property Value
- int
Embeddings
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.
public List<float[]> Embeddings { get; set; }
Property Value
- List<float[]>
RecordId
public string RecordId { get; set; }
Property Value
- string
Usage
public UsageMetadata Usage { get; set; }
Property Value
Methods
GetOutputFiles()
public List<IFile> GetOutputFiles()
Returns
- List<IFile>
GetOutputTexts()
public List<string> GetOutputTexts()
Returns
- List<string>
GetUsage()
public UsageMetadata GetUsage()