from llama_index.core import Settings
Settings.embed_model = "my embedding model"
index=VectorStoreIndex.from_documents(...,llm=llm,embed_model=embed_model)