Class CohereEmbeddingResponse
Inheritance
CohereEmbeddingResponse
Assembly: Glitch9.AIDevKit.Provider.Cohere.dll
Syntax
public class CohereEmbeddingResponse : IUsageProvider
Properties
|
Edit this page
View Source
Embeddings
Required. An object with different embedding types.
The length of each embedding type array will be the same as the
length of the original texts array.
Declaration
[JsonProperty("embeddings")]
public CohereEmbeddingResponse.EmbeddingEntry Embeddings { get; set; }
Property Value
|
Edit this page
View Source
Id
Declaration
[JsonProperty("id")]
public string Id { get; set; }
Property Value
|
Edit this page
View Source
Images
Optional. The image entries for which embeddings were returned.
Declaration
[JsonProperty("images")]
public CohereEmbeddingResponse.ImageEntry[] Images { get; set; }
Property Value
|
Edit this page
View Source
Declaration
[JsonProperty("meta")]
public CohereMeta Meta { get; set; }
Property Value
|
Edit this page
View Source
ResponseType
Optional.
Allowed values: embeddings_floats, embeddings_by_type, texts
Declaration
[JsonProperty("response_type")]
public string ResponseType { get; set; }
Property Value
|
Edit this page
View Source
Texts
Optional. The text entries for which embeddings were returned.
Declaration
[JsonProperty("texts")]
public string[] Texts { get; set; }
Property Value
Methods
|
Edit this page
View Source
GetUsage()
Declaration
Returns
Implements
Extension Methods