Call all LLM APIs using the OpenAI format [Anthropic, Huggingface, Cohere, Azure OpenAI etc.] liteLLM supports streaming the model response back, pass stream=True to get a streaming iterator in response. Streaming is supported for OpenAI, Azure, Anthropic, and Huggingface models.

Features

  • Translating inputs to the provider's completion and embedding endpoints
  • Guarantees consistent output, text responses will always be available
  • Exception mapping
  • Common exceptions across providers are mapped to the OpenAI exception types
  • LiteLLM Client - debugging & 1-click add new LLMs
  • liteLLM supports streaming the model response back

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow LiteLLM

LiteLLM Web Site

You Might Also Like
Top-Rated Free CRM Software Icon
Top-Rated Free CRM Software

216,000+ customers in over 135 countries grow their businesses with HubSpot

HubSpot is an AI-powered customer platform with all the software, integrations, and resources you need to connect your marketing, sales, and customer service. HubSpot's connected platform enables you to grow your business faster by focusing on what matters most: your customers.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of LiteLLM!

Additional Project Details

Programming Language

Python

Related Categories

Python Large Language Models (LLM)

Registered

2023-08-25