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

Added new (Beta) feature 'seed' to ChatCompletionRequest. #50

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

avastmick
Copy link
Contributor

OpenAI recently added a new Beta feature to some of its models, seed.

See API Reference - create chat completion - seed for details.

I have added the field to ChatCompletionRequest as an Option<i64>.

I have tested on gpt-4-1106-preview and it does appear to produce more consistent results, especially using response_format: json!({ "type": "json_object" }).

@dongri
Copy link
Owner

dongri commented Nov 29, 2023

LGTM

@dongri dongri merged commit 6cb75fd into dongri:main Nov 29, 2023
1 check passed
ra0x3 added a commit to ra0x3/openai-rst that referenced this pull request May 3, 2024
* enhancement: add custom ReactRadixIcon component

* fix login padding
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