Find answers from the community

Updated 7 months ago

Whats going on here 😩 ? (refer the

Whats going on here 😩 ? (refer the image attached)
Context : I was trying to use the semantic chunking feature in Llamaindex. Now I need to build a vector index based on the nodes I created earlier. Going thorough the documentation I came across the build_index_from_nodes method , now this should work similar to the from_documents method right ? well not really !! why is that ? am i missing something here ? after spending way too much time on this I just tried passing in the arguments directly to VectorStoreIndex , and it worked !??? so then whats the point of build_index_from_nodes ?? Can some help me understand whats going on here ??
Attachment
image.png
L
1 comment
I don't think you are really meant to use that method.

You probably meant to use the main constructor? VectorStoreIndex(nodes, storage_context=storage_context, service_context=service_context)
Add a reply
Sign up and join the conversation on Discord