Sin descripción

wangxq e19d1a0975 部分修复了Event loop的错误,简化提示词, hace 10 meses
.chainlit c74481dcb8 能正常运行,部分汉化,测试更换icon的过程中失败。 hace 1 año
.claude 346d9bb862 重构了整个项目的log服务,测试时又发现了Event loop is closed错误,准备修复这个错误。 hace 10 meses
.vscode 56ca6e03a9 增加了对问题向量化缓存到Redis的模块,缓存问题的向量值。 hace 11 meses
agent 346d9bb862 重构了整个项目的log服务,测试时又发现了Event loop is closed错误,准备修复这个错误。 hace 10 meses
common 04e48d41f1 项目统一的日志管理重构完成. hace 11 meses
config 346d9bb862 重构了整个项目的log服务,测试时又发现了Event loop is closed错误,准备修复这个错误。 hace 10 meses
core 346d9bb862 重构了整个项目的log服务,测试时又发现了Event loop is closed错误,准备修复这个错误。 hace 10 meses
customembedding 04e48d41f1 项目统一的日志管理重构完成. hace 11 meses
customllm 800b28075b 重载vannabase基类日志输出功能,修复生成的SQL as 英文的问题。 hace 11 meses
custompgvector 54e550cafb 解决chat api进行非数据库查询时输出Based on general knowledge. hace 10 meses
data_pipeline 346d9bb862 重构了整个项目的log服务,测试时又发现了Event loop is closed错误,准备修复这个错误。 hace 10 meses
docs 346d9bb862 重构了整个项目的log服务,测试时又发现了Event loop is closed错误,准备修复这个错误。 hace 10 meses
output 3f74546e04 完成qa管理模块的开发,基本完成测试。 hace 11 meses
public c74481dcb8 能正常运行,部分汉化,测试更换icon的过程中失败。 hace 1 año
react_agent e19d1a0975 部分修复了Event loop的错误,简化提示词, hace 10 meses
test d3ae37134d 准备实施custom_react_agent整合. hace 10 meses
.gitignore 6243095d72 启用test目录的git跟踪:包含所有测试代码文件和Jupyter notebook hace 11 meses
CLAUDE.md 847e45252b 训练数据生成与加载模块重构完成. hace 11 meses
README.md f59483d06b 准备进行Agent改造. hace 11 meses
api_usage_examples.md 1759e64281 发布到143的第二个版本 hace 11 meses
app_config.py e19d1a0975 部分修复了Event loop的错误,简化提示词, hace 10 meses
asgi_app.py 44fca2b272 把react_agent从/test/目录下复制出来,创建统一的unified_api.py,把chat api 改为ask_react_api. hace 10 meses
chainlit.md c74481dcb8 能正常运行,部分汉化,测试更换icon的过程中失败。 hace 1 año
chainlit_app.py ecb9b74349 修复了ollama/deepseek llm对stream和thinking的支持,正在修改ollama. hace 1 año
chainlit_zh-CN.md c74481dcb8 能正常运行,部分汉化,测试更换icon的过程中失败。 hace 1 año
citu_app.py b7977aa8cf test目录下增加了redis原生支持的测试,修正了citu_app.py中任务删除api的问题. hace 11 meses
flask_app.py ecb9b74349 修复了ollama/deepseek llm对stream和thinking的支持,正在修改ollama. hace 1 año
list.txt 1759e64281 发布到143的第二个版本 hace 11 meses
package-lock.json 4dd770bd90 格式化chat api的结果,修复一些错误. hace 10 meses
package.json 4dd770bd90 格式化chat api的结果,修复一些错误. hace 10 meses
requirements.txt c793722717 修复返回状态问题,优化两个查询的API。 hace 11 meses
test_api_changes.py 6313111c3c 修改了data_pipeline的调用api,在日志管理方面遇到问题,准备重构这个模块的日志管理. hace 11 meses
test_logging.py 98b52e1065 开始测试日志管理功能. hace 11 meses
test_table_inspector_api.py d6ffe2fac0 发现数据库连接的bug,准备为data_pipeline模块修改单例模式。 hace 11 meses
unified_api.py e19d1a0975 部分修复了Event loop的错误,简化提示词, hace 10 meses

README.md

Vanna-Chainlit-Chromadb 项目

项目结构

该项目主要组织结构如下:

  • core/: 核心组件目录
    • embedding_function.py: 嵌入函数实现
    • vanna_llm_factory.py: Vanna实例工厂
  • common/: 通用工具和辅助函数
  • customembedding/: 自定义嵌入模型实现
  • customllm/: 自定义语言模型实现
  • custompgvector/: PgVector数据库集成
  • docs/: 项目文档
  • public/: 公共资源文件
  • training/: 训练工具和数据
  • app_config.py: 应用配置
  • chainlit_app.py: Chainlit应用入口
  • flask_app.py: Flask应用入口

训练数据与Function的对应关系

文件格式/扩展名 对应处理函数 用途说明
.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

当前的代码实现完全符合您的两个要求,逻辑正确且健壮!