Skip to content

Commit 6bb0816

Browse files
refactored main prompt (too long lines), missing end-of-line characters
1 parent dd8b339 commit 6bb0816

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/dbally/iql_generator/prompt.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,13 @@ def __init__(
7373
"DO NOT INCLUDE arguments names in your response. Only the values.\n"
7474
"You MUST use only these methods:\n"
7575
"\n{filters}\n"
76-
"It is VERY IMPORTANT not to use methods other than those listed above."
77-
"Finally, if a called function argument value is not directly specified in the query but instead requires some additional execution context, than substitute that argument value with: AskerContext()."
78-
'The typical input phrase suggesting that the additional execution context need to be referenced contains words like: "I", "my", "mine", "current", "the" etc..'
79-
'For example: "my position name", "my company valuation", "current day", "the ongoing project".'
80-
"In that case, the part of the output will look like this:"
81-
"filter4(AskerContext())"
76+
"It is VERY IMPORTANT not to use methods other than those listed above.\n"
77+
"Finally, if a called function argument value is not directly specified in the query but instead requires "
78+
"some additional execution context, than substitute that argument value with: AskerContext().\n"
79+
'The typical input phrase suggesting that the additional execution context need to be referenced contains words like: "I", "my", "mine", "current", "the" etc..\n'
80+
'For example: "my position name", "my company valuation", "current day", "the ongoing project".\n'
81+
"In that case, the part of the output will look like this:\n"
82+
"filter4(AskerContext())\n"
8283
"""If you DON'T KNOW HOW TO ANSWER DON'T SAY \"\", SAY: `UNSUPPORTED QUERY` INSTEAD! """
8384
"This is CRUCIAL, otherwise the system will crash. "
8485
),

0 commit comments

Comments
 (0)