Class TextEmbeddingsRequest
public class TextEmbeddingsRequest
- Inheritance
-
TextEmbeddingsRequest
- Inherited Members
Properties
KeepAlive
controls how long the model will stay loaded into memory following the request (default: 5m)
[JsonPropertyName("keep_alive")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? KeepAlive { get; set; }
Property Value
Model
name of model to generate embeddings from
[JsonPropertyName("model")]
public string Model { get; set; }
Property Value
Options
additional model parameters listed in the documentation for the Modelfile such as temperature
[JsonPropertyName("options")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ModelReplyOptions? Options { get; set; }
Property Value
Prompt
text to generate embeddings for
[JsonPropertyName("prompt")]
public string Prompt { get; set; }