Skip to main content

An integration package connecting Litellm and LangChain

Project description

📦 Distribution 🔧 Project 🚀 Activity
PyPI Package Version
PyPI Downloads
PyPI Release CI
Python
Poetry
License: MIT
Platform
GitHub Issues Closed
GitHub Issues Open
GitHub PRs Open
GitHub PRs Closed

langchain-litellm

This package contains the LangChain integration with LiteLLM. LiteLLM is a library that simplifies calling Anthropic, Azure, Huggingface, Replicate, etc.

Installation and setup

pip install langchain-litellm

Chat Models

from langchain_litellm import ChatLiteLLM
from langchain_litellm import ChatLiteLLMRouter

See a usage example

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_litellm-0.2.2.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

langchain_litellm-0.2.2-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file langchain_litellm-0.2.2.tar.gz.

File metadata

  • Download URL: langchain_litellm-0.2.2.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Linux/6.11.0-1015-azure

File hashes

Hashes for langchain_litellm-0.2.2.tar.gz
Algorithm Hash digest
SHA256 317b320573661f96afb70786c2b3b690acdfaff14d324e87dca4207ff3d44c5e
MD5 afc3f2eee089259f22c765a7d0937f4a
BLAKE2b-256 3782a39244efb54ecbe6314852330311bdabd8298fdefc09296c6d4f7b9219d9

See more details on using hashes here.

File details

Details for the file langchain_litellm-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: langchain_litellm-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Linux/6.11.0-1015-azure

File hashes

Hashes for langchain_litellm-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f17ef94e819dddbe13c5ce7c1dbd875ca432ecf0e1c5b16e7fc2413c9a1d5fbe
MD5 177c4225f25a03ae7e3f7b70cce3c66e
BLAKE2b-256 6bb7f4dce688cb63373fb0b244f2aba598871142f293fa873052e0a7943741d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page