Commit Graph

3103 Commits

Author SHA1 Message Date
Fangyin Cheng
856ad8f8a6 ci(pypi): publish to pypi 2025-03-20 15:01:46 +08:00
Fangyin Cheng
da8559d98e ci(pypi): Fix ci error 2025-03-20 14:55:32 +08:00
Fangyin Cheng
21436ae65b ci(pypi): Fix ci error 2025-03-20 14:53:17 +08:00
Fangyin Cheng
33d8058d4a ci(pypi): Build SDK 2025-03-20 14:47:28 +08:00
Fangyin Cheng
69933e635d build(pypi): Support pypi build 2025-03-20 12:22:45 +08:00
Fangyin Cheng
2472bedfba fix(docs): Fix quickstart link error 2025-03-20 07:37:14 +08:00
Fangyin Cheng
bea7c4b329 fix(docs): Fix doc error links 2025-03-20 07:33:00 +08:00
Aries-ckt
4af28e40d8
chore(build):add vscode devcontainer config (#2466)
# Description

**Compatible with Linux and Windows Subsystem for Linux (WSL)
environments only.**

- Add VS Code devcontainer development environment configuration

- Use VS Code's ​**Dev Container** extension to build a containerized
development environment. Leverage the `eosphorosai/dbgpt:latest` image
as the development environment to avoid repeated dependency
installations and improve development efficiency.

- Follow the guide [Developing inside a
Container](https://code.visualstudio.com/docs/devcontainers/containers)
to set up the Dev Container:
  - Install the ​**Dev Containers** extension.  
- Use the shortcut `Ctrl+Shift+P` to open the command palette, then
enter `Dev Containers: Open Folder in Container`.
 
- Set git ssh
[sharing-git-credentials](https://code.visualstudio.com/remote/advancedcontainers/sharing-git-credentials)
 
- Before the first launch, please execute the .devcontainer/init_env.sh
script in the project root directory in **host**.

# 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-19 22:58:09 +08:00
magic.chen
3fa7bee289
fix:issue2484 (#2488)
Close #issue2484
# Description
Fix  Chroma Collection name rules
"(1) contains 3-63 characters, "
"(2) starts and ends with an alphanumeric character, "
"(3) otherwise contains only alphanumeric characters, underscores or
hyphens (-), "
"(4) contains no two consecutive periods (..) and "
"(5) is not a valid IPv4 address, "
# How Has This Been Tested?

# Snapshots:

create knowledge name rule as below.
"(1) contains 3-63 characters, "
"(2) starts and ends with an alphanumeric character, "
"(3) otherwise contains only alphanumeric characters, underscores or
hyphens (-), "
"(4) contains no two consecutive periods (..) and "
"(5) is not a valid IPv4 address, "

# Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have already rebased the commits and make the commit message
conform to the project standard.
- [ ] 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-19 21:11:17 +08:00
aries_ckt
2d489bfe45 fix:issue2484 2025-03-19 15:46:40 +08:00
magic.chen
0e9faf475f
fix:issue2484 (#2485)
Close #2484 
# Description
fix issue 2484

# How Has This Been Tested?
create knowledge space with Chinese

# Snapshots:

Include snapshots for easier review.

# Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have already rebased the commits and make the commit message
conform to the project standard.
- [ ] 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-19 02:42:35 -03:00
magic.chen
df045c2940
feat(core): Support model icon & i18n (#2486)
# Description

1. Support model icons
2. Automatically generated configuration documentations
3. Automatically translated internationalized documents in multiple
languages

# 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-19 02:41:19 -03:00
Fangyin Cheng
4489f74e8d feat(model): Support model icon 2025-03-19 11:51:50 +08:00
aries_ckt
43763945a8 fix:issue2484 2025-03-18 18:58:43 +08:00
Tam
88bbd695d0
fix(LLM extractor): handle empty response in LLM extractor (#2480)
Co-authored-by: tam <tanwe@fulan.com.cn>
2025-03-18 11:53:41 +08:00
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
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