Type alias TextResponseResult
TextResponseResult: {
content: string | null;
finishReason?: "stop" | "length" | "function_call" | "content_filter" | "error";
functionCalls?: {
function: {
arguments?: string | object;
name: string;
};
id: string;
type: "function";
}[];
id?: string;
name?: string;
role?: string;
}
Type declaration
content: string | null
Optional
finishReason?: "stop" | "length" | "function_call" | "content_filter" | "error"
Optional
functionCalls?: {
function: {
arguments?: string | object;
name: string;
};
id: string;
type: "function";
}[]
Optional
id?: string
Optional
name?: string
Optional
role?: string