You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Models should also accept the parameters when created, in addition to receiving them by chat.
Chat parameters should override existing params. If no params (chat nor model) are defined default will be used.
Motivation
This allows for more intuitive code. Allows for integration with chains in langchain.
Your contribution
Will create a branch and submit a PR
The text was updated successfully, but these errors were encountered:
Added feature from #40, however currently only supports OpenAI. Support
for other providers should be trivial.
In summary the client.get_model now also takes in params. This was
necessary for the integration with langchain.
If parameters are provided in the .chat function, they override the ones
set in the get_model
Feature Request
Models should also accept the parameters when created, in addition to receiving them by chat.
Chat parameters should override existing params. If no params (chat nor model) are defined default will be used.
Motivation
This allows for more intuitive code. Allows for integration with chains in langchain.
Your contribution
Will create a branch and submit a PR
The text was updated successfully, but these errors were encountered: