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

Set lower temperature to ChatGPT calls #28793

Merged
merged 1 commit into from Jul 11, 2023
Merged

Conversation

jakule
Copy link
Contributor

@jakule jakule commented Jul 6, 2023

Updated the ChatCompletionRequest in the agent model to include temperature parameter. The temperature parameter controls the randomness of the AI's responses, making the model more conservative and focused with a lower value. In this case, the temperature is set to 0.3 to produce more focused and consistent results. Default is 1.0. Max is 2.0.

Updated the ChatCompletionRequest in the agent model to include temperature parameter. The temperature parameter controls the randomness of the AI's responses, making the model more conservative and focused with a lower value. In this case, the temperature is set to 0.3 to produce more focused and consistent results. Default is 1.0. Max is 2.0.
@jakule
Copy link
Contributor Author

jakule commented Jul 11, 2023

Friendly ping @xacrimon @zmb3 @lxea

@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from xacrimon July 11, 2023 14:44
Copy link
Contributor

@xacrimon xacrimon left a comment

Choose a reason for hiding this comment

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

Tested yesterday, the modified behaviour seems good to me.

@jakule jakule added this pull request to the merge queue Jul 11, 2023
Merged via the queue into master with commit f13cd93 Jul 11, 2023
23 checks passed
@jakule jakule deleted the jakule/gpt-temperature branch July 11, 2023 17:38
@public-teleport-github-review-bot

@jakule See the table below for backport results.

Branch Result
branch/v13 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants