Created
February 10, 2025 06:30
-
-
Save marttp/f94b795d7ef78febc83233daccfd092a to your computer and use it in GitHub Desktop.
Spring configurations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spring: | |
application: | |
name: spring-ai-function-calling | |
ai: | |
openai: | |
api-key: ${OPEN_API_KEY:} | |
sql: | |
init: | |
mode: always | |
h2: | |
console: | |
enabled: true | |
datasource: | |
url: jdbc:h2:mem:mydatabase | |
username: sa | |
password: | |
driverClassName: org.h2.Driver | |
external: | |
news: | |
url: ${NEWS_AP_URL:https://api.mediastack.com/v1/news} | |
key: ${NEWS_API_KEY:} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment