-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
addressed reviews, using boot autoconfig
- Loading branch information
Showing
5 changed files
with
42 additions
and
270 deletions.
There are no files selected for viewing
This file contains 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
65 changes: 0 additions & 65 deletions
65
examples/rag-spring-article/src/main/java/co/elastic/clients/rag/article/Config.java
This file was deleted.
Oops, something went wrong.
128 changes: 0 additions & 128 deletions
128
...s/rag-spring-article/src/main/java/co/elastic/clients/rag/article/PageContentHandler.java
This file was deleted.
Oops, something went wrong.
This file contains 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
8 changes: 8 additions & 0 deletions
8
examples/rag-spring-article/src/main/resources/application.properties
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
spring.application.name=rag | ||
|
||
spring.ai.openai.api-key=${OPENAI_API_KEY} | ||
spring.ai.chat.client.enabled=true | ||
|
||
spring.elasticsearch.uris=${ES_SERVER_URL} | ||
spring.elasticsearch.username=${ES_USERNAME} | ||
spring.elasticsearch.password=${ES_PASSWORD} | ||
spring.ai.vectorstore.elasticsearch.initialize-schema=true |