Files
syops/backend/app/api/kb/blueprint.py
2026-06-29 20:05:13 +08:00

11 lines
361 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""
backend/app/api/kb/blueprint.py
用途:知识库 API 共享 Blueprint(Wave 3 分包后各子模块共用)。
依赖:Flask Blueprint。
逻辑:kb/dify、groups、documents、jobs 等子模块在此 bp 上注册路由;__init__ 导出 knowledge_base_bp。
"""
from flask import Blueprint
knowledge_base_bp = Blueprint('knowledge_base', __name__)