Temperature #23
-
|
Hey! Thanks for the framework! How complicated would be to allow setting a temperature parameter? |
Beta Was this translation helpful? Give feedback.
Answered by
ilvalerione
Apr 7, 2025
Replies: 1 comment 1 reply
-
|
Hi @torchello, Every AI Provider support a constructor argument https://github.com/inspector-apm/neuron-ai/blob/main/src/Providers/OpenAI/OpenAI.php#L51 new OpenAI(
key: '...',
model: '...',
parameters: ['temperature' => 0]
) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
torchello
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @torchello, Every AI Provider support a constructor argument
parametersthat allows you to pass custom parameters to the underlying LLM API.https://github.com/inspector-apm/neuron-ai/blob/main/src/Providers/OpenAI/OpenAI.php#L51