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

Question on adding temperature to my chat object #259

Closed
smach opened this issue Jan 19, 2025 · 1 comment
Closed

Question on adding temperature to my chat object #259

smach opened this issue Jan 19, 2025 · 1 comment

Comments

@smach
Copy link

smach commented Jan 19, 2025

Would this be correct for setting an OpenAI model temperature? (Sorry to ask here, but it's hard for me to know, since I don't think I can see model details of my ellmer chat object?)

my_chat <- chat_openai( model = "gpt-4o-mini", api_args = list(temperature = 0) )

@hadley
Copy link
Member

hadley commented Jan 20, 2025

Yeah, that looks write to me. You can check to see exactly what ellmer is sending with httr2::with_verbosity().

@hadley hadley closed this as completed Jan 20, 2025
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

No branches or pull requests

2 participants