API#
- core
- bot
Bot
Bot._name
Bot._platforms
Bot._platforms_threads
Bot._nlp_engine
Bot._config
Bot._default_ic_config
Bot._sessions
Bot._trained
Bot._monitoring_db
Bot.states
Bot.intents
Bot.entities
Bot.global_initial_states
Bot.global_state_component
Bot._get_session()
Bot._init_global_states()
Bot._monitoring_db_insert_intent_prediction()
Bot._monitoring_db_insert_session()
Bot._monitoring_db_insert_transition()
Bot._new_session()
Bot._run_platforms()
Bot._stop_platforms()
Bot.add_entity()
Bot.add_intent()
Bot.config
Bot.delete_session()
Bot.get_or_create_session()
Bot.get_property()
Bot.initial_state()
Bot.load_properties()
Bot.name
Bot.new_entity()
Bot.new_intent()
Bot.new_state()
Bot.nlp_engine
Bot.receive_file()
Bot.receive_message()
Bot.reset()
Bot.run()
Bot.set_default_ic_config()
Bot.set_global_fallback_body()
Bot.set_property()
Bot.stop()
Bot.train()
Bot.use_telegram_platform()
Bot.use_websocket_platform()
- transition
- file
- state
State
State._bot
State._name
State._initial
State._body
State._fallback_body
State._ic_config
State._transition_counter
State.intents
State.transitions
State._check_global_state()
State._check_next_transition()
State._t_name()
State.bot
State.go_to()
State.ic_config
State.initial
State.name
State.receive_file()
State.receive_intent()
State.run()
State.set_body()
State.set_fallback_body()
State.set_global()
State.when_event_go_to()
State.when_file_received_go_to()
State.when_intent_matched_go_to()
State.when_no_intent_matched_go_to()
State.when_variable_matches_operation_go_to()
- session
Session
Session._id
Session._bot
Session._platform
Session._current_state
Session._dictionary
Session._message
Session._predicted_intent
Session._file
Session.chat_history
Session.flags
Session.current_state
Session.delete()
Session.file
Session.get()
Session.id
Session.message
Session.move()
Session.platform
Session.predicted_intent
Session.reply()
Session.set()
- property
- intent_parameter
- intent
- entity
- entity_entry
- bot
- db
- monitoring_db
MonitoringDB
MonitoringDB.conn
MonitoringDB.connected
MonitoringDB.close_connection()
MonitoringDB.connect_to_db()
MonitoringDB.get_table()
MonitoringDB.initialize_db()
MonitoringDB.insert_intent_prediction()
MonitoringDB.insert_session()
MonitoringDB.insert_transition()
MonitoringDB.run_statement()
MonitoringDB.select_session()
TABLE_INTENT_PREDICTION
TABLE_PARAMETER
TABLE_SESSION
TABLE_TRANSITION
- monitoring_db
- exceptions
- exceptions
BodySignatureError
BotNotTrainedError
ConflictingAutoTransitionError
DuplicatedAutoTransitionError
DuplicatedEntityError
DuplicatedInitialStateError
DuplicatedIntentError
DuplicatedIntentMatchingTransitionError
DuplicatedIntentParameterError
DuplicatedStateError
EventSignatureError
InitialStateNotFound
IntentClassifierWithoutIntentsError
IntentNotFound
LLMSuiteNotFound
PlatformMismatchError
SREngineNotFound
StateNotFound
- exceptions
- library
- nlp
- utils
- nlp_engine
- intent_classifier_prediction
- simple_intent_classifier
SimpleIntentClassifier
SimpleIntentClassifier._tokenizer
SimpleIntentClassifier._model
SimpleIntentClassifier.__intent_label_mapping
SimpleIntentClassifier.__total_labels_training_sentences
SimpleIntentClassifier.__total_training_sentences
SimpleIntentClassifier.__total_training_sequences
SimpleIntentClassifier._abc_impl
SimpleIntentClassifier.predict()
SimpleIntentClassifier.train()
- intent_classifier
- llm_intent_classifier
LLMIntentClassifier
LLMIntentClassifier._abc_impl
LLMIntentClassifier._generate_prompt()
LLMIntentClassifier.predict()
LLMIntentClassifier.predict_huggingface()
LLMIntentClassifier.predict_huggingface_inference_api()
LLMIntentClassifier.predict_openai()
LLMIntentClassifier.predict_replicate()
LLMIntentClassifier.train()
- intent_classifier_configuration
IntentClassifierConfiguration
LLMIntentClassifierConfiguration
LLMIntentClassifierConfiguration.llm_suite
LLMIntentClassifierConfiguration.parameters
LLMIntentClassifierConfiguration.use_intent_descriptions
LLMIntentClassifierConfiguration.use_training_sentences
LLMIntentClassifierConfiguration.use_entity_descriptions
LLMIntentClassifierConfiguration.use_entity_synonyms
LLMIntentClassifierConfiguration.HUGGINGFACE_INFERENCE_API_LLM_SUITE
LLMIntentClassifierConfiguration.HUGGINGFACE_LLM_SUITE
LLMIntentClassifierConfiguration.OPENAI_LLM_SUITE
LLMIntentClassifierConfiguration.REPLICATE_LLM_SUITE
LLMIntentClassifierConfiguration._abc_impl
LLMIntentClassifierConfiguration.suites
SimpleIntentClassifierConfiguration
SimpleIntentClassifierConfiguration.num_words
SimpleIntentClassifierConfiguration.lower
SimpleIntentClassifierConfiguration.oov_token
SimpleIntentClassifierConfiguration.num_epochs
SimpleIntentClassifierConfiguration.embedding_dim
SimpleIntentClassifierConfiguration.input_max_num_tokens
SimpleIntentClassifierConfiguration.discard_oov_sentences
SimpleIntentClassifierConfiguration.check_exact_prediction_match
SimpleIntentClassifierConfiguration.activation_last_layer
SimpleIntentClassifierConfiguration.activation_hidden_layers
SimpleIntentClassifierConfiguration.lr
SimpleIntentClassifierConfiguration._abc_impl
- text_preprocessing
- pipelines
- simple_ner
- ner
- ner_prediction
- matched_parameter
- any
- datetime
- number
- hf_speech2text
- api_speech2text
- speech2text
- platforms
- payload
Payload
PayloadAction
PayloadAction.BOT_REPLY_DF
PayloadAction.BOT_REPLY_FILE
PayloadAction.BOT_REPLY_IMAGE
PayloadAction.BOT_REPLY_LOCATION
PayloadAction.BOT_REPLY_OPTIONS
PayloadAction.BOT_REPLY_PLOTLY
PayloadAction.BOT_REPLY_STR
PayloadAction.RESET
PayloadAction.USER_FILE
PayloadAction.USER_MESSAGE
PayloadAction.USER_VOICE
PayloadEncoder
- platform
- websocket_platform
WebSocketPlatform
WebSocketPlatform._bot
WebSocketPlatform._host
WebSocketPlatform._port
WebSocketPlatform._use_ui
WebSocketPlatform._connections
WebSocketPlatform._websocket_server
WebSocketPlatform._message_handler
WebSocketPlatform._abc_impl
WebSocketPlatform._send()
WebSocketPlatform.initialize()
WebSocketPlatform.reply()
WebSocketPlatform.reply_dataframe()
WebSocketPlatform.reply_file()
WebSocketPlatform.reply_location()
WebSocketPlatform.reply_options()
WebSocketPlatform.reply_plotly()
WebSocketPlatform.start()
WebSocketPlatform.stop()
- message
- streamlit_ui
- telegram_platform
TelegramPlatform
TelegramPlatform._bot
TelegramPlatform._telegram_app
TelegramPlatform._event_loop
TelegramPlatform._abc_impl
TelegramPlatform._send()
TelegramPlatform.add_handler()
TelegramPlatform.initialize()
TelegramPlatform.reply()
TelegramPlatform.reply_file()
TelegramPlatform.reply_image()
TelegramPlatform.reply_location()
TelegramPlatform.start()
TelegramPlatform.stop()
TelegramPlatform.telegram_app
_wait_future()
- payload