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
Right now, we have to add each provider manually, ex #557
We should probably think about doing something along the lines of dynamically looking up the class provided inside the langchain module instead of manually adding all these classes. Something like:
ModelClass=getattr(langchain, the_class_name)
One wrinkle is that some models come from different modules:
Right now, we have to add each provider manually, ex #557
We should probably think about doing something along the lines of dynamically looking up the class provided inside the langchain module instead of manually adding all these classes. Something like:
One wrinkle is that some models come from different modules:
So it needs to be slightly more clever than that.
The text was updated successfully, but these errors were encountered: