from litellm import completion
import os
## set ENV variables
os.environ["OPENAI_API_KEY"] = "sk-litellm-7_NPZhMGxY2GoHC59LgbDw" # [OPTIONAL] replace with your openai key
response = completion(
model="gpt-3.5-turbo",
messages=[{ "content": "Hello, how are you?","role": "user"}]
)
What happened?
Tried copy pasting code on docs and it failed with this exception:
https://docs.litellm.ai/docs/
Code to repro
Exception
Relevant log output
No response
Twitter / LinkedIn details
No response