Update rag.py
Browse files
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
|
| 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 |
|