-
Notifications
You must be signed in to change notification settings - Fork 135
Config_Bot_Brains
#Brain Selection
Each bot has the option to load one or more brains into itself and then the option to decide which brain to select to answer a question.
To use a single bot, name the bot, and then within the config file, there should be a config section of the same name which contains bot configuration as follows
console:
bot: bot
bot:
brain: brain
brain:
# Brain configuration
If you want to load more then one brain then you list them using the Yaml bar '|' configuration, there should then be a brain configuration element in your config file for each brain listed as follows.
In this instance we have chosen to use the Round Robin Selector, but you can write your own, or use one of the other system defined classes
console:
bot: bot
bot:
brain: |
brain1
brian2
brain_selector: programy.clients.client.RoundRobinBrainSelector
brain1:
# Brain 1configuration
brain2:
# Brain 2 configuration
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