KarthickAdopleAI commited on
Commit
b5e1347
1 Parent(s): 15fab55

Update findUpdate.py

Browse files
Files changed (1) hide show
  1. findUpdate.py +2 -2
findUpdate.py CHANGED
@@ -226,12 +226,12 @@ class FindUpdate:
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(
234
- model="GPT-3",
235
  messages=conversation,
236
  temperature=0,
237
  max_tokens=3000,
 
226
  while stat == 0:
227
  try:
228
  client = AzureOpenAI(api_key=os.getenv('API'),
229
+ api_version="2024-02-01",
230
  azure_endpoint=os.getenv("URL"),)
231
  conversation = []
232
  conversation.append({"role": "user", "content": prompt})
233
  response = client.chat.completions.create(
234
+ model="GPT-4o",
235
  messages=conversation,
236
  temperature=0,
237
  max_tokens=3000,