Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lmp_server
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lmp
lmp_server
Commits
802e007c
Commit
802e007c
authored
Mar 08, 2024
by
linpeiqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增配置文件
parent
4dc12541
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
0 deletions
+53
-0
LlmModelConfig.java
...ain/java/com/yice/webadmin/app/config/LlmModelConfig.java
+33
-0
OtherConfig.java
...c/main/java/com/yice/webadmin/app/config/OtherConfig.java
+20
-0
No files found.
application-webadmin/src/main/java/com/yice/webadmin/app/config/LlmModelConfig.java
0 → 100644
View file @
802e007c
package
com
.
yice
.
webadmin
.
app
.
config
;
import
lombok.Data
;
import
org.springframework.boot.context.properties.ConfigurationProperties
;
import
org.springframework.context.annotation.Configuration
;
@Data
@Configuration
@ConfigurationProperties
(
prefix
=
"llm-model"
)
public
class
LlmModelConfig
{
/**
* 大模型管理接口地址
*/
private
String
llmModelInterface
;
/**
* 模型停止
*/
private
String
stop
;
/**
* 重新模型部署
*/
private
String
reload
;
/**
* 模型启动
*/
private
String
start
;
/**
* 列出当前已加载模型
*/
private
String
listRunningModels
;
}
application-webadmin/src/main/java/com/yice/webadmin/app/config/OtherConfig.java
0 → 100644
View file @
802e007c
package
com
.
yice
.
webadmin
.
app
.
config
;
import
lombok.Data
;
import
org.springframework.boot.context.properties.ConfigurationProperties
;
import
org.springframework.context.annotation.Configuration
;
@Data
@Configuration
@ConfigurationProperties
(
prefix
=
"other"
)
public
class
OtherConfig
{
/**
* 其他通用接口地址
*/
private
String
otherInterface
;
/**
* 获取GPU信息
*/
private
String
getGpuInfo
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment