diff --git a/module_text_llm/module_text_llm/helpers/models/openai.py b/module_text_llm/module_text_llm/helpers/models/openai.py index d3af7955c..eb7cf42b0 100644 --- a/module_text_llm/module_text_llm/helpers/models/openai.py +++ b/module_text_llm/module_text_llm/helpers/models/openai.py @@ -80,7 +80,7 @@ def _use_azure_credentials(): openai.api_key = os.environ.get("LLM_AZURE_OPENAI_API_KEY") openai.api_base = os.environ.get("LLM_AZURE_OPENAI_API_BASE") # os.environ.get("LLM_AZURE_OPENAI_API_VERSION") - openai.api_version = "2022-06-01-preview" + openai.api_version = "2023-03-15-preview" def _use_openai_credentials():