-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Description
on "main" branch
sentences like:
ai/spring/demo/ai/playground/Application.java:46
vectorStore.similaritySearch("Cancelling Bookings").forEach(doc -> { logger.info("Similar Document: {}", doc.getContents()); });
and
ai/spring/demo/ai/playground/services/CustomerSupportAssistant.java:63
new QuestionAnswerAdvisor(vectorStore, SearchRequest.defaults()), // RAG
will be marked by IDEA as no such method
I think these usages should be modified in this project.
doc.getContents() should be doc.getText()
SearchRequest.defaults() should be SearchRequest.builder().build()
if these modifications are wrong, please type your correction below.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels