docs(instructor.md): improve default example

This commit is contained in:
Krrish Dholakia 2024-03-27 12:51:05 -07:00
parent 62a591f90c
commit d08da5b05a

View file

@ -17,7 +17,7 @@ client = instructor.patch(
model_list=[
{
"model_name": "gpt-3.5-turbo", openai model name
"litellm_params": { params for litellm completion/embedding call
"litellm_params": { # params for litellm completion/embedding call - e.g.: https://github.com/BerriAI/litellm/blob/62a591f90c99120e1a51a8445f5c3752586868ea/litellm/router.py#L111
"model": "azure/chatgpt-v-2",
"api_key": os.getenv("AZURE_API_KEY"),
"api_version": os.getenv("AZURE_API_VERSION"),