forked from phoenix/litellm-mirror
Update README.md
This commit is contained in:
parent
19af7646d9
commit
409222305c
1 changed files with 0 additions and 4 deletions
|
@ -65,7 +65,6 @@ import os
|
|||
## set ENV variables
|
||||
os.environ["OPENAI_API_KEY"] = "openai key"
|
||||
os.environ["COHERE_API_KEY"] = "cohere key"
|
||||
os.environ["ANTHROPIC_API_KEY"] = "anthropic key"
|
||||
|
||||
messages = [{ "content": "Hello, how are you?","role": "user"}]
|
||||
|
||||
|
@ -74,9 +73,6 @@ response = completion(model="gpt-3.5-turbo", messages=messages)
|
|||
|
||||
# cohere call
|
||||
response = completion(model="command-nightly", messages=messages)
|
||||
|
||||
# anthropic
|
||||
response = completion(model="claude-2", messages=messages)
|
||||
```
|
||||
|
||||
Stable version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue