langchain
745e3e29 - add getattr case for llms.type_to_cls_dict (#11362)

Commit
2 years ago
add getattr case for llms.type_to_cls_dict (#11362) For external libraries that depend on `type_to_cls_dict`, adds a workaround to continue using the old format. Recommend people use `get_type_to_cls_dict()` instead and only resolve the imports when they're used.
Author
Erick Friis
Parents
Loading