deep-chat-dev
Version:
Customizable chat component for AI APIs
37 lines • 757 B
TypeScript
export type BigModelToolCall = {
function: {
name: string;
arguments: string;
};
id: string;
type: string;
};
export type BigModelNormalResult = {
message: {
role: string;
content: string;
tool_calls?: BigModelToolCall[];
};
};
export type BigModelStreamEvent = {
delta: {
role: string;
content: string;
tool_calls?: BigModelToolCall[];
};
finish_reason?: string;
};
export type BigModelResult = {
choices: (BigModelNormalResult | BigModelStreamEvent)[];
error?: {
message: string;
};
};
export type BigModelImagesResult = {
data: [
{
url?: string;
}
];
};
//# sourceMappingURL=bigModelResult.d.ts.map