Skip to content
Discussion options

You must be logged in to vote

Hi @torchello, Every AI Provider support a constructor argument parameters that 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

new OpenAI(
    key: '...',
    model: '...',
    parameters: ['temperature' => 0]
)

Replies: 1 comment 1 reply

Comment options

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

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