Skip to content

Releases: netease-youdao/QAnything

v2.0.0

30 Aug 09:26
Compare
Choose a tag to compare

🎉🎉🎉QAnything v2.0.0 发布!

全新发布v2.0.0

新特性

合并Docker与Python版-qanything-v2分支

  • 前端大更新:支持更新信息展示,全部问答及解析参数配置,解析结果预览及编辑
    • 信息展示包括:上传文件进度,解析各阶段耗时,失败原因,问答各阶段耗时,问答日志,数据统计等等
  • 解析效果提升:xlsx,pdf,docx,html等均有优化,详见新旧解析效果对比
  • 检索效果提升:metadata信息嵌入,chunks切片逻辑优化,检索结果自动融合并排序
  • 支持快速开始模式:类似kimi,文件即传即问,支持无文件问答
  • 支持仅检索模式:仅返回检索结果,不调用大模型
  • 上传文件逻辑优化,解析文件与问答请求独立处理
  • Bot指令遵循能力优化
  • 支持多对话窗口
  • 启动方式优化,不再依赖脚本,改为docker compose命令行启动
  • Docker镜像大小优化,mac下仅有4GB,linux/windows下9GB
  • windows可直接启动,不再依赖WSL

新贡献者

v1.4.2

15 Aug 03:02
45a624b
Compare
Choose a tag to compare

🎉🎉🎉QAnything v1.4.2 发布!

全新发布v1.4.2

新特性

Python版本-qanything-python分支

  • 添加更便捷的启动方法(需提供openai,ollama等LLM服务的api-key),只需要一行代码就可以自动配置conda虚拟环境并启动项目,(WIN(WSL)、Mac、LInux下所有启动脚本合并为两个:run_for_CPU.sh/run_for_GPU.sh,支持python2环境)
  • 优化控制台日志输出,可以在终端输出更详细的日志
  • 将一部分常用参数的值调整至根目录配置文件(config.py)下统一管理,增加更多可自定义的参数
  • 将pdf格式转markdown格式的模块独立为子模块,在执行pip install -e .命令后可以在本地独立使用
  • 修复联网检索模块在检索到的数据内容过长时会导致本地知识库内容无法正常获取的问题
  • 优化联网检索的文档分割效果,并优化上传失败文档的错误信息展示。
  • 修复了表格解析报错,rerank重复执行,opencv安装失败,rerank执行出错,单次前端问答多次调用后端问答接口等一系列bug。

新贡献者

v1.4.1

20 May 03:27
e0181b7
Compare
Choose a tag to compare

🎉🎉🎉QAnything v1.4.1 发布!

全新发布v1.4.1

新特性

Docker版本-master分支

  • 支持其他与OpenAI-API兼容的大模型服务,包含ollama,通义千问DashScope等
  • 支持多卡推理
  • 修复使用OpenAI-API时提示找不到whl文件的问题

Python版本-qanything-python分支

  • 支持其他与OpenAI-API兼容的大模型服务,包含ollama,通义千问DashScope等
  • PDF文件解析效果优化(包含表格效果)
  • 修复部分Linux系统(比如centos7)glibc版本过低时无法启动的问题(onnxruntime-gpu[cuda12.x]自动切换为onnxruntime)
  • 修复Mac下embedding和rerank速度异常慢的问题
  • 修复部分问答无数据来源的问题
  • 前端支持联网检索结果直接点击跳转
  • 优化OCR,速度和效果提升;且首次启动时无需下载ocr模型,启动时间优化至60秒内
  • 支持无显卡Linux机器启动纯CPU版,优化使用cpu模式或OpenAI-API接口调用大模型时的资源占用

新贡献者

v1.4.0-python

26 Apr 08:49
0b0b51b
Compare
Choose a tag to compare

🎉🎉🎉QAnything v1.4.0-python 发布!

全新发布qanything-python分支作为v1.4.0-python

新特性

  • 支持联网搜索
  • 支持FAQ问答
  • 支持自定义Bot
  • 支持语音文件
  • 支持文件溯源预览
  • 支持问答日志检索
  • 支持国产OS(OpenCloudOS)

变更内容
@cunhanfeng#259 增加了语音文件支持
@dliting#209 更新了 README_zh.md
@xixihahaliu#244 修复了已知问题
@xixihahaliu#264 开发了 v1.3.1 版本
@successren#297 开发了 v1.3.1 版本
新贡献者
@cunhanfeng#259 进行了首次贡献
@dliting#209 进行了首次贡献
完整更新日志: https://github.com/netease-youdao/QAnything/compare/v1.3.3…v1.4.0-python

🎉🎉🎉QAnything v1.4.0-python released!

New release of qanything-python branch for v1.4.0-python

What's New

  • Support web search
  • Support FAQ Q&A
  • Support custom bot
  • Support audio files
  • Support file traceability preview
  • Support Q&A log retrieval
  • Support Chinese domestic OS (OpenCloudOS)

What's Changed

New Contributors

  • @cunhanfeng made their first contribution in #259
  • @dliting made their first contribution in #209

