Class CohereEmbeddingResponse.EmbeddingEntry
Inherited Members
Namespace: Glitch9.AIDevKit.Cohere
Assembly: Glitch9.AIDevKit.Provider.Cohere.dll
Syntax
public class CohereEmbeddingResponse.EmbeddingEntry
Properties
| Edit this page View SourceBase64
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[] |
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[][] |
Float
Optional. An array of float embeddings.
Declaration
[JsonProperty("float")]
public float[][] Float { get; set; }
Property Value
| Type | Description |
|---|---|
| float[][] |
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[][] |
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[][] |
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[][] |