502 B
502 B
Docs 模块
核心流程图
flowchart TD
A[用户请求] --> B[API: endpoints]
B --> C[WorkflowManager]
C --> D[ConversationAgent]
D --> E[analyze_intent]
E --> F[process_input]
F --> G[normalize_input]
G --> H[classify_query_mode]
H --> I[match_table]
I --> J[load_sql_prompt]
J --> K[build_sql_plan]
K --> L[generate_sql]
L --> M[execute_sql]
M --> N[generate_response]
N --> O[update_context]
O --> P[返回结果]