Convert Documents to Embeddings