diff --git a/src/main/java/com/olympus/hermione/stepSolvers/AdvancedQueryRagSolver.java b/src/main/java/com/olympus/hermione/stepSolvers/AdvancedQueryRagSolver.java index 31e6437..2d898d8 100644 --- a/src/main/java/com/olympus/hermione/stepSolvers/AdvancedQueryRagSolver.java +++ b/src/main/java/com/olympus/hermione/stepSolvers/AdvancedQueryRagSolver.java @@ -223,7 +223,7 @@ public class AdvancedQueryRagSolver extends StepSolver { } String prompt = "I've retrieved the following chunks of document using similarity search."; - prompt +="Can you provide me a query that can be used with another vector similarity search to retrieve other relevant documents to answer the query?"; + prompt +="Can you provide me a query that can be used for a vector similarity search to retrieve other missing documents to answer the query?"; prompt += "\n\n" + resultString; prompt += "\n\n The query is: " + this.query; prompt += "\n\n The output must be a single query and nothing else."; @@ -232,7 +232,7 @@ public class AdvancedQueryRagSolver extends StepSolver { String otherDocQuery = resp.getContent(); logger.info("Other document query: " + otherDocQuery); - + Builder request_builder = SearchRequest.builder() .query(otherDocQuery) .topK(otherTopK)