Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: (0.6)New UI #1855

Merged
merged 89 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from 76 commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
e9ce84c
feat: new web
Jul 31, 2024
48236ea
fix: 启动报错
Aug 2, 2024
a57c469
feat(web): add new ui web
yhjun1026 Aug 2, 2024
1c7e5be
feat(web): add new ui web
yhjun1026 Aug 2, 2024
d51b762
feat(app): new ui app module support
yhjun1026 Aug 6, 2024
5734f1c
fix: evaluation compute() add query parameter
Aries-ckt Aug 8, 2024
ed916ab
feat:evaluation add query parameter
Aries-ckt Aug 8, 2024
b5ff4cc
feat(app): new ui app module support
yhjun1026 Aug 8, 2024
98d85ec
Merge remote-tracking branch 'origin/feat/dev-0.6' into feat/dev-0.6
yhjun1026 Aug 8, 2024
f3403cf
feat(app): new ui app module support
yhjun1026 Aug 8, 2024
929d775
feat: Merge DB-GPT internal and external code
Aug 9, 2024
bf732eb
feat: Handle merge errors
Aug 12, 2024
b8a756f
feat(app): awel agent app support new ui
yhjun1026 Aug 12, 2024
2bc7e74
feat(app): awel agent app support new ui
yhjun1026 Aug 12, 2024
a3924d5
feat(app): new ui v1
yhjun1026 Aug 12, 2024
4735952
feat(db editor): db editor bug fix
yhjun1026 Aug 12, 2024
d3fd26b
feat: Workflow modification
Aug 12, 2024
02141ab
Merge branch 'feat/dev-0.6' of https://github.com/eosphoros-ai/DB-GPT…
yhjun1026 Aug 12, 2024
20db955
feat(db editor): db editor bug fix
yhjun1026 Aug 12, 2024
d3b0662
feat(db editor): db editor bug fix
yhjun1026 Aug 12, 2024
6501563
feat: edit chat_dashboard style logic
Aug 13, 2024
4121b49
feat: chat_dashboard reveal logic
Aug 13, 2024
e7dcfea
feat: app_code deficiency logic complete
Aug 13, 2024
680f2fa
feat(db editor): db editor bug fix
yhjun1026 Aug 13, 2024
b968f0f
Merge branch 'feat/dev-0.6' of https://github.com/eosphoros-ai/DB-GPT…
yhjun1026 Aug 13, 2024
e18fb83
feat: open chat_dashboard Header
Aug 13, 2024
b8a5fdc
Merge branch 'feat/dev-0.6' of https://github.com/eosphoros-ai/DB-GPT…
yhjun1026 Aug 13, 2024
c3337e4
feat: chat_dashboard editor style edit
Aug 13, 2024
ac37433
feat: The dialog list shows logical changes
Aug 13, 2024
4d880df
Merge branch 'feat/dev-0.6' of https://github.com/eosphoros-ai/DB-GPT…
yhjun1026 Aug 13, 2024
a54d243
feat: Session list amend
Aug 14, 2024
cb5908f
feat: flow state amend
Aug 14, 2024
0173ed5
Merge branch 'feat/dev-0.6' of https://github.com/eosphoros-ai/DB-GPT…
yhjun1026 Aug 14, 2024
cb99958
feat: add getSpaceConfig and del getKnowledgeAdmins
Aug 14, 2024
1821f44
fix:merge chat_knowledge
Aries-ckt Aug 14, 2024
f1ca8a7
fix:space resource error.
Aries-ckt Aug 14, 2024
a1df697
feat(feedback): feedback upgrade
yhjun1026 Aug 15, 2024
260735e
Merge branch 'feat/dev-0.6' of https://github.com/eosphoros-ai/DB-GPT…
yhjun1026 Aug 15, 2024
868df31
feat: Super wide style bugfix
Aug 15, 2024
af8fadc
feat(feedback): feedback upgrade
yhjun1026 Aug 15, 2024
fd4991a
Merge branch 'feat/dev-0.6' of https://github.com/eosphoros-ai/DB-GPT…
yhjun1026 Aug 15, 2024
b20eaac
feat(feedback): feedback upgrade
yhjun1026 Aug 16, 2024
385d8ca
feat(feedback): feedback upgrade
yhjun1026 Aug 16, 2024
9f1443f
feat: set resourceValue param
Aug 16, 2024
c5cf487
feat: searchDocumentList changge params
Aug 16, 2024
db8708b
feat(feedback): feedback upgrade
yhjun1026 Aug 16, 2024
f0665be
Merge remote-tracking branch 'origin/feat/dev-0.6' into feat/dev-0.6
yhjun1026 Aug 16, 2024
d89e0bd
feat(feedback): feedback upgrade
yhjun1026 Aug 16, 2024
09cd538
feat(agent): intent agent
yhjun1026 Aug 19, 2024
6e9e341
feat(agent): intent agent v2
yhjun1026 Aug 19, 2024
41db38e
feat: Session list switch bugfix
Aug 19, 2024
cc8b9cb
feat(agent): intent agent v2
yhjun1026 Aug 19, 2024
edcb73c
feat: spaceId change to spaceName
Aug 19, 2024
f536404
Merge branch 'feat/dev-0.6' of https://github.com/eosphoros-ai/DB-GPT…
yhjun1026 Aug 19, 2024
3be68f9
feat: updateSyncStatus spaceId change to spaceName
Aug 19, 2024
2bd8cce
Merge branch 'feat/dev-0.6' of https://github.com/eosphoros-ai/DB-GPT…
yhjun1026 Aug 19, 2024
78c3f2a
feat(agent): intent agent v2
yhjun1026 Aug 19, 2024
3573d8a
feat(agent): intent agent v2
yhjun1026 Aug 19, 2024
d4842ed
fix:domain param bug
Aries-ckt Aug 20, 2024
b9114ed
Merge remote-tracking branch 'refs/remotes/origin/main' into feat/dev…
yhjun1026 Aug 20, 2024
4ecffa9
Merge branch 'feat/dev-0.6' of https://github.com/eosphoros-ai/DB-GPT…
yhjun1026 Aug 20, 2024
cd82fee
feat(base): merge main
yhjun1026 Aug 20, 2024
7e00ea9
feat(base): base dao in query support
yhjun1026 Aug 20, 2024
d2ebd23
feat(base): base dao in query support
yhjun1026 Aug 20, 2024
1a23cac
feat(base): old web static file add
yhjun1026 Aug 20, 2024
9eabb2c
feat: The publishing permission of the application is modified
Aug 20, 2024
b6371ab
feat: all apps internationalization
Aug 20, 2024
4139418
feat: images fileName changed to pictures
Aug 20, 2024
35a5c0a
feat: text internationalization
Aug 20, 2024
5666434
feat(web): ui internationalization support
yhjun1026 Aug 20, 2024
c857512
Merge remote-tracking branch 'origin/feat/dev-0.6' into feat/dev-0.6
yhjun1026 Aug 20, 2024
9f4412a
feat: text internationalization bugfix
Aug 20, 2024
5c9de30
feat(web): ui internationalization support
yhjun1026 Aug 20, 2024
10f77ec
feat: Interface data formatting
Aug 20, 2024
c1826ea
Merge branch 'feat/dev-0.6' of https://github.com/eosphoros-ai/DB-GPT…
yhjun1026 Aug 20, 2024
012e48a
feat(web): ui internationalization support
yhjun1026 Aug 20, 2024
2786ae8
feat(web): ui internationalization support
yhjun1026 Aug 21, 2024
7a6f311
feat(web): ui internationalization support
yhjun1026 Aug 21, 2024
dbb8f94
feat(web): ui internationalization support
yhjun1026 Aug 21, 2024
40f671c
fix: comment add space
csunny Aug 21, 2024
ed3bf7e
feat(web): ui internationalization support
yhjun1026 Aug 21, 2024
516c5a1
feat(web): ui internationalization support
yhjun1026 Aug 21, 2024
7950475
Merge remote-tracking branch 'origin/feat/dev-0.6' into feat/dev-0.6
yhjun1026 Aug 21, 2024
650d0f5
feat:add retriever recall test
Aries-ckt Aug 21, 2024
09a854d
Merge branch 'feat/dev-0.6' of https://github.com/eosphoros-ai/DB-GPT…
Aries-ckt Aug 21, 2024
79a232a
feat(web): ui internationalization support
yhjun1026 Aug 21, 2024
b0adabb
feat(web): ui internationalization support
yhjun1026 Aug 21, 2024
fde8805
fix:delete unusual code
Aries-ckt Aug 21, 2024
2382661
Merge branch 'feat/dev-0.6' of https://github.com/eosphoros-ai/DB-GPT…
Aries-ckt Aug 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -185,3 +185,6 @@ thirdparty
/examples/**/*.gv.pdf
/i18n/locales/**/**/*_ai_translated.po
/i18n/locales/**/**/*~

/web_new/node_modules
/web_new/.next
4 changes: 4 additions & 0 deletions .mypy.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
[mypy]
exclude = /tests/
# plugins = pydantic.mypy
[mypy-dbgpt.rag.*]
strict_optional = False
ignore_missing_imports = True
follow_imports = skip

[mypy-dbgpt.app.*]
follow_imports = skip
Expand Down
71 changes: 71 additions & 0 deletions assets/schema/upgrade/v0_6_0/upgrade_to_v0.6.0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
USE dbgpt;
-- chat_history
ALTER TABLE chat_history ADD COLUMN `app_code` varchar(255) DEFAULT NULL COMMENT 'App unique code' after `message_ids`;

-- gpts_app
ALTER TABLE gpts_app ADD COLUMN `published` varchar(64) DEFAULT 'false' COMMENT 'Has it been published?';
ALTER TABLE gpts_app ADD COLUMN `param_need` text DEFAULT NULL COMMENT 'Parameter information supported by the application';
ALTER TABLE gpts_app ADD COLUMN `admins` text DEFAULT NULL COMMENT 'administrator';


-- connect_config
ALTER TABLE connect_config ADD COLUMN `user_name` varchar(255) DEFAULT NULL COMMENT 'user name';
ALTER TABLE connect_config ADD COLUMN `user_id` varchar(255) DEFAULT NULL COMMENT 'user id';

-- document_chunk
ALTER TABLE document_chunk ADD COLUMN `questions` text DEFAULT NULL COMMENT 'chunk related questions';

-- knowledge_document
ALTER TABLE knowledge_document ADD COLUMN `doc_token` varchar(100) DEFAULT NULL COMMENT 'doc token';
ALTER TABLE knowledge_document ADD COLUMN `questions` text DEFAULT NULL COMMENT 'document related questions';

--gpts_messages
ALTER TABLE gpts_messages ADD COLUMN `is_success` int(4) NULL DEFAULT 0 COMMENT 'agent message is success';
ALTER TABLE gpts_messages ADD COLUMN `app_code` varchar(255) NOT NULL COMMENT 'Current AI assistant code';
ALTER TABLE gpts_messages ADD COLUMN `app_name` varchar(255) NOT NULL COMMENT 'Current AI assistant name';
ALTER TABLE gpts_messages ADD COLUMN `resource_info` text DEFAULT NULL COMMENT 'Current conversation resource info';

--prompt_manage
ALTER TABLE prompt_manage ADD COLUMN `prompt_code` varchar(255) NULL COMMENT 'Prompt code';
ALTER TABLE prompt_manage ADD COLUMN `response_schema` text NULL COMMENT 'Prompt response schema';
ALTER TABLE prompt_manage ADD COLUMN `user_code` varchar(128) NULL COMMENT 'User code';

--chat_feed_back
ALTER TABLE chat_feed_back ADD COLUMN `message_id` varchar(255) NULL COMMENT 'Message id';
ALTER TABLE chat_feed_back ADD COLUMN `feedback_type` varchar(50) NULL COMMENT 'Feedback type like or unlike';
ALTER TABLE chat_feed_back ADD COLUMN `reason_types` varchar(255) NULL COMMENT 'Feedback reason categories';
ALTER TABLE chat_feed_back ADD COLUMN `user_code` varchar(128) NULL COMMENT 'User code';
ALTER TABLE chat_feed_back ADD COLUMN `remark` text NULL COMMENT 'Feedback remark';


-- dbgpt.recommend_question definition
CREATE TABLE `recommend_question` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'autoincrement id',
`gmt_create` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'create time',
`gmt_modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'last update time',
`app_code` varchar(255) DEFAULT NULL COMMENT 'Current AI assistant code',
`question` text DEFAULT NULL COMMENT 'question',
`user_code` int(11) DEFAULT NULL COMMENT 'user code',
`sys_code` varchar(255) DEFAULT NULL COMMENT 'system app code',
`valid` varchar(10) DEFAULT 'true' COMMENT 'is it effective,true/false',
`chat_mode` varchar(255) DEFAULT NULL COMMENT 'Conversation scene mode,chat_knowledge...',
`params` text DEFAULT NULL COMMENT 'question param',
`is_hot_question` varchar(10) DEFAULT 'false' COMMENT 'Is it a popular recommendation question?',
PRIMARY KEY (`id`),
KEY `idx_app_code` (`app_code`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT="AI application related recommendation issues";

--dbgpt.user_recent_apps definition
csunny marked this conversation as resolved.
Show resolved Hide resolved
CREATE TABLE `user_recent_apps` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'autoincrement id',
`gmt_create` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'create time',
`gmt_modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'last update time',
`app_code` varchar(255) DEFAULT NULL COMMENT 'AI assistant code',
`last_accessed` timestamp NULL DEFAULT NULL COMMENT 'User recent usage time',
`user_code` varchar(255) DEFAULT NULL COMMENT 'user code',
`sys_code` varchar(255) DEFAULT NULL COMMENT 'system app code',
PRIMARY KEY (`id`),
KEY `idx_app_code` (`app_code`),
KEY `idx_last_accessed` (`last_accessed`),
KEY `idx_user_code` (`user_code`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='User recently used apps'
Loading
Loading