Embeddings for VectorstoreIndexCreator

In the Question and Answer video / notebook , there is a piece of code:

index = VectorstoreIndexCreator(

This index is directly used to run the query as:
response = index.query(query)

But how does the index get the embeddings object from? It should come from the DocArrayInMemorySearch class but I don’t see a default argument for the class in the source code.

Could someone please clarify this for me?

Thanks !