feat(server): 添加模型部署相关 API 接口
- 在 application-dev.yaml、application-local-la.yaml、application-local-ly.yaml 和 application-prod.yaml 中添加了模型部署相关的 API 接口配置 - 新增的接口包括基座模型状态、模型部署和模型删除 - 更新了优化提示词和文生图接口的地址
This commit is contained in:
parent
38ec339230
commit
75c7b7dca1
@ -285,6 +285,13 @@ llm:
|
||||
check_file_list: /llm/finetuning/checkpoints?model_name=
|
||||
# 模型调优停止 POST
|
||||
stop_finetuning: /llm/finetuning/stop
|
||||
# 基座模型状态 POST
|
||||
base_model_status: http://36.103.199.248:5123/llm/deploy/list
|
||||
# 模型部署 POST
|
||||
deploy_model: http://36.103.199.248:5123/llm/deploy
|
||||
# 模型删除
|
||||
delete_model: http://36.103.199.248:5123/llm/deploy/stop
|
||||
|
||||
|
||||
#################### 30000: 大模型对话相关API。 ###################
|
||||
#### 大模型对话
|
||||
|
@ -338,6 +338,13 @@ llm:
|
||||
check_file_list: /llm/finetuning/checkpoints?model_name=
|
||||
# 模型调优停止 POST
|
||||
stop_finetuning: /llm/finetuning/stop
|
||||
# 基座模型状态 POST
|
||||
base_model_status: http://36.103.199.248:5123/llm/deploy/list
|
||||
# 模型部署 POST
|
||||
deploy_model: http://36.103.199.248:5123/llm/deploy
|
||||
# 模型删除
|
||||
delete_model: http://36.103.199.248:5123/llm/deploy/stop
|
||||
|
||||
|
||||
#################### 30000: 大模型对话相关API。 ###################
|
||||
#### 大模型对话
|
||||
|
@ -326,6 +326,13 @@ llm:
|
||||
text_to_image: /generate-image
|
||||
# 检查点文件列表
|
||||
check_file_list: /llm/finetuning/checkpoints?model_name=
|
||||
# 基座模型状态 POST
|
||||
base_model_status: http://36.103.199.248:5123/llm/deploy/list
|
||||
# 模型部署 POST
|
||||
deploy_model: http://36.103.199.248:5123/llm/deploy
|
||||
# 模型删除
|
||||
delete_model: http://36.103.199.248:5123/llm/deploy/stop
|
||||
|
||||
|
||||
#################### 30000: 大模型对话相关API。 ###################
|
||||
#### 大模型对话
|
||||
|
@ -319,11 +319,11 @@ llm:
|
||||
# 模型文件下载
|
||||
model_file_download: /models/download/?file_path=
|
||||
# 提示词优化
|
||||
optimize_prompt: http://127.0.0.1:5123/optimize-prompt
|
||||
optimize_prompt: http://192.168.18.46:5123/optimize-prompt
|
||||
# 自动评估
|
||||
auto_evaluation: /llm-eval
|
||||
# 文生图
|
||||
text_to_image: http://127.0.0.1:5123/generate-image
|
||||
text_to_image: http://192.168.18.46:5123/generate-image
|
||||
# 检查点文件列表
|
||||
check_file_list: /llm/finetuning/checkpoints?model_name=
|
||||
# 模型调优停止 POST
|
||||
|
Loading…
x
Reference in New Issue
Block a user