Update app.py
Browse files
app.py
CHANGED
|
@@ -38,8 +38,8 @@ Please respond with:
|
|
| 38 |
Context:
|
| 39 |
{context}
|
| 40 |
|
| 41 |
-
Question:
|
| 42 |
-
{question}
|
| 43 |
"""
|
| 44 |
prompt = PromptTemplate(template=prompt_template, input_variables=["context", "question"])
|
| 45 |
embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/multi-qa-mpnet-base-dot-v1")
|
|
|
|
| 38 |
Context:
|
| 39 |
{context}
|
| 40 |
|
| 41 |
+
Question:
|
| 42 |
+
What could happen after: {question}
|
| 43 |
"""
|
| 44 |
prompt = PromptTemplate(template=prompt_template, input_variables=["context", "question"])
|
| 45 |
embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/multi-qa-mpnet-base-dot-v1")
|