forked from phoenix/litellm-mirror
Update README.md
This commit is contained in:
parent
980a3502de
commit
604b2f8ef2
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ model_list = [{ # list of model deployments
|
||||||
router = Router(model_list=model_list)
|
router = Router(model_list=model_list)
|
||||||
|
|
||||||
# openai.ChatCompletion.create replacement
|
# openai.ChatCompletion.create replacement
|
||||||
response = await router.completion(model="gpt-3.5-turbo",
|
response = router.completion(model="gpt-3.5-turbo",
|
||||||
messages=[{"role": "user", "content": "Hey, how's it going?"}])
|
messages=[{"role": "user", "content": "Hey, how's it going?"}])
|
||||||
|
|
||||||
print(response)
|
print(response)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue