From 2be1b67dd2d44f077ad0c6794870fb9a36315394 Mon Sep 17 00:00:00 2001 From: Jan Martiska Date: Mon, 10 Jun 2024 10:07:53 +0200 Subject: [PATCH] Set a smaller segment-size for the easy-rag sample --- .../src/main/resources/application.properties | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/samples/chatbot-easy-rag/src/main/resources/application.properties b/samples/chatbot-easy-rag/src/main/resources/application.properties index 56de8b556..8887463b6 100644 --- a/samples/chatbot-easy-rag/src/main/resources/application.properties +++ b/samples/chatbot-easy-rag/src/main/resources/application.properties @@ -1,2 +1,6 @@ quarkus.langchain4j.openai.timeout=60s quarkus.langchain4j.easy-rag.path=src/main/resources/catalog + +quarkus.langchain4j.easy-rag.max-segment-size=100 +quarkus.langchain4j.easy-rag.max-overlap-size=25 +quarkus.langchain4j.easy-rag.max-results=4