Full Changelog: v1.3.3...v1.4.0-python

v1.3.3

09 Apr 10:12
da7c5f4
Compare
Choose a tag to compare

🎉🎉🎉QAnything v1.3.3 发布!

新特性

  • 解决跨域问题,加载前端静态资源即可访问页面,启动更快
  • 解决ES权限问题
  • mysql连接数增大到32
  • 不再限制N卡型号,废弃显卡型号查表,使用pycuda查询显卡算力
  • 读取excel文件中所有sheet
  • 文档更新
  • 其他bug修复

变更内容

新贡献者

Full Changelog: v1.3.0...v1.3.3

🎉🎉🎉QAnything v1.3.3 released!

What's New

  • resolve cross-origin issues, load frontend static resources to access the page without the need to start the frontend service, resulting in faster startup.
  • Address ES (Elasticsearch) permission problems.
  • Increase the MySQL connection pool size to 32.
  • Remove restrictions on Nvidia GPU types, abandon the use of a lookup table for GPU types, and use PyCuda to query GPU computing power.
  • Read all sheets in the Excel file
  • Document update
  • Other bug fixes

What's Changed

New Contributors

Full Changelog: v1.3.0...v1.3.3

v1.3.0

03 Apr 12:59
Compare
Choose a tag to compare

🎉🎉🎉QAnything v1.3.0 发布!

新特性

  1. 支持在纯Python环境中安装,可以在MAC上运行,也可以在纯CPU机器上运行。详见:纯Python环境安装教程
  2. 支持混合检索(BM25+Embedding)。
  3. 当系统命令缺失时,下载提示更清晰。
  4. 自动检测显卡的计算能力和内存大小,并根据情况自动调整默认启动参数,以提供用户最佳体验,并给予相关提示。
  5. 更新前置条件,最低支持 GTX1050Ti,支持更多显卡型号。
  6. 提示用户代码仓库是否为最新,仅适用于主分支。
  7. 优化启动流程,自动查询相关日志并在前端显示错误消息,避免连续输出 'waiting for coffee'。
  8. 在前端添加英文版本。
  9. 修复已知的错误,优化用户体验。(在 Milvus 插入失败时,请记得删除根目录下的 "volumes" 文件夹。)

变更内容

  • 修复启动脚本已知问题。由 @xixihahaliu 提交于 #92
  • 修复已知问题,优化用户体验。由 @xixihahaliu 提交于 #102
  • Milvus增加用户名、密码、数据库名支持。由 @cklogic 提交于 #97
  • feat_#114: 为 NVIDIA GeForce RTX 4090D 添加 GPU 兼容性检查。由 @johnymoo 提交于 #115
  • 修复:由 @pinkcxy 提交的轮次控制问题。#131
  • 问题修复:调用api/api/local_doc_qa/local_doc_chat返回数据为None。由 @leehom0123 提交于 #137
  • 优化解析 csv 和 xlsx 文件的逻辑。此外,现在支持离线运行 Docker 镜像。由 @xixihahaliu 提交于 #139
  • 混合搜索。由 @shenlei1020 提交于 #194

新贡献者
@pinkcxy#100 中首次贡献
@cklogic#97 中首次贡献
@johnymoo#115 中首次贡献
@leehom0123#137 中首次贡献
@shenlei1020#194 中首次贡献

完整变更记录:https://github.com/netease-youdao/QAnything/compare/v1.2.0…v1.3.0

🎉🎉🎉QAnything v1.3.0 released!

What's New

  1. Support installation in a pure Python environment, which can run on MAC or other CPU only machine. see: Pure Python Environment Installation Guid
  2. Support hybrid search(BM25+Embedding)
  3. When the system command is missing, the download prompt is clearer.
  4. Automatically detect the computing power and memory size of the graphics card, and automatically adjust the default startup parameters accordingly to provide users with the best experience, and give relevant prompts.
  5. Update Prerequisites, minimum support GTX1050Ti, support more graphics card models.
  6. Prompt the user whether the code repository is up to date, only for master branch.
  7. Optimize the startup process, automatically query relevant logs and display error messages on the front end to avoid continuous output of 'waiting for coffee'.
  8. Add English version to the front end
  9. Fix known bugs, optimize user experience.(Remember to delete the "volumes" folder under the root directory when milvus insertion fails.)

What's Changed

  • Fix known issues with the startup script. by @xixihahaliu in #92
  • Fix known issues, optimize user experience. by @xixihahaliu in #102
  • Develop for v1.2.1 by @pinkcxy in #100
  • Milvus增加用户名、密码、数据库名支持 by @cklogic in #97
  • feat_#114: Add gpu compatibility check for NVIDIA GeForce RTX 4090D by @johnymoo in #115
  • fix: Number of rounds control by @pinkcxy in #131
  • issue fix: Call api api/local_doc_qa/local_doc_chat return data:None by @leehom0123 in #137
  • Optimizing the parsing logic for csv and xlsx files. In addition, offline running of Docker images is now supported. by @xixihahaliu in #139
  • Hybrid search by @shenlei1020 in #194

