AmandaHydar commited on
Commit
03abc22
·
1 Parent(s): bc9288f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -10
app.py CHANGED
@@ -62,16 +62,7 @@ if index is None:
62
  text = st.text_input("Query text:", value="Insert PQL here to generate Definitions or ask a PQL related question")
63
 
64
  sub_prompt_instruction = sub_prompt_instruction = """
65
- Generate a list of definitions and corresponding PQL queries based on the provided list of PQL queries. Ensure that the output maintains the order of the queries. For each query in the list, follow the format below:
66
-
67
- 1. DEFINITION: [Definition for Query 1]
68
- QUERY: [PQL Query 1],
69
-
70
- 2. DEFINITION: [Definition for Query 2]
71
- QUERY: [PQL Query 2],
72
-
73
- [Continue for all queries in the list]
74
-
75
  """
76
 
77
  combined_prompt = f"{sub_prompt_instruction} {text}"
 
62
  text = st.text_input("Query text:", value="Insert PQL here to generate Definitions or ask a PQL related question")
63
 
64
  sub_prompt_instruction = sub_prompt_instruction = """
65
+ Generate a list of definitions and corresponding PQL queries based on the provided list of PQL queries. Ensure that the output maintains the order of the queries.
 
 
 
 
 
 
 
 
 
66
  """
67
 
68
  combined_prompt = f"{sub_prompt_instruction} {text}"