Amna2024 commited on
Commit
cb4587b
·
verified ·
1 Parent(s): fcf9b70

Update rag_service.py

Browse files
Files changed (1) hide show
  1. rag_service.py +0 -6
rag_service.py CHANGED
@@ -123,12 +123,6 @@ class RAGService:
123
  - If the question is not related to the context or is a general query, answer based on your general knowledge
124
  - Be clear about whether you're using the provided context or general knowledge in your response
125
  """
126
-
127
- # prompt_template = f""
128
- # Answer the question based only on the following context, which can include text, tables, and the below image.
129
- # Context: {context_text}
130
- # Question: {user_question}
131
- ""
132
 
133
  prompt_content = [{"type": "text", "text": prompt_template}]
134
 
 
123
  - If the question is not related to the context or is a general query, answer based on your general knowledge
124
  - Be clear about whether you're using the provided context or general knowledge in your response
125
  """
 
 
 
 
 
 
126
 
127
  prompt_content = [{"type": "text", "text": prompt_template}]
128