The scenario here is:
- I have a Search App in Vertex ai search and conversation that has our website as a datastore (ecommerce)
- We have a Dialogflow CX Agent
Given there is no direct integration between Dialogflow and Vertex AI Search Apps, I was thinking of using a webhook for that, but I am getting stuck on the authentication.
The plan is to use a flexible webhook in Dialogflow to trigger the Vertex AI Search via APi and get the results and display as a response in Dialoglow.
Any ideas on how to handle the authentication for this? Vertex Ai Search does not support Service Agent Auth
Solved! Go to Solution.
Thanks @piyush_garg we also have it connected to a chat app and that works fine, the scenario is to also provide search functionality via the chat.
I had a feeling the only way to do that would be via cloud function, so we can go in that direction
hi @alberto33 ,
You have to create a Vertex AI Conversational app and then a data store, with that you will link both services without webhooks. I have a talk with a demo about how doing this: https://www.youtube.com/watch?v=w8D-p0rqQKI
best,
Xavi
Hey @alberto33
For your scenerio if you want to use DIALOGLOW you should use vertex ai chat app that is more sensible for your use case
But if you really want to use search app as a dialogflow response you can do one thing you can deploy your call vertex ai search app code on cloud function and then call the cloud function URL on flexible webhook that will solve your authentication problem
Regards
Piyush Garg
Thanks @piyush_garg we also have it connected to a chat app and that works fine, the scenario is to also provide search functionality via the chat.
I had a feeling the only way to do that would be via cloud function, so we can go in that direction