Açıklama Yok

wangxq 072f2d31ea 删除两个节点,统一graph视图,修改windows日志. 10 ay önce
.chainlit c74481dcb8 能正常运行,部分汉化,测试更换icon的过程中失败。 1 yıl önce
.claude 346d9bb862 重构了整个项目的log服务,测试时又发现了Event loop is closed错误,准备修复这个错误。 10 ay önce
.vscode 56ca6e03a9 增加了对问题向量化缓存到Redis的模块,缓存问题的向量值。 11 ay önce
agent 072f2d31ea 删除两个节点,统一graph视图,修改windows日志. 10 ay önce
common 52c3eb150b 规范化获取ask_react_agent对话历史记录的API,返回结果符合标准。 10 ay önce
config 072f2d31ea 删除两个节点,统一graph视图,修改windows日志. 10 ay önce
core 072f2d31ea 删除两个节点,统一graph视图,修改windows日志. 10 ay önce
customembedding 04e48d41f1 项目统一的日志管理重构完成. 11 ay önce
customllm 800b28075b 重载vannabase基类日志输出功能,修复生成的SQL as 英文的问题。 11 ay önce
custompgvector 54e550cafb 解决chat api进行非数据库查询时输出Based on general knowledge. 10 ay önce
data_pipeline 560632a932 把pgvector的pg_conn改为db_connection,准备发布到公司服务器. 10 ay önce
docs 560632a932 把pgvector的pg_conn改为db_connection,准备发布到公司服务器. 10 ay önce
output 3f74546e04 完成qa管理模块的开发,基本完成测试。 11 ay önce
public c74481dcb8 能正常运行,部分汉化,测试更换icon的过程中失败。 1 yıl önce
react_agent 1317e42918 修复 react_agent的config中redis配置的问题。 10 ay önce
test 85928bf5a2 完成对api获取聊天历史记录的这一组两个API的修改:/api/v0/react/users/wang11/conversations 10 ay önce
.gitignore 6243095d72 启用test目录的git跟踪:包含所有测试代码文件和Jupyter notebook 11 ay önce
CLAUDE.md 847e45252b 训练数据生成与加载模块重构完成. 11 ay önce
README.md f59483d06b 准备进行Agent改造. 11 ay önce
api_response_full.json 85928bf5a2 完成对api获取聊天历史记录的这一组两个API的修改:/api/v0/react/users/wang11/conversations 10 ay önce
api_response_no_tools.json 85928bf5a2 完成对api获取聊天历史记录的这一组两个API的修改:/api/v0/react/users/wang11/conversations 10 ay önce
api_response_with_tools.json 85928bf5a2 完成对api获取聊天历史记录的这一组两个API的修改:/api/v0/react/users/wang11/conversations 10 ay önce
api_usage_examples.md 1759e64281 发布到143的第二个版本 11 ay önce
app_config.py 1317e42918 修复 react_agent的config中redis配置的问题。 10 ay önce
asgi_app.py 44fca2b272 把react_agent从/test/目录下复制出来,创建统一的unified_api.py,把chat api 改为ask_react_api. 10 ay önce
chainlit.md c74481dcb8 能正常运行,部分汉化,测试更换icon的过程中失败。 1 yıl önce
chainlit_app.py ecb9b74349 修复了ollama/deepseek llm对stream和thinking的支持,正在修改ollama. 1 yıl önce
chainlit_zh-CN.md c74481dcb8 能正常运行,部分汉化,测试更换icon的过程中失败。 1 yıl önce
citu_app.py 9c50a68ead 为pgvector增加了备份和恢复功能的API,注意命令行方式没有做. 10 ay önce
flask_app.py ecb9b74349 修复了ollama/deepseek llm对stream和thinking的支持,正在修改ollama. 1 yıl önce
list.txt 1759e64281 发布到143的第二个版本 11 ay önce
package-lock.json 4dd770bd90 格式化chat api的结果,修复一些错误. 10 ay önce
package.json 4dd770bd90 格式化chat api的结果,修复一些错误. 10 ay önce
requirements.txt c793722717 修复返回状态问题,优化两个查询的API。 11 ay önce
test_redis_modules.py 1317e42918 修复 react_agent的config中redis配置的问题。 10 ay önce
test_vector_backup_only.py b5601c3dab 已经修复了data_pipeline API的问题,支持truncate_vector_tables和backup_vector_tables两个参数。 10 ay önce
unified_api.py 68988d52d4 修改unified_api.py,解决ask_agent返回结果中没有conversation_id的问题. 10 ay önce

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

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