Prompts
The core service resolves its prompts through a prompt pool: prompts configured under prompts: in config.yaml are loaded from Langfuse, with committed local Markdown files as fallbacks.
See the AI governance and compliance checks guide for the end-to-end screening flow, version lifecycle, review queue, and operational responsibilities.
Prompt Configuration
The optional prompts section maps prompt names used by the core service to prompts stored in langfuse. Each prompt is configured under its Langfuse folder (prompts.folders) with the label to use; folder and prompt names must match Langfuse exactly. See mucgpt-core-service/config.yaml.example for the complete YAML structure.
defaults/default_instructions: general system instructions for regular chat.defaults/document_instructions: instructs the agent on how to work with attached documents on the read-only/documents/mount.generation_prompts/chat_title: generates concise chat titles.generation_prompts/assistant_name: generates assistant names from prompt seeds.generation_prompts/assistant_description: generates assistant descriptions from prompt seeds.generation_prompts/assistant_systemprompt: generates assistant system prompts from prompt seeds.compliance_prompts/*: screens assistant prompts for high-risk use cases (eu-ai-act) in migration/asylum/border control, public services, employment, and education.
Local fallback prompts
Every prompt above also ships as a committed Markdown fallback in mucgpt-core-service/app/agent/prompt_pool/ (with defaults/, generation_prompts/, and compliance_prompts/ subfolders). All fallbacks are written in English. Without a Langfuse configuration these files are authoritative. With Langfuse configured, the local content is passed to Langfuse as a fallback: Langfuse prompts win when they are available, and the committed files keep the service working when they are not. Deployments can override any prompt through the prompts mapping above; the committed files then serve as the base to start from.