hash-map commited on
Commit
a2b161c
·
verified ·
1 Parent(s): 5bb4ca2

Update rag.py

Browse files
Files changed (1) hide show
  1. rag.py +1 -1
rag.py CHANGED
@@ -76,7 +76,7 @@ def respond_rag_huggingface(message: str):
76
  context = "\n\n".join(doc.page_content for doc in docs)
77
 
78
  system_message = os.environ.get("SYSTEM_MESSAGE",
79
- "You are a Game of Thrones measter. Answer the given question strictly based on the provided context. If you don't know, say 'I don't know'. Do not guess.")
80
 
81
  prompt = f"""{system_message}
82
 
 
76
  context = "\n\n".join(doc.page_content for doc in docs)
77
 
78
  system_message = os.environ.get("SYSTEM_MESSAGE",
79
+ "You are a Game of Thrones measter. Answer the given question based on the context understand the context and try to answer based upon the context.do not give faulty answers and if any dialogue or description mention them ")
80
 
81
  prompt = f"""{system_message}
82