Skip to content

Conversation

@smackcrane
Copy link
Contributor

Describe the change
The store parameter recently introduced by OpenAI has been added to CompletionRequest already in #870 ; it is here added to ChatCompletionRequest, and the related metadata parameter added to both.

Provide OpenAI documentation link
https://platform.openai.com/docs/api-reference/chat/create#chat-create-store
https://platform.openai.com/docs/api-reference/chat/create#chat-create-metadata

Describe your solution
Simply adds new fields to the API call objects.

Tests
No new tests added.

(Partly addresses) Issue: #872

Copy link
Owner

@sashabaranov sashabaranov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@sashabaranov sashabaranov merged commit 9fe2c6c into sashabaranov:master Oct 15, 2024
@smackcrane smackcrane deleted the store branch October 15, 2024 22:03
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