vector_store = QdrantVectorStore(client=client, collection_name="paul_graham") storage_context = StorageContext.from_defaults(vector_store=vector_store) index = VectorStoreIndex.from_documents( documents, storage_context=storage_context, )
# option A index = VectorStoreIndex.from_documents( [], storage_context=storage_context, ) # Option B index = VectorStoreIndex( storage_context=storage_context, )