Improvement
(Additional) Integrate with covid API
We would like you to integrate the bot to Covid API. In this tutorial, we use mathdroid covid API. The steps are :
- Read how you will use the API. In this case, you should hit provinsi API
- Read async and sync in this stackoverflow post
- Change
bot/index.js
andshared.js
like the changes in the PR - Don't forget to change sync to async!
- Please change as you see fit or want it.
Review and continue improving your Wit app
As you are testing the app, you might notice that certain utterances are not resolving to the proper intents. To address these, go to Wit.ai and on the Understanding page you should see utterances that have been sent to the API endpoint. You can review each utterance by expanding one and making sure that the entity is properly identified and resolving to the correct intent. If there are utterances not relevant to your use case (invalid utterances), you can mark them as Out of Scope.
Next Steps
For demonstration purposes, we’ve created a very simple covid bot, but you can create a much more engaging and interactive bot. Try sketching out a larger conversation flow with various scenarios and see Wit documentation to learn more about other Wit features e.g. other built-in entities, custom entities, and traits.
If you want to add features, we have recommendation feature to add:
- Finite State Machine link.
- More data to train.
- Use time entities.
We look forward to what you will develop! To stay connected, join the Wit Hackers Facebook Group and follow us on Twitter @FBPlatform.
Contributing
Please make an issue/PR in this repo if you want to contribute. we will review it.