|
|
|
|
server:
|
|
|
|
|
port: 7088
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
|
datasource:
|
|
|
|
|
dynamic:
|
|
|
|
|
primary: master
|
|
|
|
|
datasource:
|
|
|
|
|
master:
|
|
|
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
|
|
|
password: Itc@123456
|
|
|
|
|
url: jdbc:mysql://8.129.84.155:3306/ai_evaluator?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true
|
|
|
|
|
username: root
|
|
|
|
|
# Redis
|
|
|
|
|
data:
|
|
|
|
|
redis:
|
|
|
|
|
host: 8.129.84.155
|
|
|
|
|
port: 6379
|
|
|
|
|
password: 123456
|
|
|
|
|
database: 3
|
|
|
|
|
timeout: 5000ms
|
|
|
|
|
lettuce:
|
|
|
|
|
pool:
|
|
|
|
|
max-active: 8
|
|
|
|
|
max-idle: 30
|
|
|
|
|
max-wait: 10000
|
|
|
|
|
min-idle: 10
|
|
|
|
|
jpa:
|
|
|
|
|
hibernate:
|
|
|
|
|
ddl-auto: update
|
|
|
|
|
naming:
|
|
|
|
|
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
|
|
|
|
|
properties:
|
|
|
|
|
hibernate:
|
|
|
|
|
dialect: org.hibernate.dialect.MySQL8Dialect
|
|
|
|
|
show-sql: true
|
|
|
|
|
# 上传下载限制
|
|
|
|
|
servlet:
|
|
|
|
|
multipart:
|
|
|
|
|
max-file-size: 100MB
|
|
|
|
|
max-request-size: 100MB
|
|
|
|
|
jackson:
|
|
|
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
|
|
|
time-zone: GMT+8
|
|
|
|
|
serialization:
|
|
|
|
|
write-dates-as-timestamps: false
|
|
|
|
|
generator:
|
|
|
|
|
write-numbers-as-strings: true
|
|
|
|
|
minio:
|
|
|
|
|
endpoint: ${MINIO_ENDPOINT:http://localhost:9000}
|
|
|
|
|
accessKey: ${MINIO_ASSESSKEY:DTKYZDZM1i31XOvd24SP}
|
|
|
|
|
secretKey: ${MINIO_SECRETKEY:PnfLPcJbvaUboZIwYZAADPB0pDtPZgbi0QiLSs3C}
|
|
|
|
|
bucket: ${MINIO_BUCKET:ai-evaluator}
|
|
|
|
|
tempAccessFileUrl: http://8.129.84.155/minio-api
|
|
|
|
|
mybatis-plus:
|
|
|
|
|
configuration:
|
|
|
|
|
map-underscore-to-camel-case: true
|
|
|
|
|
mapper-locations: classpath*:mapper/**/*.xml
|
|
|
|
|
type-aliases-package: com.proposal.**.domain.entity
|
|
|
|
|
|
|
|
|
|
milvus:
|
|
|
|
|
host: 8.129.84.155
|
|
|
|
|
port: 19530
|
|
|
|
|
analysis:
|
|
|
|
|
host: https://107pm707566hq.vicp.fun
|
|
|
|
|
port: 443
|
|
|
|
|
url: /analysis/word/parse
|
|
|
|
|
ding:
|
|
|
|
|
appKey: dinggl2ktuhdhoczkg2o
|
|
|
|
|
appSecret: nK104mgXPbkCWjX1I-EcYiubjM0FJAYcfqBKPkVcyvrBsLMF9XK1g9Qd_QVOndcK
|
|
|
|
|
agentId: 4283077101
|
|
|
|
|
corpId: ding13d71da66ad91ff0f5bf40eda33b7ba0
|
|
|
|
|
noticeUrlPrefix: https://107pm707566hq.vicp.fun/ai-evaluator-test
|
|
|
|
|
algo:
|
|
|
|
|
clusterUrl: /algo/semantic-cluster
|
|
|
|
|
baseUrl: https://107pm707566hq.vicp.fun
|
|
|
|
|
generateQuestionUrl: /v1/generate/questions_from_cluster
|
|
|
|
|
apiUrl: http://8.129.84.155:8000
|
|
|
|
|
jwt:
|
|
|
|
|
secret: "my-very-fixed-and-secure-secret-key-1234567890"
|
|
|
|
|
|
|
|
|
|
# 题目生成相关配置
|
|
|
|
|
question:
|
|
|
|
|
generation:
|
|
|
|
|
# 限流速率:每秒允许的API请求数
|
|
|
|
|
rate-limit: 5
|
|
|
|
|
downgrade: false
|
|
|
|
|
|
|
|
|
|
scheduled-task:
|
|
|
|
|
owner: test
|