mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 14:08:08 +01:00
prompt engineering
This commit is contained in:
@@ -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."
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user