AxAICohereChatResponse
type AxAICohereChatResponse = object;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L89
Properties
finish_reason
finish_reason:
| "COMPLETE"
| "ERROR"
| "ERROR_TOXIC"
| "ERROR_LIMIT"
| "USER_CANCEL"
| "MAX_TOKENS";
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L99
generation_id
generation_id: string;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L97
meta
meta: object;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L91
billed_units
{
input_tokens: number;
output_tokens: number;
}
response_id
response_id: string;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L90
text
text: string;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L98
tool_calls
tool_calls: AxAICohereChatResponseToolCalls;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L106