(improvement)(launcher)Separate prd and local profiles for langchain4j yaml.

This commit is contained in:
jerryjzhang
2024-07-01 15:40:36 +08:00
parent 7a0ae9f075
commit 07a981216f
10 changed files with 188 additions and 178 deletions

View File

@@ -1,15 +1,4 @@
server:
port: 9080
compression:
enabled: true
min-response-size: 1024
mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
spring:
h2:
console:
path: /h2-console/semantic
enabled: true
datasource:
driver-class-name: org.h2.Driver
schema: classpath:db/schema-h2.sql
@@ -17,23 +6,10 @@ spring:
url: jdbc:h2:mem:semantic;DATABASE_TO_UPPER=false
username: root
password: semantic
mybatis:
mapper-locations=classpath:mappers/custom/*.xml,classpath*:/mappers/*.xml
logging:
level:
dev.langchain4j: DEBUG
dev.ai4j.openai4j: DEBUG
# swagger配置
swagger:
title: 'SuperSonic平台接口文档'
base:
package: com.tencent.supersonic
description: 'SuperSonic平台接口文档'
url: ''
contact:
name:
email:
url: ''
version: 3.0
h2:
console:
path: /h2-console/semantic
enabled: true
config:
import:
- classpath:langchain4j-local.yaml