-
Notifications
You must be signed in to change notification settings - Fork 135
Config_Brain_Dynamics
Dynamic Sets are sets which, instead of loading their content from a text file, are instead a Python object. Each object is an instantiation of the interface programy.dynamic.sets.set.DynamicSet.
Dynamic Sets are loaded through config as defined below, which is a simple name value pair, consisting of the name of the set and the full Python class.
dynamic:
sets:
number: programy.parser.pattern.nodes.dynamic.sets.numeric.IsNumeric
roman: programy.parser.pattern.nodes.dynamic.sets.roman.IsRomanNumeral
For more information on Dynamic Sets please see Dynamic Sets, Maps & Variables
Dynamic Maps are maps which, instead of loading their content from a text file, are instead a Python object. Each object is an instantiation of the interface programy.dynamic.maps.map.DynamicMap.
Dynamic Maps are loaded through config as defined below, which is a simple name value pair, consisting of the name of the set and the full Python class.
dynamic:
maps:
romantodec: programy.parser.template.nodes.dynamic.maps.roman.MapRomanToDecimal
dectoroman: programy.parser.template.nodes.dynamic.maps.roman.MapDecimalToRoman
For more information on Dynamic Maps please see Dynamic Sets, Maps & Variables
Dynamic variables are variables which, instead of loading static content from the bot, are instead a Python object. Each object is an instantiation of the interface programy.dynamic.vars.var.DynamicVariable.
Dynamic variables are loaded through config as defined below, which is a simple name value pair, consisting of the name of the set and the full Python class.
dynamic:
variables:
gettime: programy.parser.template.nodes.dynamic.variables.datetime.GetTime
For more information on Dynamic Sets please see Dynamic Sets, Maps & Variables
Email: [email protected] | 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