Update app.py
Browse files
app.py
CHANGED
|
@@ -747,7 +747,8 @@ def generate_nl_from_sql_output(prompt, data):
|
|
| 747 |
they have related to their roadmap, the data required to answer the users query is already extracted
|
| 748 |
from the Roadmap table of a SQLite3 database and given to you here {data}. Analyse the users query deeply and
|
| 749 |
reply to it with the relevant information from the given data in a supportive manner. If you get empty data
|
| 750 |
-
as an input, deeply analyze the user's prompt and the sql query and give a suitable reply.
|
|
|
|
| 751 |
),
|
| 752 |
HumanMessage(
|
| 753 |
content=f"""Answer to this users query using the data given to you, while keeping
|
|
|
|
| 747 |
they have related to their roadmap, the data required to answer the users query is already extracted
|
| 748 |
from the Roadmap table of a SQLite3 database and given to you here {data}. Analyse the users query deeply and
|
| 749 |
reply to it with the relevant information from the given data in a supportive manner. If you get empty data
|
| 750 |
+
as an input, deeply analyze the user's prompt and the sql query and give a suitable reply. If you find the
|
| 751 |
+
user's prompt to be conversational in nature, please respond accordingly."""
|
| 752 |
),
|
| 753 |
HumanMessage(
|
| 754 |
content=f"""Answer to this users query using the data given to you, while keeping
|