![]() |
vor 1 Woche | |
---|---|---|
.chainlit | vor 1 Monat | |
.vscode | vor 1 Woche | |
agent | vor 1 Woche | |
common | vor 1 Woche | |
core | vor 2 Wochen | |
customembedding | vor 2 Wochen | |
customllm | vor 1 Woche | |
custompgvector | vor 1 Woche | |
docs | vor 1 Woche | |
output | vor 1 Woche | |
public | vor 1 Monat | |
schema_tools | vor 1 Woche | |
training | vor 3 Wochen | |
.gitignore | vor 1 Monat | |
README.md | vor 2 Wochen | |
app_config.py | vor 1 Woche | |
chainlit.md | vor 1 Monat | |
chainlit_app.py | vor 3 Wochen | |
chainlit_zh-CN.md | vor 1 Monat | |
citu_app.py | vor 1 Woche | |
flask_app.py | vor 3 Wochen | |
list.txt | vor 2 Wochen | |
requirements.txt | vor 1 Woche | |
test_file_modification.json | vor 1 Woche | |
test_qa_apis.py | vor 1 Woche | |
test_training_data_apis.py | vor 1 Woche |
该项目主要组织结构如下:
文件格式/扩展名 | 对应处理函数 | 用途说明 |
---|---|---|
.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
当前的代码实现完全符合您的两个要求,逻辑正确且健壮!