Skip to content

How to set temperature for CompleteChatAsync options? #251

Answered by joseharriaga
kovac031 asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for reaching out, @kovac031 ! ChatCompletionOptions does have a Temperature property, as you can see here:
🔗 https://github.com/openai/openai-dotnet/blob/main/api/OpenAI.netstandard2.0.cs#L1387
🔗 https://github.com/openai/openai-dotnet/blob/main/src/Generated/Models/ChatCompletionOptions.cs#L46

The code that you included above is the correct way to use it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kovac031
Comment options

Answer selected by kovac031
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants