Spaces:
Sleeping
Sleeping
Rohan Kataria
commited on
Commit
·
0d07961
1
Parent(s):
51bfb32
adding logics
Browse files- src/main.py +1 -1
src/main.py
CHANGED
|
@@ -79,7 +79,7 @@ def create_conversational_response(vector_store, chain_type, k):
|
|
| 79 |
Question: {question}
|
| 80 |
Helpful Answer:"""
|
| 81 |
|
| 82 |
-
PROMPT = PromptTemplate(input_variables=["
|
| 83 |
|
| 84 |
|
| 85 |
#creating the conversational retrieval chain
|
|
|
|
| 79 |
Question: {question}
|
| 80 |
Helpful Answer:"""
|
| 81 |
|
| 82 |
+
PROMPT = PromptTemplate(input_variables=["context", "question"], template=template,)
|
| 83 |
|
| 84 |
|
| 85 |
#creating the conversational retrieval chain
|