Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -983,12 +983,12 @@ def generate_prompt_from_excel_file(df_dict):
|
|
983 |
|
984 |
# Finalize the prompt with function call description
|
985 |
|
986 |
-
prompt += f"- Query: A natural language question (e.g., List all the employees
|
987 |
prompt += f"""Output : {docstatus}. Here is the sample table:
|
988 |
{sample_table}.
|
989 |
"""
|
990 |
|
991 |
-
prompt += f"- Query: A natural language question with request to create LOA document (e.g., can you create LOA document for all the employees with broker name
|
992 |
prompt += f"""Output: {docstatus}. Here is the sample table:
|
993 |
{sample_table}.
|
994 |
If there is any error, please display the message returned by the function as response. """
|
|
|
983 |
|
984 |
# Finalize the prompt with function call description
|
985 |
|
986 |
+
prompt += f"- Query: A natural language question (e.g., List all the employees whose names start with 'A'). The question should be sent as 'What are the employee details with name starts with a :'."
|
987 |
prompt += f"""Output : {docstatus}. Here is the sample table:
|
988 |
{sample_table}.
|
989 |
"""
|
990 |
|
991 |
+
prompt += f"- Query: A natural language question with request to create LOA document (e.g., can you create LOA document for all the employees with broker name XXXX). The question should be sent as 'What are the employee details with broker name XXXX : LOA document'."
|
992 |
prompt += f"""Output: {docstatus}. Here is the sample table:
|
993 |
{sample_table}.
|
994 |
If there is any error, please display the message returned by the function as response. """
|