fix/ci-deploy-reset #21
@@ -6,7 +6,7 @@ KB Workflow - Knowledge Base Workflow Orchestrator
|
|||||||
知识库工作流管道入口。
|
知识库工作流管道入口。
|
||||||
|
|
||||||
此模块提供 process_command() 函数作为管道入口,
|
此模块提供 process_command() 函数作为管道入口,
|
||||||
内部使用 kb_pipeline 包实现完整的内容处理流程。
|
内部使用 kb_workflow.pipeline 包实现完整的内容处理流程。
|
||||||
|
|
||||||
使用方式:
|
使用方式:
|
||||||
python kb_workflow.py process "https://www.bilibili.com/video/BVxxx"
|
python kb_workflow.py process "https://www.bilibili.com/video/BVxxx"
|
||||||
@@ -37,11 +37,6 @@ def process_command(
|
|||||||
Returns:
|
Returns:
|
||||||
Dictionary with success status, content_dir, and results
|
Dictionary with success status, content_dir, and results
|
||||||
"""
|
"""
|
||||||
# Add project root to path for kb_pipeline imports
|
|
||||||
project_root = Path(__file__).parent.parent
|
|
||||||
if str(project_root) not in sys.path:
|
|
||||||
sys.path.insert(0, str(project_root))
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from kb_workflow.pipeline.config import get_settings
|
from kb_workflow.pipeline.config import get_settings
|
||||||
from kb_workflow.pipeline.pipeline import Pipeline
|
from kb_workflow.pipeline.pipeline import Pipeline
|
||||||
|
|||||||
Reference in New Issue
Block a user