Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Dataflow CX with Vertex AI Conversation - Data Store Agent Metadata Filter

Hi I'm currently testing the Vertex AI integration within Dialogflow CX. How can one use the metadata filter in Dialogflow?
The Docs describe the Filter but it doesn't seem to be available in the UI:

0 1 217
1 REPLY 1

Answering my own question: 
seems Dialogflow CX doesn't support Vertex AI Search with unstructured Data. 
If one is using Vertex AI Search API the Metadata Filter is available via API:
(replace any ${} with you own variable)

curl -X POST -H "Authorization: Bearer $(gcloud auth print-access-token)" -H "Content-Type: application/json" "https://eu-discoveryengine.googleapis.com/v1alpha/projects/${project_number}/locations/eu/collection..." -d '{"query":"${your_question}","pageSize":10,"queryExpansionSpec":{"condition":"AUTO"},"spellCorrectionSpec":{"mode":"AUTO"},"contentSearchSpec":{"summarySpec":{"summaryResultCount":5,"ignoreAdversarialQuery":true,"includeCitations":true},"snippetSpec":{"returnSnippet":true},"extractiveContentSpec":{"maxExtractiveAnswerCount":1}}, "filter": "${your_metadata_name}: ANY(\"${your_metadata_filter}")"}'