Skip to content

Commit df448c8

Browse files
authored
oss(py): add ChatLiteLLM to chat index, update feature flags (#2997)
Add `ChatLiteLLM` to the chat integrations index and update its feature matrix to reflect newly supported capabilities (structured output and image input). ## Changes - Add `ChatLiteLLM` to the main chat models table and the "Routers & proxies" section in `chat/index.mdx` - Mark structured output and image input as supported (❌ β†’ βœ…) in the `ChatLiteLLM` model features table
1 parent 2dfd0c2 commit df448c8

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

β€Žsrc/oss/python/integrations/chat/index.mdxβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ description: "Integrate with chat models using LangChain Python."
3737
| [`ChatDatabricks`](/oss/integrations/chat/databricks) | βœ… | βœ… | ❌ |
3838
| [`ChatPerplexity`](/oss/integrations/chat/perplexity) | ❌ | βœ… | βœ… |
3939
| [`ChatOpenRouter`](/oss/integrations/chat/openrouter) | βœ… | βœ… | βœ… |
40+
| [`ChatLiteLLM`](/oss/integrations/chat/litellm) | βœ… | βœ… | βœ… |
4041

4142
### Routers & proxies
4243

@@ -45,6 +46,7 @@ Routers and proxies give you access to models from multiple providers through a
4546
| Provider | Integration | Description |
4647
|-|-|-|
4748
| [OpenRouter](https://openrouter.ai/) | [`ChatOpenRouter`](/oss/integrations/chat/openrouter) | Unified access to models from OpenAI, Anthropic, Google, Meta, and more |
49+
| [LiteLLM](https://www.litellm.ai/) | [`ChatLiteLLM`](/oss/integrations/chat/litellm) | Unified interface for OpenAI, Anthropic, Azure, Hugging Face, and more with routing and fallbacks |
4850

4951
## Chat Completions API
5052

β€Žsrc/oss/python/integrations/chat/litellm.mdxβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ This integration contains two main classes:
1818

1919
| Class | Package | Serializable | JS support| Downloads | Version |
2020
| :--- | :--- | :---: | :---: | :---: | :---: |
21-
| [`ChatLiteLLM`](/oss/integrations/chat/litellm) | [`langchain-litellm`](https://pypi.org/project/langchain-litellm/)| ❌ | ❌ | ![PyPI - Downloads](https://img.shields.io/pypi/dm/langchain-litellm?style=flat-square&label=%20) | ![PyPI - Version](https://img.shields.io/pypi/v/langchain-litellm?style=flat-square&label=%20) |
22-
| [`ChatLiteLLMRouter`](/oss/integrations/chat/litellm) | [`langchain-litellm`](https://pypi.org/project/langchain-litellm/)| ❌ | ❌ | ![PyPI - Downloads](https://img.shields.io/pypi/dm/langchain-litellm?style=flat-square&label=%20) | ![PyPI - Version](https://img.shields.io/pypi/v/langchain-litellm?style=flat-square&label=%20) |
21+
| [`ChatLiteLLM`](https://reference.langchain.com/python/langchain-litellm/chat_models/litellm/ChatLiteLLM) | [`langchain-litellm`](https://pypi.org/project/langchain-litellm/)| ❌ | ❌ | ![PyPI - Downloads](https://img.shields.io/pypi/dm/langchain-litellm?style=flat-square&label=%20) | ![PyPI - Version](https://img.shields.io/pypi/v/langchain-litellm?style=flat-square&label=%20) |
22+
| [`ChatLiteLLMRouter`](https://reference.langchain.com/python/langchain-litellm/chat_models/litellm_router/ChatLiteLLMRouter) | [`langchain-litellm`](https://pypi.org/project/langchain-litellm/)| ❌ | ❌ | ![PyPI - Downloads](https://img.shields.io/pypi/dm/langchain-litellm?style=flat-square&label=%20) | ![PyPI - Version](https://img.shields.io/pypi/v/langchain-litellm?style=flat-square&label=%20) |
2323

2424
### Model features
2525

2626
| [Tool calling](/oss/langchain/tools) | [Structured output](/oss/langchain/structured-output#structured-output) | Image input | Audio input | Video input | [Token-level streaming](/oss/integrations/chat/litellm#async-and-streaming-functionality) | [Native async](/oss/integrations/chat/litellm#async-and-streaming-functionalityy) | [Token usage](/oss/langchain/models#token-usage) | [Logprobs](/oss/langchain/models#log-probabilities) |
2727
| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
28-
| βœ… | ❌ | ❌ | ❌ | ❌ | βœ… | βœ… | βœ… | ❌ |
28+
| βœ… | βœ… | βœ… | ❌ | ❌ | βœ… | βœ… | βœ… | ❌ |
2929

3030
### Setup
3131

@@ -139,4 +139,4 @@ It is important to note that antibiotics only work against bacterial infections
139139

140140
## API reference
141141

142-
For detailed documentation of all `ChatLiteLLM` and `ChatLiteLLMRouter` features and configurations, head to the API reference: [github.com/langchain-ai/langchain-litellm](https://github.com/langchain-ai/langchain-litellm)
142+
For detailed documentation of all `ChatLiteLLM` and `ChatLiteLLMRouter` features and configurations, head to the [API reference](https://reference.langchain.com/python/langchain-litellm).

β€Žsrc/oss/python/integrations/providers/litellm.mdxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ See more detail in the guide [here](/oss/integrations/chat/litellm).
2929
---
3030

3131
## API reference
32-
For detailed documentation of all `ChatLiteLLM` and `ChatLiteLLMRouter` features and configurations head to the API reference: https://github.com/Akshay-Dongare/langchain-litellm
32+
For detailed documentation of all `ChatLiteLLM` and `ChatLiteLLMRouter` features and configurations head to the [API reference](https://reference.langchain.com/python/langchain-litellm).

0 commit comments

Comments
Β (0)