Spaces:
Sleeping
Sleeping
Changed the model to GPT-4o
Browse files- rag_query.py +1 -1
rag_query.py
CHANGED
|
@@ -50,7 +50,7 @@ def query_rag(query, top_k=8):
|
|
| 50 |
Provide a clear, easy-to-understand explanation based on the context. Include direct quotes with citations (e.g., 'Part I, Paragraph 1: Article I. Declaration of Union') where relevant. Structure the response by grouping information from the same 'part' together.
|
| 51 |
"""
|
| 52 |
response = client.chat.completions.create(
|
| 53 |
-
model="gpt-4o
|
| 54 |
messages=[{"role": "user", "content": prompt}],
|
| 55 |
max_tokens=3000
|
| 56 |
)
|
|
|
|
| 50 |
Provide a clear, easy-to-understand explanation based on the context. Include direct quotes with citations (e.g., 'Part I, Paragraph 1: Article I. Declaration of Union') where relevant. Structure the response by grouping information from the same 'part' together.
|
| 51 |
"""
|
| 52 |
response = client.chat.completions.create(
|
| 53 |
+
model="gpt-4o",
|
| 54 |
messages=[{"role": "user", "content": prompt}],
|
| 55 |
max_tokens=3000
|
| 56 |
)
|