Class AmazonTitanTextEvent.ChunkData
Inherited Members
Namespace: Glitch9.AIDevKit.AmazonAws
Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
Syntax
public class AmazonTitanTextEvent.ChunkData
Properties
| Edit this page View SourceCompletionReason
Required. The reason the response finished being generated. The following reasons are possible:
FINISHED -The response was fully generated. LENGTH -The response was truncated because of the response length you set. STOP_CRITERIA_MET -The response was truncated because the stop criteria was reached. RAG_QUERY_WHEN_RAG_DISABLED -The feature is disabled and cannot complete the query. CONTENT_FILTERED -The contents were filtered or removed by the filter applied.
Declaration
[JsonProperty("completionReason")]
public string CompletionReason { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Index
Required. The index of the chunk in the streaming response.
Declaration
[JsonProperty("index")]
public int Index { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
InputTextTokenCount
Required. The number of tokens in the prompt.
Declaration
[JsonProperty("inputTextTokenCount")]
public int InputTextTokenCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
OutputText
Required. The text in the response.
Declaration
[JsonProperty("outputText")]
public string OutputText { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TotalOutputTextTokenCount
Required. The number of tokens in the response.
Declaration
[JsonProperty("totalOutputTextTokenCount")]
public int TotalOutputTextTokenCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |