Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ class ChatService(
private val chatClient: ChatClient
) {
private val logger = LoggerFactory.getLogger(ChatService::class.java)
private val questionAnswerAdvisor = QuestionAnswerAdvisor(vectorStore)
private val questionAnswerAdvisor = QuestionAnswerAdvisor.builder(vectorStore).build()
private val simpleLoggerAdvisor = SimpleLoggerAdvisor()
private val chatMemory = ConcurrentHashMap<String, PromptChatMemoryAdvisor>()

Expand Down
4 changes: 2 additions & 2 deletions chat-server/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ repositories {
mavenCentral()
}

val springAiVersion = "1.0.3"
val springAiVersion = "1.1.0"

dependencies {
implementation("org.springframework.boot:spring-boot-starter-web")
Expand All @@ -41,7 +41,7 @@ dependencies {
implementation("org.springframework.ai:spring-ai-starter-vector-store-pgvector")
runtimeOnly("org.postgresql:postgresql")

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import java.util.concurrent.ConcurrentHashMap
class ChatService(vectorStore: VectorStore, private val chatClient: ChatClient) {

private val logger = LoggerFactory.getLogger(ChatService::class.java)
private val questionAnswerAdvisor = QuestionAnswerAdvisor(vectorStore)
private val questionAnswerAdvisor = QuestionAnswerAdvisor.builder(vectorStore).build()
private val simpleLoggerAdvisor = SimpleLoggerAdvisor()
private val chatMemory = ConcurrentHashMap<String, PromptChatMemoryAdvisor>()

Expand Down