Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Connecting Dialogflow CX to Vertex AI Search and Conversation Search App

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 Solved
0 3 2,612
1 ACCEPTED 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

View solution in original post

3 REPLIES 3

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