how can we take drug name from user and call api to give description
I’m assuming that you already know how to use that api.
- Look if there is a way to get every drug name that api has and save them to a list.
- Write a script that use that list to create a lookup table.
- Write a custom action that calls that api.
- Add a few examples of intents and stories for the interaction you want.
Also, if you can retrieve alternative names, like commercial ones, write a script that save those as synonyms.
Thanks but still am new to api things…I dont know how to write a script too