AxAICohereChatRequest
type AxAICohereChatRequest = object;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L41
Properties
chat_history
chat_history: (
| {
message: string;
role: "CHATBOT";
tool_calls?: AxAICohereChatResponseToolCalls;
}
| {
message: string;
role: "SYSTEM";
}
| {
message: string;
role: "USER";
}
| {
message?: string;
role: "TOOL";
tool_results: AxAICohereChatRequestToolResults;
})[];
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L44
end_sequences?
optional end_sequences: readonly string[];
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L72
frequency_penalty?
optional frequency_penalty: number;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L70
k?
optional k: number;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L68
max_tokens?
optional max_tokens: number;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L66
message?
optional message: string;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L42
model
model: AxAICohereModel;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L65
p?
optional p: number;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L69
preamble?
optional preamble: string;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L43
presence_penalty?
optional presence_penalty: number;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L71
stop_sequences?
optional stop_sequences: string[];
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L73
temperature?
optional temperature: number;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L67
tool_results?
optional tool_results: AxAICohereChatRequestToolResults;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L86
tools?
optional tools: object[];
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/cohere/types.ts#L74
description
description: string;
name
name: string;
parameter_definitions
parameter_definitions: Record<string, {
description: string;
required: boolean;
type: string;
}>;