-
Notifications
You must be signed in to change notification settings - Fork 135
Config_Bot
Keith Sterling edited this page Feb 21, 2019
·
11 revisions
Bot configuration consists of a number of options which control the overall behaviour of the chat bot, it is made up of core settings and also the following sub sections
- Brains
- Default Responses
- Initial Questions
- Initial Max Search
- Initial Overrides
- Initial Exit
- Spelling
- Translations
- Sentiment Analysis
- Conversations
- Sentence Splitting/Joining
bot:
brain_selector: programy.bot.DefaultBrainSelector
initial_question: Hi, how can I help you today?
initial_question_srai: YINITIALQUESTION
default_response: Sorry, I don't have an answer for that!
default_response_srai: YDEFAULTRESPONSE
empty_string: YEMPTY
exit_response: So long, and thanks for the fish!
exit_response_srai: YEXITRESPONSE
override_properties: true
max_question_recursion: 1000
max_question_timeout: 60
max_search_depth: 100
max_search_timeout: 60
spelling:
load: true
classname: programy.spelling.norvig.NorvigSpellingChecker
alphabet: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
check_before: true
check_and_retry: true
splitter:
classname: programy.dialog.splitter.regex.RegexSentenceSplitter
joiner:
classname: programy.dialog.joiner.SentenceJoiner
conversations:
save: true
load: false
max_histories: 100
restore_last_topic: false
initial_topic: TOPIC1
empty_on_start: false
from_translator:
classname: programy.translate.textblob_translator.TextBlobTranslator
from: fr
to: en
to_translator:
classname: programy.translate.textblob_translator.TextBlobTranslator
from: en
to: fr
sentiment:
classname: programy.sentiment.textblob_sentiment.TextBlobSentimentAnalyser
scores: programy.sentiment.scores.SentimentScores
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