- DATE:
- AUTHOR:
- The LangChain Team
LangChain
🪄 Initialize any model in one line of code
DATE:
AUTHOR:
The LangChain Team
LangChain has a lot of chat model integrations, and it can be hard to remember how to import each.
To make things simple, we've added a universal model initializer in LangChain for Python and JavaScript. This lets you use any common chat model without having to remember different import paths and class names.
Use it with OpenAI, Anthropic, Gemini, Bedrock, Cohere, and more!
See the how-to guide for Python.
See the how-to guide for JavaScript