✨新特性
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
来配置端口。
- 发布 agent SDK
pip install "dbgpt[agent]>=0.5.4rc0" -U
pip install openai
开发指南:https://docs.dbgpt.site/docs/latest/agents/custom_agents
- RAG 检索支持元数据属性过滤
构建知识的时候可以给文档,表进行元数据属性打标,向量检索的时候支持根据元数据属性过滤掉不相关的数据,提升召回效率。
metadata_filter = MetadataFilter(key="Header2", value="AWEL Design")
filters = MetadataFilters(filters=[metadata_filter])
chunks = await retriever.aretrieve_with_scores(
"what is awel talk about", 0.0, filters
)
示例:examples/rag/metadata_filter_example.py
- 优化dashboard UI,新增 sql highlight
- 给agent模块增加Trace
dbgpt trace list --span_type agent
- 支持 moonshot 模型服务
- torch 版本升级到 2.2.1
- 支持 HTTP sender
- 支持 Qwen1.5-32B
- 支持 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版本知识空间删除问题
🛠️其他更新说明
- readme 内容更新
✨官方文档地址
:::color2 英文
:::
:::color2 中文
:::