from llama_index.core import Settings Settings.llm=llm Settings.embed_model = embed_model # Passing it to retriver directly retriever = QueryFusionRetriever(llm=llm,...)