mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-01-05 08:47:57 +08:00
[feature][chat]Introduce dedicated LLM management.#1739
This commit is contained in:
@@ -103,6 +103,21 @@ CREATE TABLE IF NOT EXISTS `s2_chat_memory` (
|
||||
) ;
|
||||
COMMENT ON TABLE s2_chat_memory IS 'chat memory table ';
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `s2_chat_model`
|
||||
(
|
||||
id int AUTO_INCREMENT,
|
||||
name varchar(100) null,
|
||||
description varchar(500) null,
|
||||
`config` varchar(500) NOT NULL ,
|
||||
`created_at` TIMESTAMP NOT NULL ,
|
||||
`created_by` varchar(100) NOT NULL ,
|
||||
`updated_at` TIMESTAMP NOT NULL ,
|
||||
`updated_by` varchar(100) NOT NULL,
|
||||
`admin` varchar(500) NOT NULL,
|
||||
`viewer` varchar(500) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
); COMMENT ON TABLE s2_chat_model IS 'chat model table';
|
||||
|
||||
create table IF NOT EXISTS s2_user
|
||||
(
|
||||
id INT AUTO_INCREMENT,
|
||||
|
||||
Reference in New Issue
Block a user