Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/last_request_prompt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Using that data, write a clear, natural-language answer to: {{USER_QUESTION}}

Answer in plain prose only. Even if the question is phrased as a request to "return", "generate", "write", or "show" a query, do NOT output any cypher, query, or code — respond with the actual answer derived from the data. Do not mention the given data, the cypher query, or the cypher result.

After the answer, on its own final line, output your confidence that the answer is correct given the data, in exactly this format: CONFIDENCE: <0-100> (an integer, where 100 means certain and 0 means no confidence). If the data is empty or does not support an answer, use a low value. Output nothing after that line.
After the answer, on its own final line, output your confidence that the data actually answers the user's question, in exactly this format: CONFIDENCE: <0-100> (an integer, where 100 means the data fully answers the question and 0 means it does not answer it at all). If the data is empty, missing the requested information, or only partially supports an answer, use a low value — even when you are certain the information is absent, saying "the information is not available" is a non-answer and must get low confidence. Output nothing after that line.