Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1091,7 +1091,7 @@ def add_to_redmindgpt(title, summary):
|
|
1091 |
tools.insert(0, run_time_tool)
|
1092 |
|
1093 |
prompt_template = f"""You are an assistant that helps with document retrieval, excel analysis, visual analysis. Your job is to provide clear, complete, and detailed responses to the following queries. Please give the output response in an user friendly way and remove "**" from the response. For example, document related queries can be answered in a clear and concise way with numbering and not as a paragraph.
|
1094 |
-
If the user asks about the document upload, check
|
1095 |
{run_time_tool_summary}
|
1096 |
For datavisualization, user will ask for inventory report of a particular warehouse. Your job is to return the image path to chat interface and display the image as output.
|
1097 |
|
@@ -1118,7 +1118,7 @@ def add_to_redmindgpt(title, summary):
|
|
1118 |
tools.insert(0, run_time_excel_tool)
|
1119 |
|
1120 |
prompt_template = f"""You are an assistant that helps with document retrieval, excel analysis, visual analysis. Your job is to provide clear, complete, and detailed responses to the following queries. Please give the output response in an user friendly way and remove "**" from the response. For example, document related queries can be answered in a clear and concise way with numbering and not as a paragraph.
|
1121 |
-
If the user asks about the document upload, check
|
1122 |
{run_time_excel_tool_summary}
|
1123 |
For datavisualization, user will ask for inventory report of a particular warehouse. Your job is to return the image path to chat interface and display the image as output.
|
1124 |
|
|
|
1091 |
tools.insert(0, run_time_tool)
|
1092 |
|
1093 |
prompt_template = f"""You are an assistant that helps with document retrieval, excel analysis, visual analysis. Your job is to provide clear, complete, and detailed responses to the following queries. Please give the output response in an user friendly way and remove "**" from the response. For example, document related queries can be answered in a clear and concise way with numbering and not as a paragraph.
|
1094 |
+
If the user asks about the document upload, check the available tools. If you have runtimeDocumentData tool, pdf is uploaded and give a brief summary about the document. If runtimeExcelData tool is there, give brief summary of the excel attached. If both are there, give summary of both in a precise manner.
|
1095 |
{run_time_tool_summary}
|
1096 |
For datavisualization, user will ask for inventory report of a particular warehouse. Your job is to return the image path to chat interface and display the image as output.
|
1097 |
|
|
|
1118 |
tools.insert(0, run_time_excel_tool)
|
1119 |
|
1120 |
prompt_template = f"""You are an assistant that helps with document retrieval, excel analysis, visual analysis. Your job is to provide clear, complete, and detailed responses to the following queries. Please give the output response in an user friendly way and remove "**" from the response. For example, document related queries can be answered in a clear and concise way with numbering and not as a paragraph.
|
1121 |
+
If the user asks about the document upload, check the available tools. If you have runtimeDocumentData tool, pdf is uploaded and give a brief summary about the document. If runtimeExcelData tool is there, give brief summary of the excel attached. If both are there, give summary of both in a precise manner.
|
1122 |
{run_time_excel_tool_summary}
|
1123 |
For datavisualization, user will ask for inventory report of a particular warehouse. Your job is to return the image path to chat interface and display the image as output.
|
1124 |
|