suerprisePlus
2024-09-04 85af9acfccf2e944a97557d3e46d143b0e99e2f1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
server:
  port: 7777               # 服务器的HTTP端口,默认为8080
  servlet:
    context-path: /
spring:
  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
    #  地理实体库
  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
 
  application:
    name: ollama-ai
  ai:
    ollama:
      base-url: http://127.0.0.1:11434
      chat:
        #        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
    url: http://192.168.11.28/api/v1/chat/completions
    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
 
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
 
 
 
 
 
#    apikey: fastgpt-hTO28RRPbu8nvPk7mp4jYHHLWfoKfgtATtkOqy1WyoRq30qR7WPtac
#    url: http://192.168.11.104:13000/api/v1/chat/completions
#    kc: http://192.168.11.104:13000/api/core/dataset/create
#    kl: http://192.168.11.104:13000/api/core/dataset/list
#    kd: http://192.168.11.104:13000/api/core/dataset/detail