Hi, how to pass the chunk size and embed model if ServiceContext is not in use anymore? My code:
vector_store = storage_service.get_vector_store(collection_name, db_name)
embed_model = OpenAIEmbedding(mode='similarity', embed_batch_size=2000, api_key=api_Key)
service_context = ServiceContext.from_defaults(chunk_size=project_chunk_size, embed_model=embed_model,
llm=None,
callback_manager=token_counter_callback_manager)
node_parser = SimpleNodeParser.from_defaults(chunk_size=project_chunk_size, chunk_overlap=20)
index = VectorStoreIndex.from_vector_store(vector_store=vector_store, service_context=service_context)
The StorageContext doesn't have those parameters. Thanks!