mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-17 02:03:44 +00:00
docs: fix import path and update LiteLLM integration docs (#30685)
- [x] **PR title**: "docs: Update import path and LiteLLM integration docs" - Update the old import path for `ChatLiteLLM` to reflect the new export from [`__init__.py`](https://github.com/Akshay-Dongare/langchain-litellm/blob/main/langchain_litellm/__init__.py) in [`langchain-litellm`](https://github.com/Akshay-Dongare/langchain-litellm) package - [x] **PR message**: - **Description:** - 🔗 **Follow-up to**: PR #30637 - 🔧 **Fixes**: #30368 - 💬 **Based on this comment from** @ccurme: https://github.com/langchain-ai/langchain/pull/30637#discussion_r2029084320 - [x] **About me** 🔗 LinkedIn: [akshay-dongare](https://www.linkedin.com/in/akshay-dongare/)
This commit is contained in:
parent
5686fed40b
commit
164e606cae
@ -121,7 +121,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from langchain_litellm.chat_models import ChatLiteLLM\n",
|
||||
"from langchain_litellm import ChatLiteLLM\n",
|
||||
"\n",
|
||||
"llm = ChatLiteLLM(model=\"gpt-3.5-turbo\")"
|
||||
]
|
||||
|
@ -10,7 +10,7 @@ pip install langchain-litellm
|
||||
|
||||
## Chat Models
|
||||
```python
|
||||
from langchain_litellm.chat_models import ChatLiteLLM
|
||||
from langchain_litellm import ChatLiteLLM
|
||||
```
|
||||
See more detail in the guide [here](/docs/integrations/chat/litellm).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user