Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def model_response(query,docs_page_content):
|
|
28 |
config=config)
|
29 |
|
30 |
template= """
|
31 |
-
You are a helpful assistant that that can answer questions about documents using the provided transcripts. Answer the following question: {query} by searching the following transcript: {docs_page_content}
|
32 |
Only use the factual information from the transcript to answer the question. If you feel like you don't have enough information to answer the question, say "I don't know". Your answers should be verbose and detailed.
|
33 |
"""
|
34 |
prompt=PromptTemplate(input_variables=["query","docs_page_content"],
|
|
|
28 |
config=config)
|
29 |
|
30 |
template= """
|
31 |
+
You are a helpful assistant that that can answer questions about documents using the provided transcripts. Answer the following question: "{query}" by searching the following transcript: "{docs_page_content}"
|
32 |
Only use the factual information from the transcript to answer the question. If you feel like you don't have enough information to answer the question, say "I don't know". Your answers should be verbose and detailed.
|
33 |
"""
|
34 |
prompt=PromptTemplate(input_variables=["query","docs_page_content"],
|