[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"navigation-en":3,"\u002Farticles\u002Fchat-agent":24,"header-me":182,"\u002Farticles\u002Fchat-agent-surround":184},[4,8,12,16,20],{"title":5,"path":6,"stem":7},"The Humanitarian AI Chatbot","\u002Fprojects\u002Fai-chatbot-project","1.projects\u002F1.ai-chatbot-project",{"title":9,"path":10,"stem":11},"Analytics Dashboard for ReliefWeb Jobs Data","\u002Fprojects\u002Freliefweb-jobs-dashboard","1.projects\u002F2.reliefweb-jobs-dashboard",{"title":13,"path":14,"stem":15},"Understanding Cash Assistance in Ukraine","\u002Fprojects\u002Fhumanitarian-data-platform","1.projects\u002F3.humanitarian-data-platform",{"title":17,"path":18,"stem":19},"Humanitarian Data Analyst Portfolio","\u002Fprojects\u002Fweb-development-project","1.projects\u002F4.web-development-project",{"title":21,"path":22,"stem":23},"AI-Powered Humanitarian Legal Advisor for Ukraine","\u002Fprojects\u002Fhumanitarian-paralegal-advisor","1.projects\u002F5.humanitarian-paralegal-advisor",{"id":25,"title":26,"authors":27,"badge":33,"body":35,"date":165,"description":166,"extension":167,"external_links":168,"image":173,"meta":176,"navigation":177,"path":178,"seo":179,"stem":180,"__hash__":181},"posts\u002F3.articles\u002F2.chat-agent.md","The Humanitarian Assistant is here again, completely revamped",[28],{"name":29,"to":30,"avatar":31},"Jesus Baena","https:\u002F\u002Flinkedin.com\u002Fin\u002Fjbaenanet",{"src":32},"https:\u002F\u002Fqecdwuwkxgwkpopmdewl.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fbaena-ai-assets\u002FArticles\u002Favatar-jesus-color.jpg",{"label":34},"AI",{"type":36,"value":37,"toc":157},"minimark",[38,42,50,55,62,65,69,76,87,91,94,136,139,143,154],[39,40,41],"p",{},"In the humanitarian sector, new field managers are often thrust into roles demanding an unrealistic breadth of knowledge. They are expected to instantly master complex donor regulations, reporting procedures, humanitarian principles, and internal policies, leaving them in delicate positions without immediate support. This challenge highlights a critical gap for the dedicated individuals on the front lines.",[39,43,44,45,49],{},"To address this, I built the ",[46,47,48],"strong",{},"Humanitarian Assistant",", a dynamic AI tool designed to act as a virtual colleague. It is more than just a chatbot; it is a real-time support system built to provide the contextually relevant assistance that humanitarian workers need to succeed—grounded in trusted public sources and honest about where its answers come from.",[51,52,54],"h2",{"id":53},"designing-for-immediate-access","Designing for Immediate Access",[39,56,57,58,61],{},"We believe that in a crisis, barriers to information should not exist. That is why the Humanitarian Assistant follows a strict \"Open Access\" philosophy. Any visitor can land on the page and immediately start asking questions—no login required. However, for those who need to manage long-term projects or revisit complex reasoning chains, the tool integrates seamlessly with ",[46,59,60],{},"baena.ai",". By signing in, users can save their conversation history, effectively building a digital memory bank of their work.",[39,63,64],{},"Rather than asking users to pick the right \"mode\" for every question, the assistant works like a versatile team member: it reads your question and automatically reaches for the right source—a knowledge library, a live data feed, or a web search—and combines them into a single, coherent answer.",[51,66,68],{"id":67},"grounded-in-public-humanitarian-knowledge","Grounded in Public Humanitarian Knowledge",[39,70,71,72,75],{},"In our sector, data privacy and the \"Do No Harm\" principle are non-negotiable. We made a conscious architectural decision to build the knowledge base exclusively from ",[46,73,74],{},"publicly available, verified humanitarian guidance","—ALNAP lessons and evaluations, IASC guidance, the cash and voucher assistance (CVA) toolkit, ECHO eligibility rules, and child-protection and PSEA standards, among others. We do not scrape private internal datasets or sensitive operational files.",[39,77,78,79,82,83,86],{},"These documents—hundreds of reports, distilled into thousands of searchable passages—are embedded and stored in a ",[46,80,81],{},"self-hosted Qdrant vector database"," that we run and control end to end. When you ask a question, the assistant retrieves the most relevant passages and ",[46,84,85],{},"cites the source documents"," it drew on, so you can verify the answer and read further. By owning the retrieval layer rather than relying on opaque third-party services, we keep every answer transparent and traceable to public-sector knowledge.",[51,88,90],{"id":89},"live-data-not-just-documents","Live Data, Not Just Documents",[39,92,93],{},"Static guidance is only half the picture, so the assistant also queries live humanitarian data sources on demand:",[95,96,97,116,130],"ul",{},[98,99,100,103,104,107,108,111,112,115],"li",{},[46,101,102],{},"ACAPS"," — displacement and people-in-need figures for Ukraine (down to the oblast level), plus global crisis analytics: the ",[46,105,106],{},"INFORM Severity Index",", the ",[46,109,110],{},"Risk List"," of emerging threats, and ",[46,113,114],{},"Humanitarian Access"," constraints for any country.",[98,117,118,121,122,125,126,129],{},[46,119,120],{},"FEWS NET"," — acute food insecurity ",[46,123,124],{},"IPC phase classifications"," (from Minimal to Famine) and ",[46,127,128],{},"staple food market prices"," with year-on-year trends, anywhere in the world.",[98,131,132,135],{},[46,133,134],{},"Web search"," for current events when the curated sources don't cover a question.",[39,137,138],{},"The agent decides which tool fits each question: a query about famine risk in the Horn of Africa pulls live IPC data and cites FEWS NET, while a question about cash programming draws on the knowledge base, and a request for displacement figures in a Ukrainian oblast hits ACAPS directly.",[51,140,142],{"id":141},"orchestrated-intelligence-under-the-hood","Orchestrated Intelligence Under the Hood",[39,144,145,146,149,150,153],{},"While the interface is simple, the engineering behind it is deliberate. The assistant is built on ",[46,147,148],{},"Flowise",", orchestrating a ",[46,151,152],{},"Google Gemini"," model together with the retrieval and live-data tools above. We recently re-platformed the system off the OpenAI Assistants API onto Gemini and our own Qdrant vector store—a move that gives us independence over the model, full ownership of the retrieval layer, and a lower running cost. Hardened guardrails keep the assistant strictly on humanitarian topics and resistant to prompt-injection attempts.",[39,155,156],{},"The result is a secure, transparent, and cost-effective colleague—free for everyone to use, from international coordinators to local NGO partners.",{"title":158,"searchDepth":159,"depth":159,"links":160},"",2,[161,162,163,164],{"id":53,"depth":159,"text":54},{"id":67,"depth":159,"text":68},{"id":89,"depth":159,"text":90},{"id":141,"depth":159,"text":142},"2025-05-01T00:00:00.000Z","A chat agent designed to support humanitarian workers with real-time, context-aware assistance using publicly available data.","md",[169],{"label":170,"url":171,"icon":172},"Humanitarian Agent Demo","\u002Fdemos\u002Fhumanitarian-agent","i-ph-robot",{"src":174,"alt":175},"https:\u002F\u002Fqecdwuwkxgwkpopmdewl.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fbaena-ai-assets\u002FArticles\u002FComfyUI_00352_.png","Illustration of a friendly robot assisting a human worker",{},true,"\u002Farticles\u002Fchat-agent",{"title":26,"description":166},"3.articles\u002F2.chat-agent","NT4xE2y3yJ1nW8zhN0bkt-0WoSWX8U2TSjzpLdmXBAQ",{"user":183,"profile":183},null,[185,189],{"path":186,"title":187,"description":188},"\u002Farticles\u002Fhumanitarian-flagship-reports","The Cost of Humanitarian Evidence: $60 Million for the Whole Planet","A practitioner's guide to the humanitarian sector's flagship publications — which one answers which question, how to quote them without getting caught out, and what the whole evidence base costs compared with what the world spends knowing about television ratings.",{"path":190,"title":191,"description":192},"\u002Farticles\u002Fjobs-relief","Data Insights into the 2025 Humanitarian Sector Contraction","A live dashboard to understand the state of humanitarian jobs in 2025"]