Skip to content

Commit

Permalink
yml openai 사용 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
osoohynn committed Nov 28, 2024
1 parent bc8841a commit b94e7b5
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
openai:
model: gpt-3.5-turbo
api:
key: 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
url: "https://api.openai.com/v1/chat/completions"


spring:
ai:
openai:
api-key: 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
secret-key : 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
url :
model : https://api.openai.com/v1/models
model-list : https://api.openai.com/v1/models/
legacy-prompt: https://api.openai.com/v1/completions
prompt : https://api.openai.com/v1/chat/completions

0 comments on commit b94e7b5

Please sign in to comment.