Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -447,7 +447,7 @@ def query_chatgpt_fn(anonymized_query, anonymized_document):
|
|
| 447 |
print(f'Prompt of CHATGPT:\n{query}')
|
| 448 |
|
| 449 |
completion = client.chat.completions.create(
|
| 450 |
-
model="gpt-
|
| 451 |
messages=[
|
| 452 |
{"role": "system", "content": context_prompt},
|
| 453 |
{"role": "user", "content": query},
|
|
|
|
| 447 |
print(f'Prompt of CHATGPT:\n{query}')
|
| 448 |
|
| 449 |
completion = client.chat.completions.create(
|
| 450 |
+
model="gpt-4o-mini-2024-07-18", # Replace with "gpt-4" if available
|
| 451 |
messages=[
|
| 452 |
{"role": "system", "content": context_prompt},
|
| 453 |
{"role": "user", "content": query},
|