diff --git a/README.md b/README.md index 203d0bd28..210d6a195 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)