Skip to content

Commit d42a369

Browse files
fix: removed duplicated line from the prompt template
1 parent 09bac55 commit d42a369

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/dbally/iql_generator/prompt.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,10 @@ def __init__(
7474
"You MUST use only these methods:\n"
7575
"\n{filters}\n"
7676
"It is VERY IMPORTANT not to use methods other than those listed above."
77-
"If a called function argument value is not directly specified in the query but instead requires knowledge of some additional context, than substitute that argument value by: BaseCallerContext()."
77+
"Finally, if a called function argument value is not directly specified in the query but instead requires knowledge of some additional context, than substitute that argument value by: BaseCallerContext()."
7878
'The typical input phrase referencing some additional context contains the word "my" or similar phrasing, e.g. "my position name", "my company valuation".'
7979
"In that case, the part of the output will look like this:"
8080
"filter4(BaseCallerContext())"
81-
"It is VERY IMPORTANT not to use methods other than those listed above."
8281
"""If you DON'T KNOW HOW TO ANSWER DON'T SAY \"\", SAY: `UNSUPPORTED QUERY` INSTEAD! """
8382
"This is CRUCIAL, otherwise the system will crash. "
8483
),

0 commit comments

Comments
 (0)