refactor(yudao-server): 更新 API 配置并调整端口

- 更新了多个环境配置文件中的 API 路径
- 调整了本地环境的服务器端口
- 修正了部分 API 路径的错误
- 优化了配置文件的格式和注释
This commit is contained in:
Liuyang 2025-03-17 09:27:26 +08:00
parent c3106010db
commit 6fc4c0801e
4 changed files with 23 additions and 13 deletions

View File

@ -335,9 +335,16 @@ llm:
base_model_status: ${AIGC_Service_URL}/llm/deploy/list
# 模型部署 POST
deploy_model: ${AIGC_Service_URL}/llm/deploy
# 模型删除
# 模型停止
delete_model: ${AIGC_Service_URL}/llm/deploy/stop
# 模型列表 get
a_list_of_available_models: ${AIGC_Service_URL}/llm/list
# 删除模型
delete_the_model: /delete_model
# 删除模型全路径
delete_the_model_full: ${AIGC_Service_URL}/delete_model
# 知识库分块文件
knowledgeBaseChunkedFiles: ${RAG_Service_URL}/documents
#################### 30000: 大模型对话相关API。 ###################
#### 大模型对话
# 模型列表 GET

View File

@ -1,5 +1,5 @@
server:
port: 48081
port: 48080
--- #################### 数据库相关配置 ####################
spring:

View File

@ -319,11 +319,11 @@ llm:
# 模型文件下载
model_file_download: /models/download/?file_path=
# 提示词优化
optimize_prompt: http://192.168.18.46:5123/optimize-prompt
optimize_prompt: http://127.0.0.1:5123/optimize-prompt
# 自动评估
auto_evaluation: /llm-eval
# 文生图
text_to_image: http://192.168.18.46:5123/generate-image
text_to_image: http://127.0.0.1:5123/generate-image
# 检查点文件列表
check_file_list: /llm/finetuning/checkpoints?model_name=
# 模型调优停止 POST
@ -332,15 +332,17 @@ llm:
base_model_status: http://127.0.0.1:5123/llm/deploy/list
# 模型部署 POST
deploy_model: http://127.0.0.1:5123/llm/deploy
# 模型删除
# 模型停止
delete_model: http://127.0.0.1:5123/llm/deploy/stop
# 模型列表 get
a_list_of_available_models: http://127.0.0.1:5123/llm/list
#删除模型
# 删除模型
delete_the_model: /delete_model
# 删除模型全路径
delete_the_model_full: http://127.0.0.1:5123/delete_model
# 知识库分块文件
knowledgeBaseChunkedFiles: http://127.0.0.1:/documents
knowledgeBaseChunkedFiles: http://127.0.0.1:8123/documents
#################### 30000: 大模型对话相关API。 ###################
#### 大模型对话
# 模型列表 GET
@ -349,9 +351,9 @@ llm:
model_completions: http://127.0.0.1:30000/v1/chat/completions
#################### 48080: 应用和管理服务相关API。 ###################
application_api: http://localhost:48080/admin-api/llm/application/api/apiKey/chat
application_api: http://18.210.203.44:48080/admin-api/llm/application/api/apiKey/chat
model_service_api: http://localhost:48080/admin-api/llm/model-service/api/apiKey/chat
model_service_api: http://18.210.203.44:48080/admin-api/llm/model-service/api/apiKey/chat
--- #################### iot相关配置 TODO 芋艿:再瞅瞅 ####################

View File

@ -332,15 +332,16 @@ llm:
base_model_status: http://127.0.0.1:5123/llm/deploy/list
# 模型部署 POST
deploy_model: http://127.0.0.1:5123/llm/deploy
# 模型删除
# 模型停止
delete_model: http://127.0.0.1:5123/llm/deploy/stop
# 模型列表 get
a_list_of_available_models: http://127.0.0.1:5123/llm/list
#删除模型
# 删除模型
delete_the_model: /delete_model
# 删除模型全路径
delete_the_model_full: http://127.0.0.1:5123/delete_model
# 知识库分块文件
knowledgeBaseChunkedFiles: http://127.0.0.1:/documents
knowledgeBaseChunkedFiles: http://127.0.0.1:8123/documents
#################### 30000: 大模型对话相关API。 ###################
#### 大模型对话