Class CohereMessageDelta
Inheritance
CohereMessageDelta
Assembly: Glitch9.AIDevKit.Provider.Cohere.dll
Syntax
public sealed class CohereMessageDelta
Properties
|
Edit this page
View Source
Error
Optional. Error message if stream failed.
Declaration
[JsonProperty("error")]
public string Error { get; set; }
Property Value
|
Edit this page
View Source
FinishReason
Optional. Reason the chat request finished.
Declaration
[JsonProperty("finish_reason")]
public FinishReason? FinishReason { get; set; }
Property Value
|
Edit this page
View Source
Index
Optional. Index for certain streamed blocks (e.g., content, citation, tool).
Declaration
[JsonProperty("index")]
public int? Index { get; set; }
Property Value
|
Edit this page
View Source
LogProbs
Optional. Log probabilities for this content delta.
Declaration
[JsonProperty("logprobs")]
public CohereLogProbs LogProbs { get; set; }
Property Value
|
Edit this page
View Source
Message
Declaration
[JsonProperty("message")]
public Message Message { get; set; }
Property Value
|
Edit this page
View Source
Usage
Optional. Usage data for the streamed response.
Declaration
[JsonProperty("usage")]
public CohereUsage Usage { get; set; }
Property Value
Extension Methods