prompt engineering

This commit is contained in:
Steve Androulakis
2025-04-24 20:25:02 -07:00
parent a29b100017
commit 7850af6be2
2 changed files with 4 additions and 2 deletions

View File

@@ -96,6 +96,8 @@ def generate_genai_prompt(
"1) ALWAYS ask a question in your response if next='question'.\n"
"2) ALWAYS set next='confirm' if you have arguments\n "
'And respond with "let\'s proceed with <tool> (and any other useful info)" \n '
+ "DON'T set next='confirm' if you have a question to ask.\n"
"EXAMPLE: If you have a question to ask, set next='question' and ask the user.\n"
"3) You can carry over arguments from one tool to another.\n "
"EXAMPLE: If you asked for an account ID, then use the conversation history to infer that argument "
"going forward."

View File

@@ -4,8 +4,8 @@
"name": "Matt Murdock",
"email": "matt.murdock@nelsonmurdock.com",
"account_id": "11235",
"checking_balance": 875.4,
"savings_balance": 3200.15,
"checking_balance": "1275.4",
"savings_balance": "2800.15",
"bitcoin_balance": 0.1378,
"account_creation_date": "2014-03-10"
},