Hello,
I’m working on a chatbot that return answer together with the link to the article. I created datastore that congains metadata of title and URL. I use Data store to generate the response but I’m not sure how to get the URL from the metadata.
Hi @konradpsiuk,
Welcome to Google Cloud Community!
To retrieve URLs from your datastore and generate responses in your chatbot, you can consider the following, which might help you answer your current scenario:
Using the $entity parameter in your response (Dialogflow CX) : The $entity parameter allows you to directly reference fields from your datastore entity in your Dialogflow responses. It is particularly useful when your datastore has a straightforward structure.
I hope the above information is helpful.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |