mbosse99 commited on
Commit
c88e120
·
1 Parent(s): 8c44016

Changed open AI deployment

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,9 +25,9 @@ import ssl
25
  ssl._create_default_https_context = ssl._create_unverified_context
26
 
27
  openai.api_key = os.getenv("OPENAI_API_KEY")
28
- openai.api_base = "https://tensora-oai.openai.azure.com/"
29
  openai.api_type = "azure"
30
- openai.api_version = "2023-05-15"
31
 
32
  connection_string = os.getenv("CONNECTION")
33
  blob_service_client = BlobServiceClient.from_connection_string(connection_string)
 
25
  ssl._create_default_https_context = ssl._create_unverified_context
26
 
27
  openai.api_key = os.getenv("OPENAI_API_KEY")
28
+ openai.api_base = "https://tensora-oai-france.openai.azure.com/"
29
  openai.api_type = "azure"
30
+ openai.api_version = "2023-12-01-preview"
31
 
32
  connection_string = os.getenv("CONNECTION")
33
  blob_service_client = BlobServiceClient.from_connection_string(connection_string)