From 42b12b83b3c31b3801bcee477c35623f71764544 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 26 Jul 2023 17:44:34 -0700 Subject: [PATCH] Update README.md --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 65fd2edcd8..7cb3edfc7f 100644 --- a/README.md +++ b/README.md @@ -1 +1,16 @@ -# litellm \ No newline at end of file +# litellm +a simple, fast, 100 line package to call OpenAI, Azure, Cohere, Anthropic API Endpoints + +# usage +``` +messages = [{ "content": "Hello, how are you?","role": "user"}] +# openai call +response = completion(model="gpt-3.5-turbo", messages=messages) + +# cohere call +response = completion("command-nightly", messages) + +# azure openai call +response = completion("chatgpt-test", messages, azure=True) +``` +