mirror of
https://github.com/open-webui/pipelines.git
synced 2026-11-05 01:37:24 +00:00
[PR #589] feat(pipeline): add DBGPT integration pipeline #477
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/pipelines#477
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/pipelines/pull/589
Author: @hjwei0305
Created: 1/13/2026
Status: 🔄 Open
Base:
main← Head:feat/dbgpt-integration-pipeline📝 Commits (1)
15b57e2feat(pipeline): add DBGPT integration pipeline📊 Changes
1 file changed (+204 additions, -0 deletions)
View changed files
➕
examples/pipelines/integrations/dbgpt_pipeline.py(+204 -0)📄 Description
Summary
This PR introduces a new DBGPT integration pipeline for OpenWebUI.
The pipeline enables OpenWebUI to use a self-hosted DBGPT service as an external
AI backend, with a focus on enterprise stability, text-to-SQL workflows,
and robust error handling.
Key Features
DBGPT integration
/api/v1/chat/completionsendpointBlocking-only execution model
Output normalization
<think>, internal JSON,<chart-view />)Exception shielding
Why Blocking Instead of Streaming?
In real-world enterprise scenarios (especially text-to-SQL and BI use cases),
streaming responses can expose intermediate or malformed outputs that break
frontend rendering or user experience.
This pipeline intentionally adopts a blocking execution model to:
Scope & Compatibility
pipelines/integrations/dify_pipeline.py)inlet/outlethooks preserved for extensibilityNotes
This pipeline is intended as an integration example rather than a provider
replacement. Configuration values (API URL, app code, model name) can be adjusted
by users according to their DBGPT deployment.
Feedback and suggestions are very welcome!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.