index.storage_context.persist(persist_dir="<persist_dir>")
embed_model = CohereEmbedding(
cohere_api_key=COHERE_API_KEY,
model_name="embed-english-v3.0",
input_type="search_document",
embedding_type="float")
index = VectorStoreIndex.from_documents(
documents=documents, embed_model=embed_model)
storage_context = StorageContext.from_defaults(persist_dir
index = load_index_from_storage(storage_context)