How can the chatbot be able to retrieve and answer from a json format file

how can the chatbot be able to retrieve and answer from a json format file so that when the user asks a question, the chatbot can answer and retrieve the answer from the json format file and the answer is sent to the user, is there a way to solve this problem?

For this use case, I’d advise implementing the chatbot as usual but having an NLG server for generating responses and then on that NLG server you actually serve your json-based responses. For the reference of NLG, take a look at NLG Servers

Regards, Nikola

2 Likes

thanks you very much mr nikola :smiley:

No problem :slight_smile:

Feel free to reach out in case you need any help.

2 Likes

but you could just as well use a custom action via an action server and read the json file in an action. This is a very similar use-case as querying an API and generating an answer for that.

1 Like