Spaces:
Sleeping
Sleeping
Update rag_core.py
Browse files- 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", "
|
|
|
|
| 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 |
])
|