Spaces:
Sleeping
Sleeping
karthikeyan-r
commited on
Commit
•
1d97821
1
Parent(s):
caa2ac3
Update findUpdate.py
Browse files- 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=
|
229 |
api_version="2023-07-01-preview",
|
230 |
-
azure_endpoint=
|
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(
|