suerprisePlus
2024-09-09 623cee8be4846e5762ff2949e519335ef8dee2bb
src/main/resources/application.yml
@@ -3,15 +3,26 @@
  servlet:
    context-path: /
spring:
  profiles:
    active: agent
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driverClassName: org.postgresql.Driver
    url: jdbc:postgresql://192.168.11.95:5433/llmdb
    username: postgres
    password: postgres
  jackson:
    time-zone: GMT+8
    date-format: yyyy-MM-dd HH:mm:ss
  application:
    name: ollama-ai
  ai:
    ollama:
      base-url: http://127.0.0.1:11434
      chat:
#        model: yi:9b-chat-v1.5-q4_0
        #        model: yi:9b-chat-v1.5-q4_0
        model: qwen2:1.5b
  intent: http://106.120.22.26:5368/intention?message
  fastgpt:
    appid:  6673bfa1d14da0cede023f28
    apikey: fastgpt-eNuz6Rsc5EMrYMiODBQbBXCbGwQYp9nSpYPE06vBBt3nitnFLdHSoQ0BAmNHDyB
@@ -19,25 +30,37 @@
    kc: http://192.168.11.28/api/core/dataset/create
    kl: http://192.168.11.28/api/core/dataset/list
    kd: http://192.168.11.28/api/core/dataset/detail
#  地理实体库
  geographical:
#    Token地址
    token: 9ce350f238ba44fda10ddfe8b80f8967
#    请求地址
    url: http://106.120.22.26:8013/geo-service/
#    获取实体库列表
    canview: /entitydb/list/canview
#    查询图层数据(或数量)
    queryEntity: /entitydbdata/query/entity
#    获取key唯一标识
    publickey: /setting/publickey
#   实体库名称
    entityName: 大模型测试库
#    实体库dbid
    dbid: 3dce04bbab1540b5ae3d147e8503ab9d
#    实体库dbid
    layerId: a61f2f8f-0bf9-422f-86fe-b7b0a30ebad9
mybatis-plus:
  mapper-locations: classpath*:/mapper/**/*.xml
  #实体扫描,多个package用逗号或者分号分隔
  typeAliasesPackage: com.terra.*.entity
  #type-handlers-package: com.terra.peiwang.postgis
  global-config:
    #数据库相关配置
    db-config:
      #主键类型  AUTO:"数据库ID自增", INPUT:"用户输入ID", ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
      id-type: AUTO
      logic-delete-value: -1
      logic-not-delete-value: 0
    banner: false
  #原生配置
  configuration:
    map-underscore-to-camel-case: false
    cache-enabled: false
    jdbc-type-for-null: 'null'
    # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
    # 返回类型为Map,显示null对应的字段
    call-setters-on-nulls: true
pagehelper:
  reasonable: true
  supportMethodsArguments: true
  params: count=countSql