-
Notifications
You must be signed in to change notification settings - Fork 135
Config_Client_Bots
#Bot Selection
Each client has the option to load one or more bots into itself and then the option to decide which bot 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:
If you want to load more then one bot then you list them using the Yaml bar '|' configuration, there should then be a bot configuration element in your config file for each bot 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
client:
bot: |
bot1
bot2
bot_selector: programy.clients.client.RoundRobinBotSelector
bot1:
# Bot 1 configuration
bot2:
# Bot 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