Embeddings in RAG: The Core of Semantic Search