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

feat(api): adding temperature parameter #1282

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

stainless-bot
Copy link
Collaborator

No description provided.

@stainless-bot stainless-bot requested a review from a team as a code owner March 29, 2024 21:08
@stainless-bot stainless-bot merged commit 0e68fd3 into next Mar 29, 2024
@stainless-bot stainless-bot deleted the feat-api-adding-temperature-para branch March 29, 2024 21:08
@stainless-bot stainless-bot mentioned this pull request Mar 30, 2024
@@ -815,6 +842,10 @@ async def create_and_run(
model associated with the assistant. If not, the model associated with the
assistant will be used.

temperature: What sampling temperature to use, between 0 and 2. Higher values like 0.8 will
Copy link

Choose a reason for hiding this comment

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

This documentation line suggests that the upper bound value is 1 (not 2), since 0.8 is mentioned as "higher value". I think the default is 1, which means 0.8 is still smaller than the default, thus calling it "higher" is IMO mistake.

Copy link
Collaborator

Choose a reason for hiding this comment

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

cc @nknj

@adamralph
Copy link

It seems this issue would be better titled:

feat(api): adding temperature parameter and assistant role to assistants API

megamanics pushed a commit to devops-testbed/openai-python that referenced this pull request Aug 14, 2024
cgayapr pushed a commit to cgayapr/openai-python that referenced this pull request Dec 14, 2024
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.

4 participants