Class TextEmbeddingRequest
- Namespace
- FoundationaLLM.Common.Models.Vectorization
- Assembly
- FoundationaLLM.Common.dll
Models a request to embed a list of text chunks.
public class TextEmbeddingRequest
- Inheritance
-
TextEmbeddingRequest
- Inherited Members
- Extension Methods
Properties
EmbeddingModelName
The name of the embedding model to use. If not specified, a default embedding model should be used.
[JsonPropertyName("embedding_model_name")]
public string EmbeddingModelName { get; set; }
Property Value
Prioritized
Indicates whether the request should be prioritized. Example: Synchronous vectorization and user prompt embedding for completions.
[JsonPropertyName("prioritized")]
public bool Prioritized { get; set; }
Property Value
TextChunks
The list of TextChunk objects containing the texts to embed.
[JsonPropertyName("text_chunks")]
public IList<TextChunk> TextChunks { get; set; }