top of page


AI-Powered Management Decision Support System (MDSS) Development Notes3
今日は、AIを活用したManagement Decision Support System(MDSS)のチャット機能を改善しました。これまでの課題は、「Hello」のような挨拶でもAIが経営分析を始めてしまうことでした。原因は、通常チャットでも分析前提のプロンプトを使用していたためです。今回、業務に関する質問のみ分析データを参照し、それ以外は通常の会話として応答するよう設計を見直しました。一方で、What-if分析やフォローアップはLLMによる推論が不可欠なため、APIを呼び出す構成としています。AI・データベース・アプリケーションの役割分担を設計することが、使いやすさと運用コストの両立につながります。
Jul 32 min read


AI-Powered Management Decision Support System (MDSS) Development Notes2
During this development cycle, I solved a Gemini API 429 error, redesigned the MDSS architecture, and fixed a Streamlit layout issue. The API problem was caused by using the wrong model (gemini-2.0-flash instead of gemini-2.5-flash). After correcting it, the application worked normally. I also changed the system from AI-first processing to a database-first design, using AI only for updates to reduce API usage and improve response time. Finally, I removed duplicate chat render
Jun 282 min read
bottom of page