123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- spring:
- servlet:
- multipart:
- max-file-size: 10MB
- application:
- name: knowledge-base
- profiles:
- active: dev
- data:
- redis:
- database: 0
- timeout: 10s
- password: Taohongrun0
- repositories:
- enabled: false
- lettuce:
- pool:
- max-active: 200
- max-wait: -1ms
- max-idle: 10
- min-idle: 03306
- host: 58.87.69.234
- port: 6379
- datasource:
- url: jdbc:mysql://58.87.69.234:3306/web
- username: web
- password: pAFB7iYzLpj5dxSS
- driver-class-name: com.mysql.cj.jdbc.Driver
- neo4j:
- authentication:
- username: neo4j
- password: neo4j
- uri: bolt://58.87.69.234:7687
- ai:
- # 阿里灵积
- dash-scope:
- api-key: sk-375aa80dcb56402db68857b31846b1bb
- chat:
- options:
- model: qwen-max
- # 多模态图片理解需要开启
- # multi-model: true
- embedding:
- options:
- model: text-embedding-v2
- image:
- options:
- model: wanx-v1
- # 百度千帆 需要在pom.xml中放开qianfan starter的注释
- qian-fan:
- api-key: xxx
- secret-key: xxx
- # openai 需要在pom.xml中放开openai starter的注释
- # 智谱清言 同样
- zhipuai:
- api-key: xxx
- # kimi 同样
- moonshot:
- api-key: xxx
- ollama:
- # 填写模型所在的地址
- base-url: http://localhost:11434
- chat:
- model: xxx
- openai:
- api-key: sk-5838851591be416097aaeb5d732037b2
- base-url: https://api.deepseek.com
- chat:
- options:
- model: deepseek-chat
- embedding:
- options:
- model: text-embedding-v2
- image:
- options:
- model: wanx-v1
- vectorstore:
- redis:
- initialize-schema: true
- code-assistant:
- project:
- project-path: F:\workspace\code\opensource\dive-into-spring-ai
- arthas:
- url: http://localhost:8563/api
- password: arthas
- username: arthas
- server:
- port: 9902
- sa-token:
- # token名称 (同时也是cookie名称)
- token-name: token
- # token有效期,单位s 默认30天, -1代表永不过期
- timeout: 2592000
- # token临时有效期 (指定时间内无操作就视为token过期) 单位: 秒
- active-timeout: -1
- # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录)
- is-concurrent: true
- # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token)
- is-share: true
- # token风格
- token-style: uuid
- # 是否输出操作日志
- is-log: true
- # 自动续签
- auto-renew: true
- oss:
- provider: ali_yun
- # 阿里云oss配置
- ali-yun:
- access-key-id: xxx
- access-key-secret: xxx
- endpoint: xxx
- bucket-name: xxx
- # 腾讯云oss配置
- tencent:
- bucket: xx
- region: xx
- secret-id: xx
- secret-key: xx
- jimmer:
- dialect: org.babyfish.jimmer.sql.dialect.MySqlDialect
- show-sql: true
- pretty-sql: true
- client:
- ts:
- path: /ts.zip
- openapi:
- path: /openapi
- ui-path: /openapi-ui
|