Class MistralEmbedRequest
Inherited Members
Namespace: Glitch9.AIDevKit.Mistral
Assembly: Glitch9.AIDevKit.Provider.Mistral.dll
Syntax
public class MistralEmbedRequest
Properties
| Edit this page View SourceEncodingFormat
Optional. The format to return embeddings in. "float"|"base64"
Declaration
[JsonProperty("encoding_format")]
public string EncodingFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Input
Required. The text content to be embedded, can be a string or an array of strings for fast processing in bulk.
Declaration
[JsonProperty("input")]
public List<string> Input { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
Model
Required. The ID of the model to be used for embedding.
Declaration
[JsonProperty("model")]
public string Model { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OutputDimension
Optional. The dimension of the output embeddings when feature available. If not provided, a default output dimension will be used.
Declaration
[JsonProperty("output_dimension")]
public int? OutputDimension { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
OutputDtype
Optional. The data type of the output embeddings when feature available. "float"|"int8"|"uint8"|"binary"|"ubinary"
Declaration
[JsonProperty("output_dtype")]
public string OutputDtype { get; set; }
Property Value
| Type | Description |
|---|---|
| string |