Expand description
Chat completions API types for /v1/chat/completions endpoint.
Structs§
- Chat
Request - The chat request body for
/v1/chat/completionsendpoint. - Chat
Response - The chat response body for
/v1/chat/completionsendpoint. - Chat
Response Chunk - Streaming chat response chunk.
- Choice
- A response choice from the model.
- Choice
Chunk - A streaming response choice chunk.
- Choice
Message - The generated chat completion message.
- Delta
- Delta content in streaming response.
- LogProbs
- Log probabilities.
- Token
LogProb - Token log probability.
- TopLog
Prob - Top log probability.
Enums§
- Message
- Chat message objects.