Commit Graph

3207 Commits

Author SHA1 Message Date
alanchen
e7c8c3e1b1
docs: update readme (#2760) 2025-06-10 16:07:51 +08:00
Emmanuel Ferdman
569770e47d
fix: correct argument limit error (#2758)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-06-10 15:08:17 +08:00
Fangyin Cheng
326d6a4248
feat(model): Support MiniCPM4-8B (#2754) 2025-06-09 16:23:10 +08:00
alanchen
4afa2b84b9
chore: Update dependency reference path (#2745) 2025-06-03 11:31:19 +08:00
Fangyin Cheng
0188d2367b
feat(model): Support Qwen2.5 VL models (#2743) 2025-05-30 23:43:22 +08:00
Eric Wong
e04b0f9c19
feat(web): Enhance dashboard visualization and table-chart formatting (#2731) 2025-05-28 17:36:21 +08:00
Cooper
bf21ae36f3
Fix agent retriever resource (#2719)
Co-authored-by: dong <dongzhancai@iie2.com>
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
2025-05-28 14:28:37 +08:00
Eric Wong
761c75a2c3
fix(prompt): Initialize prompt templates to ensure all templates are load (#2729) 2025-05-26 18:52:52 +08:00
Aries-ckt
7e9885574a
feat(ChatKnowledge):add hybrid search for knowledge space. (#2722) 2025-05-23 18:54:22 +08:00
Eric Wong
a10535d944
feat(api): Add chat_dashboard support to V2 API (#2726) 2025-05-23 18:52:40 +08:00
alanchen
320228ae37
fix: fix unit test and some code typos (#2717) 2025-05-23 17:47:00 +08:00
alanchen
fe98239d3d
fix(scene): fix chat scene config custom prompt (#2725) 2025-05-23 17:05:56 +08:00
Fangyin Cheng
22daf08ac5
chore(docs): Update ding group (#2724) 2025-05-23 17:02:28 +08:00
alanchen
e8291dc4d5
chore(core): Remove python-dotenv (#2721)
# Description

Closes #2714

# 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-05-23 15:17:04 +08:00
Fangyin Cheng
946c4aa8f9 chore(core): Remove python-dotenv 2025-05-23 11:21:12 +08:00
alanchen
3dd53e8ffb
feat(web): Dashboard supports Pie Chart visualization (#2709)
# Description

Implement Pie Chart visualization support in dashboard components.

This PR adds pie chart visualization capability to the dashboard,
allowing users to:
- Render pie charts in the chat_dashboard mode
- Preview pie charts in the chat_dashboard editor mode

## Implementation Details

- Added new file: `web/components/chart/pie-chart.tsx` that implements
pie chart rendering logic using G2
- Modified `web/components/chart/index.tsx` to integrate the pie chart
component into the dashboard chart rendering flow
- Added animation effects, hover interactions, and improved legend
display
- Fixed interaction bugs to ensure smooth visualization

# How Has This Been Tested?

Testing procedure included:
1. Creating datasets with category-based data suitable for pie charts
2. Verifying pie chart visualization in chat_dashboard mode
3. Confirming preview functionality works correctly in the editor mode
4. Testing interactions: hover effects, animations, and legend display

All tests confirm the feature works as expected with proper
visualization of categorical data proportions.

# Snapshots:

![image](https://github.com/user-attachments/assets/575e3306-62e8-4c91-ae7f-928770534b95)

![image](https://github.com/user-attachments/assets/efc6bdec-5e1f-4172-9b08-10fb8e439c68)



# 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

Fixes #2708
2025-05-22 17:38:15 +08:00
geebytes
cbc28ea335
Bugfix(RAG):handle exceptions in aload_document_with_limit results (#2712) 2025-05-22 17:00:03 +08:00
Fangyin Cheng
f79f81ccc3
feat(flow): Add Chat Data template (#2716) 2025-05-22 15:52:24 +08:00
WangzJi
3a423aa14e chore(static): Build web static files for pie chart improvements #2708 2025-05-21 00:23:02 +08:00
WangzJi
637df4ef56 feat(web): ChartDashboard pie chart interaction and display #2708 2025-05-21 00:21:33 +08:00
alanchen
7e7581e891
chore: upgrade pandas version (#2705) 2025-05-20 19:24:27 +08:00
alanchen
c655f55ab4
docs(datasource): integration oracle doc (#2701)
# Description

Add Oracle datasource documentation examples and update duplicate
command of start webserver

# How Has This Been Tested?


# Snapshots:

Include snapshots for easier review.

# Checklist:

- [ ] 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-05-16 19:01:23 +08:00
alanchen
11c2ec1fc5
fix: Fix typo (#2696)
# Description

修复提示词模板错别字
2025-05-15 18:54:01 +08:00
z.h.z
38174c03c8 Merge remote-tracking branch 'upstream/main' into fix-修复提示词模板错别字 2025-05-15 16:42:11 +08:00
Eric Wong
d2429eeff4
fix: resolve KeyError: 'question' in chat_dashboard prompt template (#2695)
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
2025-05-15 16:41:38 +08:00
z.h.z
0b6d4cb545 fix: 修改提示词模板错别字“种”->“中” 2025-05-15 16:30:05 +08:00
Emmanuel Ferdman
d300a4d412
Resolve warnings of logger library (#2681)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-05-15 15:55:16 +08:00
alanchen
6a82d9122b
feat(web): chat message auto scroll (#2682) 2025-05-15 15:53:51 +08:00
cumbersun
105a5ada49
fix: issue 2685 (#2686)
Co-authored-by: cumbermiao <cumbermiao@163.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-15 15:53:12 +08:00
Fangyin Cheng
6937b970e5
feat(model): Support llama.cpp for GLM4-z1 (#2690) 2025-05-14 10:49:53 +08:00
alanchen
d83704d233
fix(VectorStore): fix task concurrency and batch processing issue (#2671)
- Refactor task execution to improve concurrency control
- Implement batch processing for vector deletion in Chroma store

# Description

1 ,When chunk a knowledge base file, if there are too many chunks ,
using asyncio.gather(*tasks) will cause the CPU to freeze
2 , When using the Chroma vector database, if the one-time deletion of
embedding documents ids exceeds 5461, it will fail

![0e64098babaa448ec139933fecf5776](https://github.com/user-attachments/assets/f9fa81c1-2914-44e6-8d31-a16d7717c6b3)


# How Has This Been Tested?

# Snapshots:

![ff0ca0d2b35be11dd19aa1983a196ba](https://github.com/user-attachments/assets/4db4202e-5c71-4c97-b075-465ea5419657)

![c8821b068b0c8b73757700d2ecaa23a](https://github.com/user-attachments/assets/b6bc28d0-9406-4b6b-92cf-6a9765288fd2)

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
- [ ] 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-05-12 16:25:06 +08:00
Fangyin Cheng
4f39850ac1
feat(model): Add patch for Qwen3 moe (#2676) 2025-05-12 14:44:25 +08:00
Tam
3a65e1b65f
fix(VectorStore) fix MilvusStore to use serialize function for metadata json encoding (#2672)
Co-authored-by: tam <tanwe@fulan.com.cn>
2025-05-10 13:10:26 +08:00
Aries-ckt
421004a1d8
feat(RAG):add tree retriever based on document directory level (#2669) 2025-05-10 13:02:26 +08:00
tam
fc6c9071ff format code 2025-05-06 23:47:06 +08:00
tam
4eb06299e8 fix(VectorStore): fix task concurrency and batch processing
- Refactor task execution to improve concurrency control
- Implement batch processing for vector deletion in Chroma store
2025-05-06 23:23:40 +08:00
Fangyin Cheng
3a00aca113
feat(agent): Optimize agent memory (#2665) 2025-04-30 09:49:17 +08:00
Tam
b901cbc9a6
feat(agent): The SQL execution result of the DataScientist can be passed to the next agent (#2654)
Co-authored-by: tam <tanwe@fulan.com.cn>
2025-04-29 19:28:09 +08:00
Fangyin Cheng
2abd68d6c0
feat(model): Support Qwen3 models (#2664) 2025-04-29 09:55:28 +08:00
Gecko Security
bcb43266cf
[BUG] SQL Injection through CVE Bypass in DB-GPT 0.7.0 (CVE-2024-10835 & CVE-2024-10901) (#2650)
Co-authored-by: nkoorty <amalyshau2002@gmail.com>
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
2025-04-28 13:54:41 +08:00
Gecko Security
b16c6793ec
[BUG] RCE Vulnerability in DB-GPT Plugin Upload System (#2649)
Co-authored-by: nkoorty <amalyshau2002@gmail.com>
2025-04-28 13:53:42 +08:00
paxionfruit
445076b433
feat: add model provider InfiniAI (#2653)
Co-authored-by: yaozhuyu <yaozhuyu@infini-ai.com>
2025-04-27 16:22:31 +08:00
luowenwu
1b77ed6319
feat(datasource):add oracle datasource (#2629)
Co-authored-by: luobin <luobin@wondersgroup.com>
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
2025-04-27 16:21:11 +08:00
seoibiubiu
430235bd1b
Fix Clickhouse SQL syntax error for RdbmsSummary (#2651) 2025-04-24 22:44:46 +08:00
Cooper
0b3ac35ede
fix(model): fix remote reranker api & fix long_term memory (#2648)
Co-authored-by: dong <dongzhancai@iie2.com>
2025-04-24 11:17:20 +08:00
magic.chen
e78d5370ac
fix(agent): Fix long-term memory error (#2644)
# Description

Closes #2642
Closes #2637

# 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-04-23 13:49:55 +08:00
Fangyin Cheng
a059ef1412 fix(agent): Fix long-term memory error 2025-04-23 11:09:59 +08:00
Fangyin Cheng
3d7d52250f
feat(model): Proxy multimodal supports (#2641) 2025-04-21 19:36:29 +08:00
magic.chen
a6680610b9
fix(reranker) The rerank model is used during the knowledge base recall for chat scenarios and recall test scenarios (#2638)
fix https://github.com/eosphoros-ai/DB-GPT/issues/2636 

# Description

Currently, the reranker model is not used for knowledge base recalls, In
the recall test function, the CFG.RERANK_MODEL is always none
In chat scenarios, knowledge base recalls are also not rerankered


# How Has This Been Tested?


![image](https://github.com/user-attachments/assets/179a6371-98bb-441e-9c13-1215bfd73374)

![image](https://github.com/user-attachments/assets/572f4c25-0a2b-4bcf-a11c-28c146a290b1)


# 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-04-21 11:13:03 +08:00
tam
32b1fd4c1e feat(knowledge): add reranking functionality for simple_assistant_agent and summary_assis_agent
- Implement reranking of retrieved chunks when needed
- Improve relevance of search results by ranking chunks based on query
2025-04-21 09:58:01 +08:00