Hi,
I’ve been trying to implement a datastore tool in my DialogFlow/Generative playbooks agent. I initialized the datastore with a JSONL file so that I can add metadata to the files, in my case these are documents on different companies. However, whenever I try to add a filter to the datastore tool, it does not return any text. I do specify the filter in the right format. Whenever I remove the filter from the request it does work. How to deal with this? Thanks for your help!
Kind regards,
Sam
can you please provide a snippet of the code you are using?
Best,
Xavi
7 Likes
Hi Xavi,
Thanks for the quick reply, But I am doing this in the DialogFlow editor/interface so I do not really have a snippet of code available.
This is the only thing I can provide, but do not think this helps for your understanding.
Kind regards,
Sam
6 Likes
Is that type a datastore tool type or an openapi tool?
Best,
Xavi
7 Likes
a datastore tool type. I have another version with a openAPI that utilizes a discoveryengine search engine, and that one does filter correctly. So I was wondering whether the Datastore tool does not.
7 Likes
The filter should be supported, check the docs here: https://cloud.google.com/dialogflow/vertex/docs/concept/tools#data-store
did you try that in that format?
Best,
Xavi
3 Likes
Yes I’ve tried it in this exact format, checked the spelling in my datastore as well multiple times, so I can’t really get my head around the fact that it does not work.
Kind regards,
Sam
5 Likes
yeah,
I would suggest opening a ticket in issuetracker: https://cloud.google.com/support/docs/issue-trackers
6 Likes