PanoEvJ commited on
Commit
e29de84
1 Parent(s): dbf8bde

fix for vector_index_strategy

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -218,7 +218,7 @@ vector_store_strategy = ChromaVectorStore(chroma_collection=chroma_collection)
218
  storage_context_strategy = StorageContext.from_defaults(vector_store=vector_store_strategy)
219
  vector_index_strategy = VectorStoreIndex([], storage_context=storage_context_strategy, service_context=service_context)
220
 
221
- vector_index_strategy.insert_nodes(docAdditionalSamples)
222
 
223
  # setting up metadata
224
  top_k = 1
 
218
  storage_context_strategy = StorageContext.from_defaults(vector_store=vector_store_strategy)
219
  vector_index_strategy = VectorStoreIndex([], storage_context=storage_context_strategy, service_context=service_context)
220
 
221
+ vector_index_strategy.insert_nodes([strategy1, strategy2, strategy3, strategy4, strategy5])
222
 
223
  # setting up metadata
224
  top_k = 1