Depends on what the AI is supposed to do
# general-english
a
Depends on what the AI is supposed to do with the data. If its just data structures JSON is great (just make sure you test) but if you find structured JSON does not work then just natural language. I use natural language if the AI is supposed to do somethng different with the tool response this way i don't have to add more custom instructions in the main prompt (which can confuse it more)
s
I want them to list out the apartments but naturally. Sometimes it goes through the values as a grocery list and it's quite jarring for the caller.
I'll keep trying different things!
a
yes well its a lot of apartments there 😛
s
for the tools call do you think I should pass in any variable to filter the table?
a
you can also instruct the llm to not use lists, etc. provide one shot/multi shot examples in the prompt even in the repsonse from the tool you could put in the instructions on how to say the list.
s
I see
a
remember this is a voice call right or is it via the web/app?
s
voice call
through a phone number
a
if voice you def want to narrow things down imagine how long that would be 🙂
there are a ton of properties in there
s
I kinda tell the AI to only go through the overview first, and then say 3-4 at a time and ask if they are interested in any. if not keep going
seems to work OK but yeah maybe need ot make the function call more specific
a
well ai could also match it by getting more details about what they want maybe before hitting the tool? or even better aask if they want you to text them the list or email them the list 🙂
s
that's a great idea!
thank you
a
yep capture those phone number/email opt ins 🙂
2 Views