Find answers from the community

Updated 7 months ago

Basically, I want session management

At a glance

The community member wants to set up session management with Qdrant, LlamaIndex, and LlamaParse to avoid having to redo parsing and indexing every time. The comments suggest that they can check if the collection exists in Qdrant, and if so, they don't need to parse again. However, when loading the vector index, they need to provide nodes. The community members discuss ways to skip parsing and splitting nodes, such as using VectorStoreIndex.from_vector_store() to connect to the vector store without creating nodes. The community members provide suggestions and the original poster says they will try it out and get back to the thread if it doesn't work.

Basically, I want session management with Qdrant, LlamaIndex, and LlamaParse, so I don't have to redo parsing and indexing every time, thank you guys in advance
W
A
7 comments
you can check if the collection exists in Qdrant then no need to parse again.
but when i load vector index i need to provide nodes , vector_index = VectorStoreIndex(initial_nodes, storage_context=storage_context)
i want to skip parsing and splitting nodes , next time , how ?
storage_context in this case is , vector_store = QdrantVectorStore(client=client, collection_name="test_collection")
storage_context = StorageContext.from_defaults(vector_store=vector_store)
you can connect to the vector store in this way:

Plain Text
index = VectorStoreIndex.from_vector_store(vector_store=vector_store)

This way you can connect to the vector store without creating nodes.
thank you i will try it out later , if it wont work , i will get back to this thread , thank you @WhiteFang_Jr
Yeah no problemo!
Add a reply
Sign up and join the conversation on Discord