What embedding model are you using?
You can try defining llm and embedding models at the top.
from llama_index.core import Settings
Settings.llm=llm # your llm instance
Settings.embed_model = embed_model # your embed model instance
If you dont have these two it will fall back to default that is OpenAI