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:
Akshay Dongare 2025-04-08 13:04:17 -04:00 committed by GitHub
parent 5686fed40b
commit 164e606cae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"from langchain_litellm.chat_models import ChatLiteLLM\n", "from langchain_litellm import ChatLiteLLM\n",
"\n", "\n",
"llm = ChatLiteLLM(model=\"gpt-3.5-turbo\")" "llm = ChatLiteLLM(model=\"gpt-3.5-turbo\")"
] ]

View File

@ -10,7 +10,7 @@ pip install langchain-litellm
## Chat Models ## Chat Models
```python ```python
from langchain_litellm.chat_models import ChatLiteLLM from langchain_litellm import ChatLiteLLM
``` ```
See more detail in the guide [here](/docs/integrations/chat/litellm). See more detail in the guide [here](/docs/integrations/chat/litellm).