|
|
2 月之前 | |
|---|---|---|
| .chainlit | 5 月之前 | |
| .claude | 3 月之前 | |
| .vscode | 4 月之前 | |
| agent | 2 月之前 | |
| common | 2 月之前 | |
| config | 2 月之前 | |
| core | 3 月之前 | |
| customembedding | 3 月之前 | |
| customllm | 2 月之前 | |
| custompgvector | 2 月之前 | |
| data_pipeline | 3 月之前 | |
| docs | 2 月之前 | |
| output | 4 月之前 | |
| public | 5 月之前 | |
| react_agent | 2 月之前 | |
| test | 2 月之前 | |
| .gitignore | 3 月之前 | |
| CLAUDE.md | 4 月之前 | |
| README.md | 4 月之前 | |
| app_config.py | 2 月之前 | |
| asgi_app.py | 3 月之前 | |
| chainlit.md | 5 月之前 | |
| chainlit_app.py | 4 月之前 | |
| chainlit_zh-CN.md | 5 月之前 | |
| citu_app.py | 2 月之前 | |
| flask_app.py | 4 月之前 | |
| list.txt | 3 月之前 | |
| package-lock.json | 3 月之前 | |
| package.json | 3 月之前 | |
| requirements.txt | 3 月之前 | |
| test_redis_modules.py | 3 月之前 | |
| test_vector_backup_only.py | 3 月之前 | |
| unified_api.py | 2 月之前 |
该项目主要组织结构如下:
| 文件格式/扩展名 | 对应处理函数 | 用途说明 |
|---|---|---|
| .ddl | train_ddl_statements() | 训练数据库定义语言文件 |
| .md / .markdown | train_documentation_blocks() | 训练Markdown格式的文档 |
| _pair.json / _pairs.json | train_json_question_sql_pairs() | 训练JSON格式的问答对 |
| _pair.sql / _pairs.sql | train_formatted_question_sql_pairs() | 训练格式化的问答对文件 |
| .sql (其他) | train_sql_examples() | 训练一般SQL示例文件 |
各种组合的行为总结 enable_thinking stream (输入) stream (实际) 行为描述 False False False 非流式模式,无thinking False True True 流式模式,无thinking True False True (强制) 流式模式,有thinking + 警告日志 True True True 流式模式,有thinking
当前的代码实现完全符合您的两个要求,逻辑正确且健壮!