traversaal-ai commited on
Commit
1963268
1 Parent(s): b687ff9

Update services/openai_service.py

Browse files
Files changed (1) hide show
  1. services/openai_service.py +1 -1
services/openai_service.py CHANGED
@@ -11,7 +11,7 @@ from config import OPENAI_API_KEY, AZURE_OPENAI_KEY
11
  # client = OpenAI(api_key=OPENAI_API_KEY)
12
 
13
  AZURE_OPENAI_ENDPOINT = os.getenv('AZURE_OPENAI_ENDPOINT')
14
- AZURE_API_VERSION = "2024-02-15-preview" # API version for Azure OpenAI
15
 
16
  # Initialize the Azure OpenAI client with the endpoint and API key
17
  client = AzureOpenAI(
 
11
  # client = OpenAI(api_key=OPENAI_API_KEY)
12
 
13
  AZURE_OPENAI_ENDPOINT = os.getenv('AZURE_OPENAI_ENDPOINT')
14
+ AZURE_API_VERSION = "2023-03-15-preview" # API version for Azure OpenAI
15
 
16
  # Initialize the Azure OpenAI client with the endpoint and API key
17
  client = AzureOpenAI(