From a48810fb21fca475e7d0e820a16dae0ce2db56a3 Mon Sep 17 00:00:00 2001 From: Harrison Chase Date: Sun, 14 May 2023 18:26:08 -0700 Subject: [PATCH] dont have openai_api_version by default (#4687) an alternative to https://github.com/hwchase17/langchain/pull/4234/files --- .../models/text_embedding/examples/azureopenai.ipynb | 3 ++- langchain/embeddings/openai.py | 12 +++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/docs/modules/models/text_embedding/examples/azureopenai.ipynb b/docs/modules/models/text_embedding/examples/azureopenai.ipynb index 435f2e0676..0f09f1e969 100644 --- a/docs/modules/models/text_embedding/examples/azureopenai.ipynb +++ b/docs/modules/models/text_embedding/examples/azureopenai.ipynb @@ -22,7 +22,8 @@ "\n", "os.environ[\"OPENAI_API_TYPE\"] = \"azure\"\n", "os.environ[\"OPENAI_API_BASE\"] = \"https://