Spaces:
Runtime error
Runtime error
Update chain.py
Browse files
chain.py
CHANGED
|
@@ -97,7 +97,7 @@ def get_new_chain1(vectorstore, rephraser_llm, final_output_llm, isFlan) -> Chai
|
|
| 97 |
|
| 98 |
flan_template = """
|
| 99 |
{context}
|
| 100 |
-
Based on the above documentation, answer the user's question in markdown
|
| 101 |
|
| 102 |
PROMPT = PromptTemplate(template=flan_template, input_variables=["question", "context"])
|
| 103 |
|
|
|
|
| 97 |
|
| 98 |
flan_template = """
|
| 99 |
{context}
|
| 100 |
+
Based on the above documentation, answer the user's question in markdown: {question}"""
|
| 101 |
|
| 102 |
PROMPT = PromptTemplate(template=flan_template, input_variables=["question", "context"])
|
| 103 |
|