Find answers from the community

Updated 3 months ago

Nodes

How can I view the nodes or I guess the result of the chunks after creating a vector query index?
I'm running into an issue where in the service context if I pass in a chunk_size of 512 I am able to get proper results from similarity search. But when I don't pass anything into the service context, which I assume the chunk_size is 1024 by default from llama index, I am getting no results back so I'd like to see what the chunks end up looking like to see whats wrong.

Plain Text
vector_query_engine_index = VectorStoreIndex.from_documents(documents, use_async=True,
service_context=service_context
)
W
c
3 comments
You can check all the nodes in the index by accessing the docstore like this
nodes = index.docstore.docs
thanks! Was asking the mendable docs and it told me to call get_nodes which didn't exist.
Yeah, there is no method I think in the vectorStoreIndex class yet.

Mendable needs better prompt instructio I think πŸ˜†. Lol
Add a reply
Sign up and join the conversation on Discord