Find answers from the community

Updated 6 months ago

Kwargs

At a glance

The community member is trying to add certain parameters ("do_sample", "temperature", "top_p") to an OpenAI-like class, but they are having trouble doing so using additional kwargs. Another community member suggests that using additional kwargs should work, as they get added to every API request, and provides a link to the relevant code.

Useful resources
"do_sample": True,
"temperature": 0.6,
"top_p": 0.9,
},

Is there a way to add this in the openailike class....I tried additonal kwargs but no avail
Add a reply
Sign up and join the conversation on Discord