Class CohereLogProbs
Inherited Members
Namespace: Glitch9.AIDevKit.Cohere
Assembly: Glitch9.AIDevKit.Provider.Cohere.dll
Syntax
public sealed class CohereLogProbs
Properties
| Edit this page View SourceLogProbs
Required. The log probability of each token used to construct the text chunk.
Declaration
[JsonProperty("logprobs")]
public double[] LogProbs { get; set; }
Property Value
| Type | Description |
|---|---|
| double[] |
Text
Required. The text chunk for which the log probabilities was calculated.
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TokenIds
Required. The token ids of each token used to construct the text chunk.
Declaration
[JsonProperty("token_ids")]
public int[] TokenIds { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] |