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

Vertex AI agent builder - data store

I have a data store that is CSV with question, answer and url columns, I am able to make a structured data store and using custom prompt ( without examples) as I need short responses. 

1) Can I still use default prompt in data store and still limit characters of response? Also in custom prompt, 

```[1] title of first source

content of first source

[2] title of second source

content of second source ```

This was the sources chunk in custom prompt(link), so the title is the name of the saved document in the bucket right? This works for pdf, but for CSV each row is a document in data store for CSV, how can I give title and provide content? Just provide me one example.

 

MAIN ISSUE:

When I'm asking for the link of a specific website title (title name is in questions) in dialogflow, its is providing the text available in answer column( which is a short description), but I need the url in the URLs columns. Please note that I don't want to display links to the user as data store response payload, I just want the link text to be displayed from the URLs columns. 

Any suggestions would be helpful, thank you.

Solved Solved
4 3 1,784
1 ACCEPTED SOLUTION

I think it is going to be hard to extract that data using just a prompt

View solution in original post

3 REPLIES 3