Skip to content

Commit

Permalink
fix tag and comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lhpqaq committed Sep 14, 2024
1 parent 4dbc357 commit 02731de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
import jakarta.annotation.Resource;
import java.util.List;

@Tag(name = "AI Chat Controller")
@Tag(name = "Chatbot Controller")
@RestController
@RequestMapping("/chatbot/")
public class ChatbotController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public enum ApiExceptionEnum {
COMMAND_NOT_FOUND(18000, LocaleKeys.COMMAND_NOT_FOUND),
COMMAND_NOT_SUPPORTED(18000, LocaleKeys.COMMAND_NOT_SUPPORTED),

// AI Chat Exceptions -- 19000 ~ 19999
// Chatbot Exceptions -- 19000 ~ 19999
PLATFORM_NOT_FOUND(19000, LocaleKeys.PLATFORM_NOT_FOUND),
PLATFORM_NOT_AUTHORIZED(19001, LocaleKeys.PLATFORM_NOT_AUTHORIZED),
PERMISSION_DENIED(19002, LocaleKeys.PERMISSION_DENIED),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ CREATE TABLE `llm_chat_message`
INSERT INTO bigtop_manager.user (id, create_time, update_time, nickname, password, status, username)
VALUES (1, now(), now(), 'Administrator', '21232f297a57a5a743894a0e4a801fc3', true, 'admin');

-- Adding default ai chat platform
-- Adding default llm platform
INSERT INTO bigtop_manager.llm_platform (id,credential,NAME,support_models)
VALUES
(1,'{"apiKey": "API Key"}','OpenAI','gpt-3.5-turbo,gpt-4,gpt-4o,gpt-3.5-turbo-16k,gpt-4-turbo-preview,gpt-4-32k,gpt-4o-mini'),
Expand Down

0 comments on commit 02731de

Please sign in to comment.