Class JambaStreamChoice
Inherited Members
Namespace: Glitch9.AIDevKit.AI21Labs
Assembly: Glitch9.AIDevKit.Provider.AI21.dll
Syntax
public sealed class JambaStreamChoice
Properties
| Edit this page View SourceDelta
Required. The first message in the stream will be {"role":"assistant"}. Subsequent messages will be {"content": token} with the generated token.
Declaration
[JsonProperty("delta")]
public JambaDelta Delta { get; set; }
Property Value
| Type | Description |
|---|---|
| JambaDelta |
FinishReason
Optional. Why the message ended.
Declaration
[JsonProperty("finish_reason")]
public FinishReason FinishReason { get; set; }
Property Value
| Type | Description |
|---|---|
| FinishReason |
Index
Required. Always zero.
Declaration
[JsonProperty("index")]
public int Index { get; set; }
Property Value
| Type | Description |
|---|---|
| int |