Metadata-Version: 2.3
Name: langchain-litellm
Version: 0.2.0
Summary: An integration package connecting Litellm and LangChain
License: MIT
Author: Akshay Dongare
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: langchain-core (>=0.3.15,<0.4.0)
Requires-Dist: litellm (>=1.65.1,<2.0.0)
Project-URL: Repository, https://github.com/langchain-ai/langchain/blob/master/docs/docs/integrations/chat/litellm.ipynb
Project-URL: Release Notes, https://github.com/langchain-ai/langchain/blob/master/docs/docs/integrations/providers/litellm.mdx
Project-URL: Source Code, https://github.com/Akshay-Dongare/langchain-litellm
Description-Content-Type: text/markdown

![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54)

[![pypi-release](https://github.com/Akshay-Dongare/langchain-litellm/actions/workflows/pypi-release.yml/badge.svg)](https://github.com/Akshay-Dongare/langchain-litellm/actions/workflows/pypi-release.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)
![Platform](https://img.shields.io/badge/Platform-Linux%2C%20Windows%2C%20macOS-blue)
![Github Issues](https://img.shields.io/github/issues-closed/Akshay-Dongare/langchain-litellm)
![Github Issues](https://img.shields.io/github/issues/Akshay-Dongare/langchain-litellm)
![Github Pull Requests](https://img.shields.io/github/issues-pr/Akshay-Dongare/langchain-litellm)
![Github Pull Requests](https://img.shields.io/github/issues-pr-closed/Akshay-Dongare/langchain-litellm)

# [langchain-litellm](https://pypi.org/project/langchain-litellm/)

This package contains the [LangChain](https://github.com/langchain-ai/langchain) integration with LiteLLM. [LiteLLM](https://github.com/BerriAI/litellm) is a library that simplifies calling Anthropic, Azure, Huggingface, Replicate, etc.

## Installation and setup

```bash
pip install langchain-litellm
```

## Chat Models
```python
from langchain_litellm import ChatLiteLLM
```

```python
from langchain_litellm import ChatLiteLLMRouter
```
See a [usage example](https://github.com/Akshay-Dongare/langchain-litellm/blob/main/docs/litellm.ipynb)

