litellm-mirror/litellm/llms
Krish Dholakia db59e08958
Litellm dev 12 23 2024 p1 (#7383)
* feat(guardrails_endpoint.py): new `/guardrails/list` endpoint

Allow users to view what the available guardrails are

* docs: document new `/guardrails/list` endpoint

* docs(enterprise.md): update docs

* fix(openai/transcription/handler.py): support cost tracking on vtt + srt formats

* fix(openai/transcriptions/handler.py): default to 'verbose_json' response format if 'text' or 'json' response_format received. ensures 'duration' param is received for all audio transcription requests

* fix: fix linting errors

* fix: remove unused import
2024-12-23 16:33:31 -08:00
..
ai21/chat (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
anthropic (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
azure Litellm dev 2024 12 20 p1 (#7335) 2024-12-20 21:22:31 -08:00
azure_ai (code refactor) - Add BaseRerankConfig. Use BaseRerankConfig for cohere/rerank and azure_ai/rerank (#7319) 2024-12-19 17:03:34 -08:00
base_llm Complete 'requests' library removal (#7350) 2024-12-22 07:21:25 -08:00
bedrock (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
cerebras (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
clarifai (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
cloudflare/chat Complete 'requests' library removal (#7350) 2024-12-22 07:21:25 -08:00
codestral/completion (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
cohere (code refactor) - Add BaseRerankConfig. Use BaseRerankConfig for cohere/rerank and azure_ai/rerank (#7319) 2024-12-19 17:03:34 -08:00
custom_httpx Complete 'requests' library removal (#7350) 2024-12-22 07:21:25 -08:00
databricks (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
deepinfra/chat (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
deepseek/chat (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
deprecated_providers (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
empower/chat LiteLLM Common Base LLM Config (pt.3): Move all OAI compatible providers to base llm config (#7148) 2024-12-10 17:12:42 -08:00
fireworks_ai (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
friendliai/chat (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
galadriel/chat (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
github/chat (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
groq (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
hosted_vllm (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
huggingface (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
infinity/rerank (feat) add infinity rerank models (#7321) 2024-12-19 18:30:28 -08:00
jina_ai (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
lm_studio (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
mistral (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
nlp_cloud (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
nvidia_nim (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
ollama Complete 'requests' library removal (#7350) 2024-12-22 07:21:25 -08:00
oobabooga (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
openai Litellm dev 12 23 2024 p1 (#7383) 2024-12-23 16:33:31 -08:00
openai_like (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
openrouter/chat (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
perplexity/chat (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
petals (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
predibase (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
replicate Complete 'requests' library removal (#7350) 2024-12-22 07:21:25 -08:00
sagemaker (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
sambanova (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
together_ai (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
triton Complete 'requests' library removal (#7350) 2024-12-22 07:21:25 -08:00
vertex_ai Litellm dev 2024 12 19 p3 (#7322) 2024-12-20 13:30:16 -08:00
vllm/completion (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
voyage/embedding Complete 'requests' library removal (#7350) 2024-12-22 07:21:25 -08:00
watsonx Complete 'requests' library removal (#7350) 2024-12-22 07:21:25 -08:00
xai/chat (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
__init__.py add linting 2023-08-18 11:05:05 -07:00
base.py Complete 'requests' library removal (#7350) 2024-12-22 07:21:25 -08:00
baseten.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
custom_llm.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
maritalk.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
ollama_chat.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
README.md LiteLLM Minor Fixes and Improvements (09/13/2024) (#5689) 2024-09-14 10:02:55 -07:00
volcengine.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00

File Structure

August 27th, 2024

To make it easy to see how calls are transformed for each model/provider:

we are working on moving all supported litellm providers to a folder structure, where folder name is the supported litellm provider name.

Each folder will contain a *_transformation.py file, which has all the request/response transformation logic, making it easy to see how calls are modified.

E.g. cohere/, bedrock/.