choices
choices: {
finish_reason: string;
index: number;
logprobs: any;
message: {
content: string;
role: string;
} & {
function_call?: {
arguments: string;
name: string;
};
tool_calls?: {
function: {
arguments: string;
name: string;
};
id: string;
type: string;
}[];
};
}[]
Type declaration
finish_reason: string
index: number
logprobs: any
message: {
content: string;
role: string;
} & {
function_call?: {
arguments: string;
name: string;
};
tool_calls?: {
function: {
arguments: string;
name: string;
};
id: string;
type: string;
}[];
}