Find answers from the community

Updated 3 months ago

Hey, is it possible use retrieval with

Hey, is it possible use retrieval with batch?
L
h
W
4 comments
Not batch, but you can do async (assuming your vector store supports async)

Plain Text
retriever = index.as_retriever(similarity_top_k=2)
nodes = await retriever.aretrieve("query")
Will it be
nodes = await retriever.aretrieve("query")
?
ah good catch, whoops
Add a reply
Sign up and join the conversation on Discord