karthikeyan-r commited on
Commit
1d97821
1 Parent(s): caa2ac3

Update findUpdate.py

Browse files
Files changed (1) hide show
  1. findUpdate.py +2 -2
findUpdate.py CHANGED
@@ -225,9 +225,9 @@ class FindUpdate:
225
  stat = 0
226
  while stat == 0:
227
  try:
228
- client = AzureOpenAI(api_key="5c68e66b7eb3470987c9088b6602c6c7",
229
  api_version="2023-07-01-preview",
230
- azure_endpoint="https://azureadople.openai.azure.com/")
231
  conversation = []
232
  conversation.append({"role": "user", "content": prompt})
233
  response = client.chat.completions.create(
 
225
  stat = 0
226
  while stat == 0:
227
  try:
228
+ client = AzureOpenAI(api_key=os.getenv('API'),
229
  api_version="2023-07-01-preview",
230
+ azure_endpoint=os.getenv("URL"),)
231
  conversation = []
232
  conversation.append({"role": "user", "content": prompt})
233
  response = client.chat.completions.create(