feat: add model health check functionality and improve model configuration (#30)

* refactor: rename artifactId and application name to 'datamate'; add model configuration and related services

* refactor: simplify package scanning by using wildcard for mapper packages

* feat: add model health check functionality and improve model configuration
This commit is contained in:
Dallas98
2025-10-28 16:06:53 +08:00
committed by GitHub
parent acafe70d90
commit 1a6e25758e
6 changed files with 52 additions and 10 deletions

View File

@@ -1,6 +1,8 @@
USE datamate;
CREATE TABLE t_model_config
(
id VARCHAR(36) AUTO_INCREMENT PRIMARY KEY COMMENT '主键ID',
id VARCHAR(36) PRIMARY KEY COMMENT '主键ID',
model_name VARCHAR(100) NOT NULL COMMENT '模型名称(如 qwen2)',
provider VARCHAR(50) NOT NULL COMMENT '模型提供商(如 Ollama、OpenAI、DeepSeek)',
base_url VARCHAR(255) NOT NULL COMMENT 'API 基础地址',