{{ message }}
Is there a way to bulk update the default system prompt for all chat assistants? #14015
Answered
by
dosubot
Bot
zzming-tjufe
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
dosubot[bot]
Apr 9, 2026
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zzming-tjufe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

There's no built-in bulk update for system prompts currently, but here's a breakdown of your questions:
1. Official bulk update? — No, RAGFlow doesn't have a native bulk update endpoint for chat assistant prompts.
2. Global/default system prompt? — There is a default system prompt applied to newly created chats, but it's hardcoded in the source code (
_DEFAULT_PROMPT_CONFIG) rather than exposed as a configurable setting [1]. There's no admin panel or config file to change it globally.3. API-based workaround? — Yes, this is the recommended approach. You can use:
GET /api/v1/chatsto list all chats [2]PATCH /api/v1/chats/<chat_id>to update each one [3]The
PATCHendpoint does a merge, …