Commit Graph

3139 Commits

Author SHA1 Message Date
geebytes
599ebff278 feat(dev):add init env script 2025-03-17 15:24:37 +00:00
geebytes
69b71a8cac feat:get user info by get_env.sh
chore(build):Optimize the zsh setup

fix(dev):Load .env on demand

fix(dev):install oh-my-zsh from mirror
2025-03-17 12:51:20 +00:00
QIN CHONG
463d27b78f
Update milvus_store.py
line 564: param = self.index_params_map[index_type].get("params")
2025-03-17 20:49:02 +08:00
Aries-ckt
f209b4c643
feat(core): OSS&S3 Supports (#2477)
# Description

1. Support OSS and S3 storage backend
2. Add specific configurations for each application
3. Native applications support memory configuration based on window size
for conversation turns and token count
4. Web pages support rendering of LaTeX mathematical formulas
5. DuckDB supports installing plugins from custom local plugin paths
(for offline environments)
6. Fixed Chroma configuration error

Closes #2475
Closes #2468
Closes #2451
Closes #2416

# How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration

# Snapshots:

Include snapshots for easier review.

# Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have already rebased the commits and make the commit message
conform to the project standard.
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] Any dependent changes have been merged and published in downstream
modules
2025-03-17 16:54:59 +08:00
Fangyin Cheng
c460b2193f chore: Update uv.lock 2025-03-17 16:37:01 +08:00
Fangyin Cheng
285c5e5d59 chore: Add app config example 2025-03-17 16:22:27 +08:00
Fangyin Cheng
82392dc4eb fix: Fix chroma check exists bug 2025-03-17 15:57:46 +08:00
Fangyin Cheng
9f2e747698 fix: Fix retrieve error 2025-03-17 15:38:31 +08:00
Fangyin Cheng
b2dd66dc6d feat(storage): Support oss and s3 2025-03-17 15:38:31 +08:00
Fangyin Cheng
8eba2a3b2e feat(web): Support math Latex 2025-03-17 15:38:31 +08:00
Fangyin Cheng
dbfa2c7c48 chore: Merge main codes 2025-03-17 15:38:30 +08:00
Aries-ckt
0d48f37ed9
deps(tongyi): fix tongyi dependencies and add tongyi proxy config (#2467)
# Description

deps(tongyi): fix tongyi dependencies and add tongyi proxy config

# How Has This Been Tested?

```bash
uv sync --all-packages --frozen --extra "base" --extra "proxy_tongyi" --extra "rag" --extra "storage_chromadb" --extra "dbgpts"
```

```bash
uv run python packages/dbgpt-app/src/dbgpt_app/dbgpt_server.py --config .\configs\dbgpt-proxy-tongyi.toml
```
2025-03-17 15:17:12 +08:00
yyhhyyyyyy
9a82a4222b fix:no change for uv.lock 2025-03-17 14:56:23 +08:00
yyhhyyyyyy
2ea3521114 fix:add tongyi api key config 2025-03-17 14:52:32 +08:00
Aries-ckt
fc3fe6b725
refactor: rag storage refactor (#2434) 2025-03-17 14:15:21 +08:00
yyhhyyyyyy
6b8e4b539c fix: update API provider from proxy/openai to proxy/tongyi in configuration file 2025-03-17 08:50:42 +08:00
Tam
34d86d693c
fix(knowledge recall test): Add system_app parameter to knowledgeSpaceRetriever initialization (#2472)
Co-authored-by: tam <tanwe@fulan.com.cn>
2025-03-15 22:02:32 +08:00
Aries-ckt
d6eb283e41
fix(chat-excel):Explicitly create data tables from the df (#2437) (#2464)
# Description

 fix:#2437 

Optimize the prompts for reconstructing data tables to ensure that the
output field names comply with SQL standards, avoiding field names that
start with numbers.

# How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration

# Snapshots:

Include snapshots for easier review.

# Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have already rebased the commits and make the commit message
conform to the project standard.
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] Any dependent changes have been merged and published in downstream
modules
2025-03-14 20:48:00 +08:00
yyhhyyyyyy
f9c00bae17 deps: use Tsinghua mirror by default 2025-03-14 17:07:19 +08:00
yyhhyyyyyy
9483cba353 deps(tongyi): fix tongyi dependencies and add tongyi proxy config 2025-03-14 16:59:50 +08:00
yyhhyyyyyy
b25f6920d1 deps(tongyi): fix tongyi dependencies and add tongyi proxy config 2025-03-14 16:48:29 +08:00
Tam
6a79c8c622
fix (vector store) Database refresh error, vector collection deduplication consistency issue (#2465)
Co-authored-by: tam <tanwe@fulan.com.cn>
2025-03-14 14:43:44 +08:00
geebytes
9e9308beaa feat(build):add vscode devcontainer config 2025-03-14 05:59:12 +00:00
geebytes
9bcc8e2f72 Merge branch 'bugfix/fix-chat-excel-db-init' into develop 2025-03-14 05:12:45 +00:00
geebytes
a1c9a16868 fix(chat-excel):Explicitly create data tables from the df (#2437) 2025-03-14 03:48:18 +00:00
magic.chen
11c544ef5d
feat(awel): Support simple templates (#2463)
# Description

- feat(awel): Support simple templates
- Support dynamic input configuration

# How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration

# Snapshots:

Include snapshots for easier review.

# Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have already rebased the commits and make the commit message
conform to the project standard.
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] Any dependent changes have been merged and published in downstream
modules
2025-03-13 23:51:17 -03:00
Fangyin Cheng
8ccd4090b9 feat(awel): Support simple templates 2025-03-14 10:44:50 +08:00
Fangyin Cheng
676d8ec70f
fix(awel): Fix AWEL flow error (#2461) 2025-03-14 09:18:20 +08:00
北极
ccfce5d279
feat(dbgpt-serve): Agent fixes and parameter additions (#2457)
Co-authored-by: 刘家星 <liujiaxing@fulan.com.cn>
2025-03-13 14:43:34 +08:00
Aries-ckt
a115c57faa
fix(datasource): Correct the import path for StarRocks dialect (#2456)
# Description

fix https://github.com/eosphoros-ai/DB-GPT/issues/2453
Version 0.7.0 changes the code package structure, and the path to
register the database dialect changes and needs to be changed

# How Has This Been Tested?

make fmt
make mypy
make test

# Snapshots:


![image](https://github.com/user-attachments/assets/d9a39d48-8cb1-4fb7-bbd7-b703ed34f601)


# Checklist:

- [x ] My code follows the style guidelines of this project
- [x] I have already rebased the commits and make the commit message
conform to the project standard.
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] Any dependent changes have been merged and published in downstream
modules
2025-03-13 12:52:14 +08:00
tam
c68f627fe6 fix(datasource): Correct the import path for StarRocks dialect 2025-03-13 12:03:30 +08:00
magic.chen
130efe3790
fix(docker): Fix build arm image bug (#2446)
# Description

Fix build arm image bug

# How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration

# Snapshots:

Include snapshots for easier review.

# Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have already rebased the commits and make the commit message
conform to the project standard.
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] Any dependent changes have been merged and published in downstream
modules
2025-03-12 01:43:50 -03:00
Fangyin Cheng
361fde6697 fix(docker): Fix build arm image bug 2025-03-12 12:21:41 +08:00
utopia2077
dc5b1f79aa
fix: aembed_query type error (#2441) 2025-03-12 10:54:39 +08:00
Aries-ckt
150f33bd26
feat(build): Support docker install (#2442)
# Description

1. Support docker images build (CUDA and CPU)
2. Support docker and docker compose deploy

Closes #2429
Closes #2436

# How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration

# Snapshots:

Include snapshots for easier review.

# Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have already rebased the commits and make the commit message
conform to the project standard.
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] Any dependent changes have been merged and published in downstream
modules
2025-03-12 10:31:48 +08:00
Fangyin Cheng
1a2a8a6f43 fix(build): Fix build from source error 2025-03-12 10:26:37 +08:00
Fangyin Cheng
295d673396 chore: Upgrade lyric version 2025-03-12 10:24:22 +08:00
Fangyin Cheng
9c642b2f6c chore: Add lyric build env 2025-03-12 10:24:22 +08:00
Fangyin Cheng
e26d265017 chore: Simple build script 2025-03-12 10:24:22 +08:00
Fangyin Cheng
455cdd1612 feat(build): Support docker install 2025-03-12 10:24:22 +08:00
Fangyin Cheng
ee1ac0df8e
fix(chat): Fix chat completions API error (#2443) 2025-03-12 08:40:40 +08:00
Aries-ckt
528c0c88d5
workflow(ruff): add ruff code checks workflow (#2438)
fix pylint workflow
2025-03-11 18:25:29 +08:00
yyhhyyyyyy
60aa0356a2 workflow(ruff): add ruff code checks workflow 2025-03-11 17:32:13 +08:00
yyhhyyyyyy
37660eec41 workflow(pylint): fix pylint workflow 2025-03-11 17:15:40 +08:00
magic.chen
49ce86f2ce
fix issue2321:Provide an implementation of the truncate method (#2357)
# Description


构建社区摘要时(community_store.py中的build_communities方法),先清空向量存储,仅提供了ChromaStore对于实现truncate方法,未提供MilvusStore对于该方法的实现,当使用milvus作为向量数据库时会抛出错误“NotImplementedError”。提供一种实现方法,修复此问题。

# How Has This Been Tested?

使用milvus作为向量数据库,然后通过以下步骤:
1.构建一个知识图谱类型的知识库;
2.上传一个文件;
3.选择上传的文件,点击"同步"

# Snapshots:

Include snapshots for easier review.

# Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have already rebased the commits and make the commit message
conform to the project standard.
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] Any dependent changes have been merged and published in downstream
modules
2025-03-10 22:42:50 -03:00
aries_ckt
fe4c5ede90 Merge remote-tracking branch 'main-com/main' into issue2321 2025-03-10 23:29:52 +08:00
cinjoseph
e0af6fdc68
fix(agent): move app resource implement to serv pkg (#2310)
Co-authored-by: cinjospeh <joseph.cjn@alibaba-inc.com>
2025-03-10 17:02:58 +08:00
Fangyin Cheng
93eb3a786c
feat(ChatExcel): Better Chat Excel (#2423) 2025-03-10 11:37:32 +08:00
yyhhyy
75c1454938
docs: add ollama docs (#2419) 2025-03-09 20:36:33 +08:00
Aries-ckt
fdadfdd393
chore: fix unit test (#2421) 2025-03-09 20:35:38 +08:00