Skip to main content

An integration package connecting Litellm and LangChain

Project description

Python

pypi-release License: MIT Platform Github Issues Github Issues Github Pull Requests Github Pull Requests

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.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

langchain_litellm-0.2.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langchain_litellm-0.2.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.3 Linux/6.11.0-1012-azure

File hashes

Hashes for langchain_litellm-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5e7540915c4f8ab56eb06b58ee91b25597675e45f11f4497c033887a185b66b3
MD5 546d6178c5958139c9f3a2010dd2c757
BLAKE2b-256 af1cb141b455f0af3d8075b44e8325429050c8728fccd6fc4ecd2b0c6bd1f834

See more details on using hashes here.

File details

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

File metadata

  • Download URL: langchain_litellm-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.3 Linux/6.11.0-1012-azure

File hashes

Hashes for langchain_litellm-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c534629ca1bd167a024136ae1ab70f3f62e2dfdebb918b95315aa7c21be74fde
MD5 5d9575d7a163a23f568ac2b7673e73e8
BLAKE2b-256 eee7646f4707bd6208f22e9d4fbca36af59254d3fb9dc7b67bce6eaa498d5fce

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