Skip to content

Commit a9d3601

Browse files
committed
update configuration
1 parent 7560402 commit a9d3601

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Diff for: src/main/resources/application-openai.yaml

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@ spring:
66
embedding:
77
enabled: false
88
openai:
9+
api-key: ${OPENAI_API_KEY:}
910
chat:
1011
enabled: true
12+
options:
13+
model: gpt-3.5-turbo
14+
temperature: 0.0
1115
embedding:
12-
enabled: true
16+
enabled: true
17+
options:
18+
model: text-embedding-3-small

Diff for: src/main/resources/application.yaml

-6
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,10 @@ spring:
1616
options:
1717
model: "bge-large"
1818
openai:
19-
api-key: ${OPENAI_API_KEY:}
2019
chat:
2120
enabled: false
22-
options:
23-
model: gpt-3.5-turbo
24-
temperature: 0.0
2521
embedding:
2622
enabled: false
27-
options:
28-
model: text-embedding-3-small
2923
vectorstore:
3024
chroma:
3125
collectionName: pdf-qa

0 commit comments

Comments
 (0)