Response

Response: { choices: Array<{ finish_reason: string, index: number, logprobs: string, message: { content: string } }>, created: number, id: string, model: string, object: string, system_fingerprint: string | null, usage: { completion_tokens: number, prompt_tokens: number, total_tokens: number } }

Represents the structure of the Response from a request to the /chat/completions endpoint.

Last updated