If anyone has any tips on how to change the default message the AI sends when a action is triggered, please share.
Example:
Certainly! I’ll use the Google Books API to search for “The Barefoot Investor” and provide you with the formatted information about the book. Let me do that for you right away.
I tried prompting it with:
Use:
Searching Google Books…
I then got the following response:
Certainly! I’ll use the Google Books API to search for “The Barefoot Investor” and provide you with the formatted information about the book. Let me do that for you right away. Searching Google Books for “The Barefoot Investor”…
The default message is quite annoying especially if you are using a form to trigger the action.
Let’s say user submits the form with the book title:
I would just want the API to return: “Searching Google Books…” that’s all, then the structured response. How can I have more control over this?
After a bit of playing around I was able to configure the model to get the example response I wanted.
If anyone wants any tips, I had this in the prompt frame at the bottom:
Write avoiding prose “Certainly!”, “Thank you for providing the additional context.”, “Function”, “API”, “Request”, “Google Books API”, “To proceed”, “To fulfill”, “your request”, “Let me do that for you now”.
When processing request use the following examples DONT DOUBLE UP and each example on a new line:
“Searching Google Books…” NEW LINE
“Retrieving book information…” NEW LINE
I also configured the creativity to try to avoid these words:
“Certainly,Thank you for providing the additional context,Function,API, Request, Google Books API,To proceed with your request,Let me do that for you now”
With a bit of configuring I was able to get it to work and this was my final outcome:
Searching Google Books…
Retrieving book information…
Then the information processed by the AI how I wanted it to.