From 616ab821818145ffefe5fc19757ed0442095dbf9 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Mon, 31 Jul 2023 08:12:17 -0700 Subject: [PATCH] add PR #14 readme changes --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 2fd9caca0..103282265 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ pip install litellm==0.1.1 from litellm import completion ## set ENV variables +# ENV variables can be set in .env file, too. Example in .env.example os.environ["OPENAI_API_KEY"] = "openai key" os.environ["COHERE_API_KEY"] = "cohere key" @@ -38,6 +39,9 @@ response = completion("command-nightly", messages) # azure openai call response = completion("chatgpt-test", messages, azure=True) + +# openrouter call +response = completion("google/palm-2-codechat-bison", messages) ``` # hosted version