Search Results for

    Show / Hide Table of Contents

    Class MistralEmbedRequest

    Inheritance
    object
    MistralEmbedRequest
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Mistral
    Assembly: Glitch9.AIDevKit.Provider.Mistral.dll
    Syntax
    public class MistralEmbedRequest

    Properties

    | Edit this page View Source

    EncodingFormat

    Optional. The format to return embeddings in. "float"|"base64"

    Declaration
    [JsonProperty("encoding_format")]
    public string EncodingFormat { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    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>
    | Edit this page View Source

    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
    | Edit this page View Source

    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?
    | Edit this page View Source

    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

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation