From 65956a8bb63afe4907066fea1f8e2d89373d0ff8 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 26 Jul 2023 17:46:23 -0700 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 203d0bd286..210d6a195b 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,12 @@ a simple, fast, 100 line package to call OpenAI, Azure, Cohere, Anthropic API Endpoints # usage + ```python +from litellm import completion + messages = [{ "content": "Hello, how are you?","role": "user"}] + # openai call response = completion(model="gpt-3.5-turbo", messages=messages)