Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
๐
๐
๐
Powered by
Hall
Inactive
Updated 8 months ago
0
Follow
Hello,
Hello,
Inactive
0
Follow
x
xrt
8 months ago
ยท
Hello,
How I can see exactly what nodes (similarity_top_k=2) are extracted for vector_retrievers and bm25_retrievers, for each index, In order to understand what exactly will be used in QueryFusionRetriever
vector_retrievers = []
bm25_retrievers = []
for table in tabels:
...
vector_retrievers.append(index.as_retriever(similarity_top_k=2))
....
bm25_retrievers.append(BM25Retriever.from_defaults(nodes=nodes, similarity_top_k=2))
retrievers = vector_retrievers + bm25_retrievers
retriever = QueryFusionRetriever(
retrievers=retrievers,
llm=llm,
mode=RECIPROCAL_RANK,
similarity_top_k=8
)
query_engine = RetrieverQueryEngine.from_args(retriever, llm=llm)
...
W
1 comment
Share
Open in Discord
W
WhiteFang_Jr
8 months ago
You could give Observability tool a try:
https://docs.llamaindex.ai/en/stable/examples/callbacks/LangfuseCallbackHandler/
Add a reply
Sign up and join the conversation on Discord
Join on Discord