JoinTheAlliance / bgent

Flexible, scalable and customizable agents to do your bidding.
https://bgent.org
69 stars 15 forks source link

Add temperature #69

Closed lalalune closed 3 months ago

lalalune commented 3 months ago

Currently we don't have a temperature argument for AI completions. We should add this argument for OpenAI for now. Soon we will abstract this to a model provider.

const response = await runtime.completion({ context, frequency_penalty, temperature // add this });

AqeelAqeel commented 3 months ago

Could this be achieved by simply adding the parameter in the call / adding the call into chatcompletion function?