index = VectorStoreIndex.from_documents(documents)
) - it's clearly not working.nodes = pipeline.run(documents=[Document.example()])
with documents=documents
# save pipeline.persist("./pipeline_storage") # load and restore state new_pipeline = IngestionPipeline( transformations=[ SentenceSplitter(chunk_size=25, chunk_overlap=0), TitleExtractor(), ], ) new_pipeline.load("./pipeline_storage") # will run instantly due to the cache nodes = pipeline.run(documents=[Document.example()])
index = VectorStoreIndex.from_vector_store(vector_store)
every time?from_vector_store()
doesn't do anything but make a connection to an existing vector store (i.e the one you attached to the pipeline)