Redmind commited on
Commit
6c18a8e
·
verified ·
1 Parent(s): 16e1355

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 with broker name ADP or Alerus). The question should be sent as 'What are the employee details with broker name ADP or Alerus :'."
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 ADP or Alerus). The question should be sent as 'What are the employee details with broker name ADP or Alerus : 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. """
 
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. """