Skip to content
Discussion options

You must be logged in to vote

Hey there, @Satyam7166-tech! I'm Dosu, a bot here to help you with bug fixes, answering questions, and becoming a contributor while you wait for a human maintainer. How can I assist you today?

To split a query into sentences for sentence window retrieval and reranking while still sending it as a single query to the LLM efficiently, you can use the QueryFusionRetriever and SentenceSplitter classes from the LlamaIndex framework. Here's how you can integrate these into your existing code:

  1. Initialize the QueryFusionRetriever:

    • This retriever will help you generate multiple search queries from a single input query and apply various fusion modes to rerank the results.
  2. Use the SentenceSpli…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Satyam7166-tech
Comment options

@dosubot
Comment options

Answer selected by Satyam7166-tech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant