Skip to content

Commit

Permalink
Merge branch 'feat/dev-0.6' of https://github.com/eosphoros-ai/DB-GPT
Browse files Browse the repository at this point in the history
…into dev_0.6
  • Loading branch information
Aries-ckt committed Aug 21, 2024
2 parents 650d0f5 + 7950475 commit 09a854d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 126 deletions.
3 changes: 2 additions & 1 deletion .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
#** Webserver Port **#
#*******************************************************************#
# DBGPT_WEBSERVER_PORT=5670

## Whether to enable the new web UI, enabled by default,False use old ui
# USE_NEW_WEB_UI=True
#*******************************************************************#
#*** LLM PROVIDER ***#
#*******************************************************************#
Expand Down
8 changes: 4 additions & 4 deletions assets/schema/upgrade/v0_6_0/upgrade_to_v0.6.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ ALTER TABLE document_chunk ADD COLUMN `questions` text DEFAULT NULL COMMENT 'ch
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
-- 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
-- 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
-- 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';
Expand All @@ -55,7 +55,7 @@ CREATE TABLE `recommend_question` (
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
-- dbgpt.user_recent_apps definition
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',
Expand Down
121 changes: 0 additions & 121 deletions dbgpt/app/openapi/stream_chat_t.py

This file was deleted.

Binary file added dbgpt/app/static/web/logo_black_latest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dbgpt/app/static/web/logo_s_latest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dbgpt/app/static/web/logo_s_latest_bak.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 09a854d

Please sign in to comment.