Skip to content

Commit 7ecf898

Browse files
Bump the dependencies group across 1 directory with 2 updates (#75)
* Bump the dependencies group across 1 directory with 2 updates Bumps the dependencies group with 2 updates in the /chat-server directory: [org.springdoc:springdoc-openapi-starter-webmvc-ui](https://github.com/springdoc/springdoc-openapi) and [org.springframework.ai:spring-ai-bom](https://github.com/spring-projects/spring-ai). Updates `org.springdoc:springdoc-openapi-starter-webmvc-ui` from 2.8.13 to 2.8.14 - [Release notes](https://github.com/springdoc/springdoc-openapi/releases) - [Changelog](https://github.com/springdoc/springdoc-openapi/blob/main/CHANGELOG.md) - [Commits](springdoc/springdoc-openapi@v2.8.13...v2.8.14) Updates `org.springframework.ai:spring-ai-bom` from 1.0.3 to 1.1.0 - [Release notes](https://github.com/spring-projects/spring-ai/releases) - [Commits](spring-projects/spring-ai@v1.0.3...v1.1.0) --- updated-dependencies: - dependency-name: org.springdoc:springdoc-openapi-starter-webmvc-ui dependency-version: 2.8.14 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: org.springframework.ai:spring-ai-bom dependency-version: 1.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * Fix compile --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Roger Viñas Alcon <roger.vinas@fastzink.com>
1 parent 30a2a38 commit 7ecf898

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ class ChatService(
212212
private val chatClient: ChatClient
213213
) {
214214
private val logger = LoggerFactory.getLogger(ChatService::class.java)
215-
private val questionAnswerAdvisor = QuestionAnswerAdvisor(vectorStore)
215+
private val questionAnswerAdvisor = QuestionAnswerAdvisor.builder(vectorStore).build()
216216
private val simpleLoggerAdvisor = SimpleLoggerAdvisor()
217217
private val chatMemory = ConcurrentHashMap<String, PromptChatMemoryAdvisor>()
218218

chat-server/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ repositories {
2424
mavenCentral()
2525
}
2626

27-
val springAiVersion = "1.0.3"
27+
val springAiVersion = "1.1.0"
2828

2929
dependencies {
3030
implementation("org.springframework.boot:spring-boot-starter-web")
@@ -41,7 +41,7 @@ dependencies {
4141
implementation("org.springframework.ai:spring-ai-starter-vector-store-pgvector")
4242
runtimeOnly("org.postgresql:postgresql")
4343

44-
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.13")
44+
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.14")
4545

4646
implementation("org.jetbrains.kotlin:kotlin-reflect")
4747

chat-server/src/main/kotlin/com/rogervinas/chat/ChatService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import java.util.concurrent.ConcurrentHashMap
1515
class ChatService(vectorStore: VectorStore, private val chatClient: ChatClient) {
1616

1717
private val logger = LoggerFactory.getLogger(ChatService::class.java)
18-
private val questionAnswerAdvisor = QuestionAnswerAdvisor(vectorStore)
18+
private val questionAnswerAdvisor = QuestionAnswerAdvisor.builder(vectorStore).build()
1919
private val simpleLoggerAdvisor = SimpleLoggerAdvisor()
2020
private val chatMemory = ConcurrentHashMap<String, PromptChatMemoryAdvisor>()
2121

0 commit comments

Comments
 (0)