Class AmazonTitanTextResponse.Result
Inherited Members
Namespace: Glitch9.AIDevKit.AmazonAws
Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
Syntax
public class AmazonTitanTextResponse.Result
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 content filter applied.
Declaration
[JsonProperty("completionReason")]
public string CompletionReason { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OutputText
Required. The text in the response.
Declaration
[JsonProperty("outputText")]
public string OutputText { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TokenCount
Required. The number of tokens in the response.
Declaration
[JsonProperty("tokenCount")]
public int TokenCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |