Commit Graph

78 Commits

Author SHA1 Message Date
alanchen
26bb07f9d1
fix(web): escape document separator (#2870) 2025-08-01 17:47:29 +08:00
Fangyin Cheng
150e84ed18
fix(awel): Fix HO context key error (#2862) 2025-07-25 17:13:35 +08:00
alanchen
3a614c67bb
chore: update 0.7.3 version (#2860) 2025-07-25 11:21:15 +08:00
alanchen
bcb4eb3983
feat(RAG): support knowledgeSpace custom retrieve strategy (#2842) 2025-07-21 12:08:39 +08:00
Eric Wang
db2e94348f
fix(prompt): resolve KeyError and validation issues with custom prompt templates (#2848) 2025-07-17 16:10:19 +08:00
Eric Wang
83101f9096
fix(dashboard): improve JSON parsing robustness in output parser (#2850) 2025-07-17 16:09:45 +08:00
Fangyin Cheng
06de6ea08d
fix(core): Fix newline escape issue (#2854) 2025-07-16 19:49:34 +08:00
Eric Wang
3917f8c353
fix(web): resolve overlapping floating buttons in web (#2836) 2025-07-13 16:59:50 +08:00
Tam
0ecfeabd8e
feat(datasouce): Add GaussDB data source connector (#2813)
Co-authored-by: tanwei <tanwei@fulan.com.cn>
2025-07-09 22:50:22 +08:00
Eric Wang
3f60470388
fix(web): Fix auto-scroll issue in chat (#2797) 2025-07-09 19:08:09 +08:00
FreeWill
bf6f38906d
fix(api): fix v2 api error message (#2801) 2025-06-27 17:46:34 +08:00
Eric Wang
e797808efd
fix(web): prompt selection and prompt_code delivery for chat_dashboard (#2790) 2025-06-25 22:07:25 +08:00
geebytes
87ae219a79
feat(AWEL):Add operator for structured output data of datasource in AWEL (#2794) 2025-06-25 21:14:59 +08:00
alanchen
2ed145c3aa
fix(web): optimize chat message auto scroll (#2792) 2025-06-25 01:22:10 +08:00
alanchen
d5b8ab2e03
fix(web): fix checkBox for singleAgent mode (#2785) 2025-06-23 14:43:06 +08:00
geebytes
4cdbb22cb6
fix(core):Remove SQL comments before formatting the SQL (#2769) 2025-06-23 14:06:00 +08:00
Fangyin Cheng
d9d4d4b6bc
feat(model): Support MLX inference (#2781) 2025-06-19 09:30:58 +08:00
Aries-ckt
cc81e7af09
chore: tag v0.7.2 (#2771) 2025-06-13 17:24:12 +08:00
Eric Wong
e04b0f9c19
feat(web): Enhance dashboard visualization and table-chart formatting (#2731) 2025-05-28 17:36:21 +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
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
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
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
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
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
Fangyin Cheng
3d7d52250f
feat(model): Proxy multimodal supports (#2641) 2025-04-21 19:36:29 +08:00
tam
cc287702bc fix(reranker)In the recall test scenario, the reranking logic is updated based on the application configuration
The logic for determining whether to use reranking and setting the `top_k` value now depends on the `app_config` instead of directly using `CFG.RERANK_MODEL` and `CFG.RERANK_TOP_K`. This change ensures that the application's specific configuration settings are respected.
2025-04-19 15:20:10 +08:00
Fangyin Cheng
5e7f3568d3
feat(model): Multimodal supports (#2627) 2025-04-15 16:29:02 +08:00
ethan
61565f7369
fix: the issue is the app_code can't be stored in the chat_history… (#2606)
Co-authored-by: 9527 <9527@163.com>
2025-04-11 16:41:04 +08:00
Fangyin Cheng
5ddd9e5bf8
fix(model): Fix apiserver error (#2605) 2025-04-10 10:23:49 +08:00
alanchen
5dbfb24a86
Fix ChatWithDbQA param validate (#2569)
Co-authored-by: alan.cl <alan.cl@antgroup.com>
2025-04-03 09:49:48 +08:00
yyhhyy
0b6633703d
fix(web): Fix resource binding bug (#2572) 2025-04-02 20:19:44 +08:00
yyhhyy
9fce5cec3d
fix(web): Prevent dragging node when selecting text in parameter input fields (#2560) 2025-03-31 19:55:16 +08:00
Fangyin Cheng
3bfbdc3fc7
feat(agent): More general ReAct Agent (#2556) 2025-03-31 09:38:31 +08:00
magic.chen
c68332be4c
fix: some typos using typos (#2552)
# Description

Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.

This path fix some of typos using typos just an example

using tools https://github.com/crate-ci/typos

# 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:

- [ ] 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-29 16:39:46 +08:00
yihong0618
80eef20422 fix: some typos using typos
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-03-29 11:10:16 +08:00
cumbersun
b880082586
fix: issue 2549 (#2550)
Co-authored-by: cumbermiao <cumbermiao@163.com>
2025-03-29 11:05:43 +08:00
yihong
7c05bc1784
fix: clouse issue #2469 by fixing the type (#2533)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-03-28 05:46:44 +08:00
yihong
10619aaf96
fix: wrong name close #2530 (#2532)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-03-26 22:03:34 +08:00
Fangyin Cheng
99ce1ed992
feat(web): Support html/svg preview (#2518) 2025-03-25 11:41:18 +08:00
Fangyin Cheng
e4d91ff766 fix(core): Fix param cache error 2025-03-21 15:55:08 +08:00
明天
73052eda75
feat(agent): Supports MCP (#2497)
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
2025-03-21 12:00:21 +08:00
Fangyin Cheng
52e41bccc9
ci(SDK): Add 0.7.0 workflow (#2493) 2025-03-20 15:27:44 +08:00