Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -630,7 +630,7 @@ standalone_question_template = """Given the following conversation and a follow
|
|
630 |
rephrase the follow up question to be a standalone question, in its original language.\n\n
|
631 |
Chat History:\n{chat_history}\n
|
632 |
Follow Up Input: {question}\n
|
633 |
-
Standalone question:"""
|
634 |
|
635 |
standalone_question_prompt = PromptTemplate(
|
636 |
input_variables=['chat_history', 'question'],
|
@@ -804,7 +804,7 @@ Standalone question: {question}""")
|
|
804 |
LLM_provider="Google",api_key=google_api_key,temperature=0.5,
|
805 |
model_name="gemini-pro"),
|
806 |
chain_type= chain_type,
|
807 |
-
verbose=
|
808 |
return_source_documents=True
|
809 |
)
|
810 |
|
|
|
630 |
rephrase the follow up question to be a standalone question, in its original language.\n\n
|
631 |
Chat History:\n{chat_history}\n
|
632 |
Follow Up Input: {question}\n
|
633 |
+
Standalone question: {question}"""
|
634 |
|
635 |
standalone_question_prompt = PromptTemplate(
|
636 |
input_variables=['chat_history', 'question'],
|
|
|
804 |
LLM_provider="Google",api_key=google_api_key,temperature=0.5,
|
805 |
model_name="gemini-pro"),
|
806 |
chain_type= chain_type,
|
807 |
+
verbose= True,
|
808 |
return_source_documents=True
|
809 |
)
|
810 |
|