Development of a Multimodal Dialogue System Integrating Speech Recognition, Knowledge Reasoning, and TTS via Multimodal Large Language Models
摘要
This paper presents the development of a browser-based multimodal dialogue system that integrates speech recognition (STT), knowledge-based reasoning, and text-to-speech (TTS) synthesis, supported by Multimodal Large Language Models (MMLs). Speech is recorded via the browser using the MediaRecorder API and sent to a Flask backend, where Google Speech Recognition converts it to text. The recognized text is processed by an Ollama-based DeepSeek LLM, enhanced with a domain-specific knowledge base to generate appropriate responses. As a proof of concept, we developed a digital assistant called “OKGO Izakaya,” enabling users to engage in real-time multilingual conversations (English, Japanese, and Chinese) through the browser. The assistant recognizes spoken queries, reasons with the knowledge base, and responds with speech synthesized by gTTS or Microsoft Edge TTS. This implementation demonstrates the feasibility of lightweight, browser-compatible multimodal dialogue systems and provides a practical model for multilingual intelligent interactions.