Search Results for

    Show / Hide Table of Contents

    Class CohereEmbeddingResponse.EmbeddingEntry

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

    Properties

    | Edit this page View Source

    Base64

    Optional. An array of base64 embeddings. Each string is the result of appending the float embedding bytes together and base64 encoding that.

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

    Binary

    Optional. An array of packed signed binary embeddings. The length of each binary embedding is 1/8 the length of the float embeddings of the provided model. Each value is between -128 and 127.

    Declaration
    [JsonProperty("binary")]
    public int[][] Binary { get; set; }
    Property Value
    Type Description
    int[][]
    | Edit this page View Source

    Float

    Optional. An array of float embeddings.

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

    Int8

    Optional. An array of signed int8 embeddings. Each value is between -128 and 127.

    Declaration
    [JsonProperty("int8")]
    public int[][] Int8 { get; set; }
    Property Value
    Type Description
    int[][]
    | Edit this page View Source

    UBinary

    Optional. An array of packed unsigned binary embeddings. The length of each binary embedding is 1/8 the length of the float embeddings of the provided model. Each value is between 0 and 255.

    Declaration
    [JsonProperty("ubinary")]
    public int[][] UBinary { get; set; }
    Property Value
    Type Description
    int[][]
    | Edit this page View Source

    UInt8

    Optional. An array of unsigned int8 embeddings. Each value is between 0 and 255.

    Declaration
    [JsonProperty("uint8")]
    public int[][] UInt8 { get; set; }
    Property Value
    Type Description
    int[][]

    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