Class JambaResponse
Inherited Members
Namespace: Glitch9.AIDevKit.AI21Labs
Assembly: Glitch9.AIDevKit.Provider.AI21.dll
Syntax
public class JambaResponse
Properties
| Edit this page View SourceChoices
Required. One or more responses, depending on the n parameter from the request.
Declaration
[JsonProperty("choices")]
public JambaChoice[] Choices { get; set; }
Property Value
| Type | Description |
|---|---|
| JambaChoice[] |
Id
Required. Unique ID for each request (not message). Same ID for all responses in a streaming response.
Declaration
[JsonProperty("id")]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Usage
Required. The token counts for this request. Per-token billing is based on the prompt token and completion token counts and rates.
Declaration
[JsonProperty("usage")]
public Usage Usage { get; set; }
Property Value
| Type | Description |
|---|---|
| Usage |