-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.yml
56 lines (55 loc) · 1.62 KB
/
application.yml
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
app:
# Options: base, structured-output, function-call, vector-store, service-desk
active-chatbot: service-desk
elasticsearch:
host: 'localhost'
port: 9200
protocol: 'http'
spring:
ai:
vectorstore:
elasticsearch:
index-name: "ai-hackathon-ticket" # Options: ai-hackathon-ticket, ai-hackathon-publication, ai-hackathon-beemovie and more... (see README)
dimensions: 3072
initialize-schema: true
openai:
embedding: # https://docs.spring.io/spring-ai/reference/api/embeddings/openai-embeddings.html
options:
# Options: text-embedding-ada-002, text-embedding-3-large, text-embedding-3-small) and more..
model: 'text-embedding-3-large'
chat: # https://docs.spring.io/spring-ai/reference/api/chat/openai-chat.html
options:
# Options: gpt-4o, gpt-4o-mini, gpt-4-turbo, gpt-3.5-turbo and more..
model: 'gpt-4o'
threads:
virtual:
enabled: true
main:
allow-bean-definition-overriding: true
datasource:
url: jdbc:postgresql://localhost:5432/postgres?currentSchema=public
username: postgres
password: test
hikari:
maximum-pool-size: 32
liquibase:
change-log: classpath:db/changelog.xml
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://localhost:5432/postgres?currentSchema=public
user: postgres
password: test
sql:
init:
platform: postgresql
logging:
level:
org:
springframework:
ai:
chat:
client:
advisor: DEBUG
# elasticsearch:
# client: DEBUG
# apache:
# http: DEBUG