New Contributors

Full Changelog: v1.2.0...v1.3.0

v1.2.0

30 Jan 09:12
400df87
Compare
Choose a tag to compare

🎉🎉🎉QAnything v1.2.0发布!

新特性

  • 支持自定义LLM:
    • 支持本地LLM和云LLM切换,云LLM支持openai chatgpt API。
    • 支持三种LLM推理运行后端,包括FasterTransformer(默认)、huggingface和vllm。
    • 通过FastChat Server API支持加载各种开源大语言模型。
    • 发布了微调后的千问7B的模型:https://huggingface.co/netease-youdao/Qwen-7B-QAnything
  • 修复两个安全漏洞:
    • 多个函数中的SQL注入漏洞,漏洞名称:SQL注入 - CWE-89
    • LocalFile类中的文件上传漏洞,漏洞名称:文件上传 - CWE-434
  • 适配更多显卡:
    • 在使用huggingface transformers作为LLM运行后端时,理论上支持Nvidia显卡的计算能力为6.0及以上。
  • 更加用户友好:
    • 将所有日志文件放在一个目录中,便于调试。
    • 添加了一些启动提示信息。
  • 其他更新

更新内容

新贡献者

完整变更记录: v1.1.1...v1.2.0

🎉🎉🎉QAnything v1.2.0 released!

What's New

  • Custom LLMs is supported:
    • Local LLMs and cloud LLMs switching is supported, cloud LLMs support openai chatgpt API.
    • Supports three LLM inference runtime backends, include FasterTransformer(default), huggingface and vllm.
    • Supports loading various public large language models via the FastChat Server API.
    • Our finetuned Qwen 7B model is released at https://huggingface.co/netease-youdao/Qwen-7B-QAnything
  • Fixed two security vulnerabilities:
    • SQL injection in multiple functions,Vulnerability name: SQL injection - CWE-89
    • File upload in LocalFile class, Vulnerability name: File upload - CWE-434
  • Adapted for more GPUs:
    • Theoretically supports Nvidia GPUs with a compute capability of 6.0 and above when using huggingface transformers as the LLM runtime backend.
  • More user-friendly :
    • Put all log files in one directory for easy debugging.
    • Add some startup prompt messages.
    • The front-end page will return results in a streaming manner.
  • Other updates

What's Changed

  • Support public LLMs and OpenAI API as a LLM service in QAnything. by @songkq in #78
  • Provide a detailed usage of QAnything Startup Command and LLM interface. by @songkq in #78
  • Fix security vulnerabilities of SQL injection and file name injection. by @xixihahaliu in #76
  • Optimize log information display for easier debugging. by @xixihahaliu in #76
  • Add some startup prompt messages. by @xixihahaliu in #77
  • fix: display upload failure when upload fails by @dongfeng3692 in #72
  • Update request max size code annotation by @dongfeng3692 in #71
  • fix: running with git bash under windows by @yorelog in #61
  • linux 1. Solve the problem that the npm installation is abnormal due to network failure 2. Fix the problem of slow swagger external network pulling by @01000100GT in #69

New Contributors

Full Changelog: v1.1.1...v1.2.0

v1.1.1

23 Jan 10:10
65d84c6
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.0...v1.1.1

v1.1.0

18 Jan 14:08
Compare
Choose a tag to compare

🎉🎉🎉QAnything v1.1.0发布!

新特性

  • 优化启动流程以支持一键初始化:执行 "bash run.sh" 即可启动。
  • 增强安装过程的交互性,提供更友好的用户提示。
  • 提高显存利用率以支持多GPU部署,目前支持单卡或双卡部署,双卡设置的显存使用量分别为 *11GB 和 5GB。
  • 将矢量库的体积减少到原来的三分之一。
  • 优化xlsx和html文件的分块处理,防止因块过大而导致解析失败。
  • 当知识库仅包含单个文档时,提高回答的有效性。
  • 提高PDF解析的有效性和速度。
  • 提供原始未修改的DockerFile。

变更内容

新贡献者

完整变更日志https://github.com/netease-youdao/QAnything/commits/v1.1.0

🎉🎉🎉QAnything v1.1.0 released!

Features

  • Optimize the startup process to support one-click initialization: execute "bash run.sh" to start.
  • Enhance the interactivity of the installation process, providing more user-friendly prompts.
  • Improve VRAM utilization to support multi-GPU deployment, currently supporting single or dual card deployment with VRAM usage of * 11GB and 5GB for dual-card setups, respectively.
  • Reduce the footprint of the vector library to one third of its original size.
  • Optimize chunking of xlsx and html files to prevent parsing failure caused by oversized chunks.
  • Enhance the effectiveness of answering when the knowledge base contains only a single document.
  • Improve PDF parsing effectiveness and speed.
  • Provide the original unmodified DockerFile.

What's Changed

New Contributors

Full Changelog: https://github.com/netease-youdao/QAnything/commits/v1.1.0