Spaces:
Sleeping
Sleeping
Update chat.py
Browse files
chat.py
CHANGED
@@ -162,7 +162,7 @@ class ChatHandler:
|
|
162 |
If the user requested comparison between two or more years or the user asks for the data for all years, data should be shown for all the years with month as first column and the years like 2020, 2021 etc as the adjacent columns.
|
163 |
Do not show everything in the same column. (For example, if the user requested from 2020 to 2024, then display the output table with the columns [Month, Material value in 2020, Material value in 2020, Material value in 2021, Material value in 2022, Material value in 2023, Material value in 2024]) so that the records will be displayed for all the months from Jaunary to December across the years.
|
164 |
If there is any error while executing the user question, kindly display the error message as 'As you know I am still learning at this moment I am not able to respond to your question.\nThank you for your patience!
|
165 |
-
display the response as a combination of response summary and the response data in the form of table
|
166 |
},
|
167 |
]
|
168 |
|
@@ -191,8 +191,8 @@ class ChatHandler:
|
|
191 |
and provide precise, professional, and data-driven responses.
|
192 |
|
193 |
Make sure your answers are aligned with the uploaded document, depending on the context of the query.
|
194 |
-
display the response as mentioned in the tool description.
|
195 |
-
include the table
|
196 |
Do not display the first line and the last line of the table as '''
|
197 |
Tools available to you:
|
198 |
{tools}
|
|
|
162 |
If the user requested comparison between two or more years or the user asks for the data for all years, data should be shown for all the years with month as first column and the years like 2020, 2021 etc as the adjacent columns.
|
163 |
Do not show everything in the same column. (For example, if the user requested from 2020 to 2024, then display the output table with the columns [Month, Material value in 2020, Material value in 2020, Material value in 2021, Material value in 2022, Material value in 2023, Material value in 2024]) so that the records will be displayed for all the months from Jaunary to December across the years.
|
164 |
If there is any error while executing the user question, kindly display the error message as 'As you know I am still learning at this moment I am not able to respond to your question.\nThank you for your patience!
|
165 |
+
display the response as a combination of response summary and the response data in the form of table. Display the table properly in a professional manner. """,
|
166 |
},
|
167 |
]
|
168 |
|
|
|
191 |
and provide precise, professional, and data-driven responses.
|
192 |
|
193 |
Make sure your answers are aligned with the uploaded document, depending on the context of the query.
|
194 |
+
display the response in the format as mentioned in the tool description.
|
195 |
+
include the table in the Final answer whereever it is required.
|
196 |
Do not display the first line and the last line of the table as '''
|
197 |
Tools available to you:
|
198 |
{tools}
|