-
Notifications
You must be signed in to change notification settings - Fork 135
Y Bot Surveys Extensions
The survey extension provides an example of how to create a grammar that asks a customer a series of questions as part of a typical survey and then use a Python extension to store the results into a file for later processing
The grammars are slightly different and show a good example of how to use a combination of topic and forward chaining to link a series of questions together. A question is posed as the output of a question, the answer is processed in a subsequent grammar given a specific topic.
You start the survey with START SURVEY
either the customer enters that, or its driven as the result of another question and an <srai>
tag.
At the end of the question, an Extension is used to write the results to a file
Email: keiffster@gmail.com | Twitter: @keiffster | Facebook: keith.sterling | LinkedIn: keithsterling | My Blog
- Home
- Background
- Guiding Principles
- Reporting an Issue
- Installation
- You And Your Bot
- Bots
- Clients
- Configuration
- AIML
- Sentence Splitting
- Natural Langauge Processing
- Normalization
- Spelling
- Sentiment Analysis
- Translation
- Security
- Hot Reload
- Logging
- Out of Band
- Multi Language
- RDF Support
- Rich Media
- Asynchronous Events
- Triggers
- External Services
- Dynamic Sets, Maps & Vars
- Extensions
- Pre & Post Processors
- Custom Nodes
- The Brain Tree
- Utilities
- Building It Yourself
- Creating Your Own Bot
- Contributing
- Performance Testing
- FAQ
- History
- Website