docstore
after getting the document nodes, since there's no storage_context
arg to SimpleDirectoryReader)vector_store
here but should i also update the docstore
? will vector_stores[vector_store.name]
automatically add the chunks/nodes from transformation? will it only do that if one of the transformation steps adds embeddings to each node?add_index_struct
and read it later by rebuilding an index from an index struct?)self._storage_context.docstore.add_documents(nodes)
nodes = list(self._storage_context.docstore.docs.values())
LoadCodeTool(leader_storage_context, leader_service_context), QueryCodeTool(leader_storage_context, leader_service_context),
index = VectorStoreIndex.from_vector_store(vector_store, service_context=service_context)
vector_store
arg to the ingestion)?pipeline = IngestionPipeline(..., vector_store=vector_store) pipeline.run(documents=documents) index = VectorStoreIndex.from_vector_store(vector_store, service_context=service_context)
Embed
transformer that i can add to the end of the ingestion pipeline to attach node embeddings?pipeline = IngestionPipeline(transformations=[..., OpenAIEmbedding()])