| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- server:
- port: 8085
- ai:
- models: #大模型相关配置
- enabled:
- - glm-4
- configs:
- glm-4:
- api-key: aac7e6c624284d609a1b9d7dd2b0903b
- base-url: https://open.bigmodel.cn/api/paas/v4
- model-name: glm-4
- vector: #向量相关配置
- host: 127.0.0.1 #Milvus地址
- port: 19530 #Milvus端口,api通信端口,非web访问端口.
- collectionName: iyque_vectors #向量集合名称
- dimension: 1536 #向量维度
- score: 0.4f #向量查询相似度
- enabled:
- - embedding-3
- configs:
- embedding-3:
- api-key: 3ea0ef4ec2da49a8b67b6c0e6f5830fe.XEXMSTVVfd3sp0o7
- base-url: https://open.bigmodel.cn/api/paas/v4
- model-name: embedding-3
- iyque:
- userName: hyrealadmin
- pwd: '1q2w3e4r@@'
- demo: false
- fileViewUrl: http://127.0.0.1:8085/file/fileView/ #文件统一访问前缀,后端api指向 FileController.readFile
- uploadDir: ./upload
- inquiryAll: true
- complaintUrl: http://iyque.cn/openmobile/customerComplaint #投诉页面
- customerSeasUrl: https://iyque.cn/openmobile/customerSeas #客户公海页面
- h5MarketUrl: https://iyque.cn/openmobile/H5Marketing?id={0} #h5营销页面
- vector:
- host: 127.0.0.1 #Milvus地址
- port: 19530 #Milvus端口,api通信端口,非web访问端口.
- collectionName: iyque_vectors #向量集合名称
- dimension: 1536 #向量维度
- vectorModel: embedding-3 #向量模型,支持智普的 embedding-3,与embedding-2
- score: 0.4f #向量查询相似度
- skillhub: #SkillHub统一账号体系对接(登录 + AI算力)
- baseUrl: https://www.goodpoint.top
- aiBaseUrl: https://ohub.goodpoint.top #AI网关走ohub子域(App Direct认证)
- defaultUserId: cmpxs43no00028tzuttpf8dbm #账号密码登录时的默认AI扣费用户(ADMIN)
- appKey: app_60c3e90a6a09d02dbaa0fffb
- appSecret: sk_app_61c197fed413b55c661d89696ff543f7fdf9ae45ee1498ab
- redirectUri: https://scrm.goodpoint.top/iyque/oauth/skillhub/callback
- allowedRoles: ADMIN,ASSISTANT #管理员与助理管理员可登录,普通用户拒绝
- aiEnabled: true #开启后将AI调用切换到skillhub算力网关(按登录用户扣费)
- modelName: hy3 #腾讯混元3(Hy3)
- appDirectSecret: 服务器skillhub_env的APP_DIRECT_RELAY_SECRET #由部署脚本自动写入
- spring:
- datasource:
- url: jdbc:mysql://127.0.0.1:10179/scrm_ky?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
- driver-class-name: com.mysql.cj.jdbc.Driver
- username: root
- password: root
- jpa:
- database-platform: org.hibernate.dialect.MySQL8Dialect
- hibernate:
- ddl-auto: none
- naming:
- physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
- generate-ddl: true
- show-sql: true
- properties:
- hibernate:
- format_sql: true
- redis:
- host: 127.0.0.1
- port: 6379
- database: 1
- jackson:
- time-zone: Asia/Shanghai
- serialization:
- fail-on-empty-beans: false
- servlet:
- multipart:
- max-file-size: 20MB
- max-request-size: 20MB
- # MyBatis-Plus 配置
- mybatis-plus:
- mapper-locations: classpath*:mapper/**/*.xml
- type-aliases-package: com.yourproject.entity # 替换为你的实体类所在包
- configuration:
- map-underscore-to-camel-case: false # 自动将下划线字段名映射为驼峰属性名
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 输出MyBatis-Plus的SQL日志
|