Skip to content

Commit

Permalink
setting: ai model 과 embedding model 을 외부 환경변수로 분리
Browse files Browse the repository at this point in the history
  • Loading branch information
zbqmgldjfh committed Jul 27, 2024
1 parent 0d7bee2 commit 190fe62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ spring:
api-key: ${AI_API_KEY}
chat:
options:
model: gpt-3.5-turbo
model: ${AI_CHAT_MODEL}
temperature: 0.0
maxTokens: 1000
embedding:
options:
model: text-embedding-3-small
model: ${AI_EMBEDDING_MODEL}
vectorstore:
chroma:
client:
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ spring:
api-key: ${AI_API_KEY}
chat:
options:
model: gpt-3.5-turbo
model: ${AI_CHAT_MODEL}
temperature: 0.0
maxTokens: 1000
embedding:
options:
model: text-embedding-3-small
model: ${AI_EMBEDDING_MODEL}
vectorstore:
chroma:
client:
Expand Down

0 comments on commit 190fe62

Please sign in to comment.