Rahaf2001 commited on
Commit
b559639
·
verified ·
1 Parent(s): d979a23

Update rag_core.py

Browse files
Files changed (1) hide show
  1. rag_core.py +2 -1
rag_core.py CHANGED
@@ -42,7 +42,8 @@ def scrape_and_process_url(url: str) -> str:
42
 
43
  # Create RAG chain
44
  prompt = ChatPromptTemplate.from_messages([
45
- ("system", "Answer the user's questions based on the provided context only. "
 
46
  "If you don't know the answer, just say that you don't know, don't make up an answer.\n\n{context}"),
47
  ("user", "{input}")
48
  ])
 
42
 
43
  # Create RAG chain
44
  prompt = ChatPromptTemplate.from_messages([
45
+ ("system", "you are a technical assistant that help the user to retrieve the correct information for them and help them to find the exact information",
46
+ "Answer the user's questions the accurate answer! ",
47
  "If you don't know the answer, just say that you don't know, don't make up an answer.\n\n{context}"),
48
  ("user", "{input}")
49
  ])