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: Itc@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: 127.0.0.1 port: 19530 analysis: host: http://127.0.0.1 port: 8888 url: /word/parse dataExtract: url: http://127.0.0.1:8002/ai-check/api/documents-parse callback-url: http://127.0.0.1/evaluator-api/api/interaction/dataExtractCallback ding: appKey: dinghgexcbos9dorl3kb appSecret: bSNX1ZOUTk2A4FGwQ1U6fyHlFssh9IZtFO6FuKx8A97PE1VZL9lBTJapwzDGCS7v # appKey: ding4eootvq4jzas96lr #保伦架构 # appSecret: UI6XcD8GFPE_W_yo2eQkMuoSsTEf1whpZYEXrsDA7CV7bkJp40B3VNcETWS1aGgg agentId: 4418045751 corpId: ding13a2ff8718e6bcdd # corpId: 3318151640 noticeUrlPrefix: https://107pm707566hq.vicp.fun/ai-evaluator-test algo: clusterUrl: /semantic-cluster baseUrl: http://127.0.0.1:8002 apiUrl: http://127.0.0.1:8010 apiTwoUrl: http://127.0.0.1:8011 apiThreeUrl: http:/127.0.0.1:8012 extractUrl: /v1/key_points/extract scoringUrl: /v1/score/short_answer generateQuestionUrl: /v1/generate/questions_from_cluster callbackUrl: http://127.0.0.1/evaluator-api jwt: secret: "my-very-fixed-and-secure-secret-key-1234567890" # 题目生成相关配置 question: generation: # 限流速率:每秒允许的API请求数 rate-limit: 4 downgrade: false # 队列配置 queue: # 重试间隔(秒) retry-interval: 60 # 简答题异步评分 scoring: # 每批最多处理多少道简答题 batch-size: 5 # 执行间隔(毫秒),每60秒扫描一次 interval-ms: 60000 scheduled-task: owner: test # 经典套题 Mock 配置 classicpaper: mock: # 重抽题最小延迟(毫秒) regenerate-delay-ms: 4000 # 重抽题最大延迟(毫秒) regenerate-delay-max-ms: 5000 # 生成题目模拟延迟(毫秒,Mock 模拟算法处理耗时) generate-delay-ms: 2000 # 是否启用真实算法(true=使用算法服务) algorithm: enabled: true spare: # 每道题预生成的备用题数量 per-question: 2 # 备用池剩余 <= 此值时触发异步补充 replenish-threshold: 1 # 每次补充生成几道备用题 replenish-count: 2 # 补充任务初始延迟(毫秒),避免高峰期"挤"算法 replenish-delay-ms: 10000 # 套题生成超时检测 timeout: # 生成超时阈值(分钟),超过此时间仍在 GENERATING 则标记为 FAILED threshold-minutes: 120 # 检查间隔(毫秒),每 5 分钟扫描一次 interval-ms: 300000