Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 795 Bytes

File metadata and controls

27 lines (21 loc) · 795 Bytes

LiteLLM

Call all LLM APIs using the OpenAI format. Use Bedrock, Azure, OpenAI, Cohere, Anthropic, Ollama, Sagemaker, HuggingFace, Replicate (100+ LLMs)

Documentation | GitHub

How to enable?

platys init --enable-services LITELLM
platys gen

How to use it?

curl --location 'http://localhost:11435/chat/completions' --header 'Content-Type: application/json' \
             --data ' {
                        "model": "gpt-3.5-turbo",
                        "messages": [
                            {
                            "role": "user",
                            "content": "what llm are you"
                            }
                        ]
                      }'