新特性

1. DB-GPT Webserver 默认端口修改为**5670**

为了避免mac系统中5000端口的冲突,我们决定将DB-GPT Webserver默认端口修改为5670。

你可以通过设置环境变量 DBGPT_WEBSERVER_PORT={your_port} 或命令行参数 --port {your_port}来配置端口。

注意:为了避免可能的冲突,我们已弃用原来的环境变量 WEB_SERVER_PORT 并使用新的环境变量 DBGPT_WEBSERVER_PORT 来配置端口。

  1. 发布 agent SDK
  1. pip install "dbgpt[agent]>=0.5.4rc0" -U
  2. pip install openai

开发指南:https://docs.dbgpt.site/docs/latest/agents/custom_agents

  1. RAG 检索支持元数据属性过滤

构建知识的时候可以给文档,表进行元数据属性打标,向量检索的时候支持根据元数据属性过滤掉不相关的数据,提升召回效率。

  1. metadata_filter = MetadataFilter(key="Header2", value="AWEL Design")
  2. filters = MetadataFilters(filters=[metadata_filter])
  3. chunks = await retriever.aretrieve_with_scores(
  4. "what is awel talk about", 0.0, filters
  5. )

示例:examples/rag/metadata_filter_example.py

  1. 优化dashboard UI,新增 sql highlight

v0.5.4 版本更新 - 图1

  1. 给agent模块增加Trace
  1. dbgpt trace list --span_type agent
  1. 支持 moonshot 模型服务
  2. torch 版本升级到 2.2.1
  3. 支持 HTTP sender
  4. 支持 Qwen1.5-32B
  5. 支持 Starling-LM-7B-beta

🐞 Bug 修复

1.Fix Code standards

2.Fix 修复app依赖资源参数问题

3.Fix the problem of resource duplication and solve the problem of slow recall of table structure (#1381)

4.修复Dashboard editor run问题

5.修复默认安装问题

6.修复Milvus版本知识空间删除问题

🛠️其他更新说明

  1. readme 内容更新

官方文档地址

:::color2 英文

:::

Overview | DB-GPT

:::color2 中文

:::

概览

致谢

感谢所有贡献者使这次发布成为可能! @Aries-ckt, @evanchenhi, @fangyinc, @fanzhidongyzby, @jsRuner, @lcxadml, @majianguang, @xiuzhu9527 and @yyhhyyyyyy

附录