A voice-based chatbot that helps the users in selecting food products taking into account their food allergies, supports fallback intents for continuous conversation and store user allergens in persistent storage for future sessions.
- Session initiation and fetching of user allergen values from allergenDB
- allergenDB update via POST request and invoking the productCheckIntent
- Getting isAllergic value from the backend server
- Invoking productCheckIntent again to check for another product
- Based on the user allergies, advised not to consume the product
- Recommendation mail send and session is ended
{
"status":200,
"message":"Welcome to dietary-care food products API",
"valid_endpoints":[
{
"endpoint":"/products",
"method":"GET",
"description":"Displays all products"
},
{
"endpoint":"/products/allergyCheck",
"method":"POST",
"description":"Lets you check if you are allergic to a certain product"
},
{
"endpoint":"/products/add",
"method":"POST",
"description":"Lets you add a product to the database"
},
{
"endpoint":"/products/recommend",
"method":"POST",
"description":"Get product recommendation based on query parameters"
}
]
}
Feel free to reach out, if intetested in taking this project forward.
This project is licensed under the MIT license