Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completion API: add Store and Metadata parameters #878

Merged
merged 1 commit into from
Oct 15, 2024

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
1 check passed
@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