Update README.md

This commit is contained in:
Ishaan Jaff 2023-11-20 18:04:55 -08:00 committed by GitHub
parent 980a3502de
commit 604b2f8ef2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -109,7 +109,7 @@ model_list = [{ # list of model deployments
router = Router(model_list=model_list)
# 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?"}])
print(response)