1. 修改配置文件

topo_dev
xueqingkun 7 months ago
parent a64d853b1c
commit e873153d19

@ -25,6 +25,7 @@ THREAD_POOL_TRIPLE_CORE=1
THREAD_POOL_TYPE_CORE=1
OCR_PORT_HTTP=8866
OCR_MINIO_ENDPOINT_URL=http://fu-hsi-minio:9000
# nginx相关配置内容
NGINX_HTTP_PORT=9978

@ -70,6 +70,8 @@ langChain-chat:
ocr:
url: http://fu-hsi-ocr:8000/
pool:
max-size: 20
springdoc:
swagger-ui:

@ -7,7 +7,7 @@ spring:
chat:
enabled: true
options:
model: llama3-chinese:8b
model: qwen2:7b
# 控制模型在请求后加载到内存中的时间(稍微长一点的时间,避免重复加载浪费性能,加快处理速度)
keep_alive: 30m
# 例如0.3
@ -69,4 +69,6 @@ langChain-chat:
url: http://113.128.242.110:7861
ocr:
url: http://192.168.10.137:8866/
url: http://192.168.10.138:8866/
pool:
max-size: 20
Loading…
Cancel
Save