Sin descripción

wangxq 246c3b61b0 修复./data_pipeline模块脚本执行时的问题,增加输出日志,修改output目录下也要创建task子目录。 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 1faefca376 修改了日志的配置,改为按照日期滚动。 hace 10 meses
common 52c3eb150b 规范化获取ask_react_agent对话历史记录的API,返回结果符合标准。 hace 10 meses
config 1faefca376 修改了日志的配置,改为按照日期滚动。 hace 10 meses
core 1faefca376 修改了日志的配置,改为按照日期滚动。 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 246c3b61b0 修复./data_pipeline模块脚本执行时的问题,增加输出日志,修改output目录下也要创建task子目录。 hace 10 meses
docs 246c3b61b0 修复./data_pipeline模块脚本执行时的问题,增加输出日志,修改output目录下也要创建task子目录。 hace 10 meses
output 3f74546e04 完成qa管理模块的开发,基本完成测试。 hace 11 meses
public c74481dcb8 能正常运行,部分汉化,测试更换icon的过程中失败。 hace 1 año
react_agent 52c3eb150b 规范化获取ask_react_agent对话历史记录的API,返回结果符合标准。 hace 10 meses
test 85928bf5a2 完成对api获取聊天历史记录的这一组两个API的修改:/api/v0/react/users/wang11/conversations 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_response_full.json 85928bf5a2 完成对api获取聊天历史记录的这一组两个API的修改:/api/v0/react/users/wang11/conversations hace 10 meses
api_response_no_tools.json 85928bf5a2 完成对api获取聊天历史记录的这一组两个API的修改:/api/v0/react/users/wang11/conversations hace 10 meses
api_response_with_tools.json 85928bf5a2 完成对api获取聊天历史记录的这一组两个API的修改:/api/v0/react/users/wang11/conversations hace 10 meses
api_usage_examples.md 1759e64281 发布到143的第二个版本 hace 11 meses
app_config.py 1faefca376 修改了日志的配置,改为按照日期滚动。 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
unified_api.py 69478355a5 修复了qa_feedback反馈API迁移后被简化的问题. 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

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