dont have openai_api_version by default (#4687)

an alternative to https://github.com/hwchase17/langchain/pull/4234/files
This commit is contained in:
Harrison Chase
2023-05-14 18:26:08 -07:00
committed by GitHub
parent cdc20d1203
commit a48810fb21
2 changed files with 11 additions and 4 deletions

View File

@@ -22,7 +22,8 @@
"\n",
"os.environ[\"OPENAI_API_TYPE\"] = \"azure\"\n",
"os.environ[\"OPENAI_API_BASE\"] = \"https://<your-endpoint.openai.azure.com/\"\n",
"os.environ[\"OPENAI_API_KEY\"] = \"your AzureOpenAI key\""
"os.environ[\"OPENAI_API_KEY\"] = \"your AzureOpenAI key\"\n",
"os.environ[\"OPENAI_API_VERSION\"] = \"2023-03-15-preview\""
]
},
{