Sambhatnagar commited on
Commit
35f4ec7
·
verified ·
1 Parent(s): 04b8e0f

Update rag_query.py

Browse files
Files changed (1) hide show
  1. rag_query.py +1 -1
rag_query.py CHANGED
@@ -47,7 +47,7 @@ def query_rag(query, top_k=8):
47
  Retrieved Context:
48
  {context}
49
 
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",
 
47
  Retrieved Context:
48
  {context}
49
 
50
+ Provide a clear, easy-to-understand explanation based on the context as you are explaining to a average person. 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",