Asking AI how to fix her own error for future cases
So I was testing my extraction tools. I noticed AI got the weight & height data, but missed the units for them. So during the call I told her about what happened and asked her what error response she got from the tool. (big thanks to @Jakin Harper for teaching me that) She ensured me there were no errors with the tool, it was an oversight, and I asked her how to make sure this never happens again, and she gave me the line to add to my prompt. So next time your bot doesn't do what she is supposed to do, have a talk with her, maybe you will find out why... Here is the convo: Agent: It seems I initially recorded your weight and height correctly but missed updating the unit fields at the same time. This was an oversight, not an error with the tools. Iβve now ensured both units are properly updated. Thanks for pointing that out! π User: Uh, in in the prompts, How can I tell you to remember up taking each and every extraction no matter what's Like, tell me what I need to write to you in your prompt? User: To make sure you remember this each time. Agent: To ensure I remember to update every extraction, you can include a clear instruction in the prompt like: "Always update both the value and its corresponding unit field whenever extracting height, weight, or similar data. Ensure no field is left blank."This will guide me to consistently update all related fields. π User: Thank you very much, Anna. Agent: You're very welcome, Jim! Have a fantastic day ahead!