mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-05-03 06:34:20 +08:00
(improvement)(project)Introduce aibi-env.sh script to simplify user settings. (improvement)(project)Introduce aibi-env.sh script to simplify user settings.
38 lines
819 B
YAML
38 lines
819 B
YAML
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:
|
|
profiles:
|
|
active: ${S2_DB_TYPE:h2}
|
|
application:
|
|
name: chat
|
|
config:
|
|
import:
|
|
- classpath:s2-config.yaml
|
|
main:
|
|
allow-circular-references: true
|
|
mvc:
|
|
pathmatch:
|
|
matching-strategy: ANT_PATH_MATCHER
|
|
|
|
mybatis:
|
|
mapper-locations=classpath:mappers/custom/*.xml,classpath*:/mappers/*.xml
|
|
|
|
logging:
|
|
level:
|
|
dev.langchain4j: DEBUG
|
|
dev.ai4j.openai4j: DEBUG
|
|
|
|
springdoc:
|
|
swagger-ui:
|
|
path: /swagger-ui.html
|
|
enabled: true
|
|
api-docs:
|
|
path: /v3/api-docs
|
|
enabled: true
|
|
packages-to-scan: com.tencent.supersonic
|
|
paths-to-match: /api/chat/**,/api/semantic/** |