Naaz is a virtual agent protoype whose training phrases and responses pertain to shaayari. Created for testing Dialogflow
with Flask webhook
.
The extant project is not exhaustive is models a few possible aspects which could be extended later. The extensions in the form of webhook can query an assosciated database and extend backend logic. The responses are currently fetched from the following sources:
- webhook, which calls other specific functions corresponding to the requested
action
inqueryResult
; - text responses directly handled by predefined
intents
andfulfillments
inDialogflow
.
Image taken from: Dialogflow Docs
Naaz is intended to rather be a supplement to any main website/webpage or PWA than a standalone component.
The Dialogflow
and Pusher
credentials used for Naaz have been removed this online respository for security reasons and are stored locally.