forked from phoenix/litellm-mirror
Update README.md
This commit is contained in:
parent
42b12b83b3
commit
14bc3acd04
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
a simple, fast, 100 line package to call OpenAI, Azure, Cohere, Anthropic API Endpoints
|
a simple, fast, 100 line package to call OpenAI, Azure, Cohere, Anthropic API Endpoints
|
||||||
|
|
||||||
# usage
|
# usage
|
||||||
```
|
```python
|
||||||
messages = [{ "content": "Hello, how are you?","role": "user"}]
|
messages = [{ "content": "Hello, how are you?","role": "user"}]
|
||||||
# openai call
|
# openai call
|
||||||
response = completion(model="gpt-3.5-turbo", messages=messages)
|
response = completion(model="gpt-3.5-turbo", messages=messages)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue