I have a simple RAG testcase and I want to increase the number of chunks returned by the search tool. How can I do that?
rag_tool = TXTSearchTool(
txt=‘<my_file>’,
config=dict(
llm=dict(
provider=“groq”, # or google, openai, anthropic, llama2, …
config=dict(
model=“Deepseek-R1-Distill-Llama-70b”
),
),
embedder=dict(
provider=“openai”,
config=dict(
model=“text-embedding-ada-002”,
),
)
),
summarize=False
)relevant_content = rag_tool.run(search_query=)