Skip to content

Conversation

@infuzu-yidisprei
Copy link
Contributor

This commit introduces multiple classes representing different parts of the chat completion response, such as ChatCompletionsChoiceObject, ChatCompletionsChoiceMessageObject, and more. These changes improve the codebase by providing a structured and detailed representation of the API response, enhancing readability and maintainability. The return type of the create_chat_completion function is now ChatCompletionsObject, ensuring type safety and clarity. Additionally,

This commit introduces multiple classes representing different parts
of the chat completion response, such as ChatCompletionsChoiceObject,
ChatCompletionsChoiceMessageObject, and more. These changes improve
the codebase by providing a structured and detailed representation of
the API response, enhancing readability and maintainability. The
return type of the `create_chat_completion` function is now
`ChatCompletionsObject`, ensuring type safety and clarity. Additionally,
@infuzu-yidisprei infuzu-yidisprei merged commit 6a23e1f into main Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants