How hyunwoongko/dialobot works
Dialobot is a multilingual neural chatbot framework with a Streamlit builder and reusable intent and entity recognition components. The documented builder workflow starts the application, launches its server, and presents feature pages; the intent runtime composes classifier and retrieval strategies, while entity recognition is a separate capability. The README also advertises question answering, paraphrase generation, and response generation, represented by their builder pages and the paraphrase module where present. Several page implementations and backend behavior were not sampled, so their internal connections are omitted.
Main entry points: frontend.py Builder frontend · server.py App server · pipeline.py Intent pipeline · classifier.py Zero-shot classifier
Components 19
Builder application
- Application launcher
dialobot/app/application.py - App server
dialobot/app/server.py - Backend service
dialobot/app/backend/backend.py - Builder frontend
dialobot/app/frontend/frontend.py - Loading page
dialobot/app/frontend/pages/loading.py - UI styling
dialobot/app/frontend/utils/css.py - Intent builder
dialobot/app/frontend/pages/intent.py - Entity builder
dialobot/app/frontend/pages/entity.py
Intent recognition
- Intent pipeline
dialobot/core/intent/pipeline.py - Zero-shot classifier
dialobot/core/intent/classifier.py - Example retriever
dialobot/core/intent/retriever.py
Language processing
- Entity recognizer
dialobot/core/entity/recognizer.py - BrainBert tokenizer
dialobot/core/utils/tokenizer.py - Model constants
dialobot/core/utils/const.py
Chatbot features
- Question answering
dialobot/app/frontend/pages/qa.py - Paraphrase builder
dialobot/app/frontend/pages/para.py - Response builder
dialobot/app/frontend/pages/response.py - Paraphrase module
dialobot/core/paraphrase/main.py
Other components
- Builder user
Connections 18
- Builder user → Application launcher: starts
README.md - Application launcher → App server: launches
dialobot/app/application.py - App server → Loading page: shows
dialobot/app/server.py - App server → Backend service: starts
dialobot/app/server.py - App server → Builder frontend: starts
dialobot/app/server.py - Builder frontend → UI styling: applies
dialobot/app/frontend/frontend.py - Builder frontend → Intent builder: routes to
dialobot/app/frontend/frontend.py - Builder frontend → Entity builder: routes to
dialobot/app/frontend/frontend.py - Builder frontend → Question answering: routes to
dialobot/app/frontend/frontend.py - Builder frontend → Paraphrase builder: routes to
dialobot/app/frontend/frontend.py - Builder frontend → Response builder: routes to
dialobot/app/frontend/frontend.py - Intent pipeline → Zero-shot classifier: delegates
dialobot/core/intent/pipeline.py - Intent pipeline → Example retriever: delegates
dialobot/core/intent/pipeline.py - Zero-shot classifier → Model constants: imports aliases
dialobot/core/intent/classifier.py - Zero-shot classifier → BrainBert tokenizer: uses
dialobot/core/intent/classifier.py - Intent pipeline → Model constants: imports aliases
dialobot/core/intent/pipeline.py - Example retriever → Model constants: imports dimensions
dialobot/core/intent/retriever.py - Entity recognizer → BrainBert tokenizer: uses
dialobot/core/entity/recognizer.py