Spaces:
Sleeping
Sleeping
Update rag_service.py
Browse files- rag_service.py +1 -1
rag_service.py
CHANGED
|
@@ -113,7 +113,7 @@ class RAGService:
|
|
| 113 |
for text_element in docs_by_type["texts"]:
|
| 114 |
context_text += str(text_element)
|
| 115 |
|
| 116 |
-
|
| 117 |
You are a helpful AI assistant. You have access to the following context from uploaded documents:
|
| 118 |
Context: {context_text}
|
| 119 |
Question: {user_question}
|
|
|
|
| 113 |
for text_element in docs_by_type["texts"]:
|
| 114 |
context_text += str(text_element)
|
| 115 |
|
| 116 |
+
prompt_template = f"""
|
| 117 |
You are a helpful AI assistant. You have access to the following context from uploaded documents:
|
| 118 |
Context: {context_text}
|
| 119 |
Question: {user_question}
|