Class TextCompletionRequest
- Namespace
- FoundationaLLM.Common.Models.Vectorization
- Assembly
- FoundationaLLM.Common.dll
Models a request to run a list of completions.
public class TextCompletionRequest
- Inheritance
-
TextCompletionRequest
- Inherited Members
- Extension Methods
Properties
CompletionModelName
The name of the completion model to use. If not specified, a default embedding model should be used.
[JsonPropertyName("completion_model_name")]
public string CompletionModelName { get; set; }
Property Value
CompletionModelParameters
Gets or sets the parameters for the completion model.
[JsonPropertyName("completion_model_parameters")]
public Dictionary<string, object> CompletionModelParameters { get; set; }
Property Value
TextChunks
The list of TextChunk objects containing the completion inputs.
[JsonPropertyName("text_chunks")]
public IList<TextChunk> TextChunks { get; set; }