---
title: "Discussion on \"Embeddings vs LLMs: Why Does RAG Need Both?\" | Hashnode"
description: "Discussion on \"Embeddings vs LLMs: Why Does RAG Need Both?\". I separated retrieval and generation in a small RAG experiment to see what embeddings and LLMs actually do, and why both matter."
url: "https://hashnode.com/posts/embeddings-vs-llms-why-does-rag-need-both/6af5e77ce71b647cd77b2009"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Embeddings vs LLMs: Why Does RAG Need Both?](https://vashniroy.hashnode.dev/embeddings-vs-llms-why-does-rag-need-both?utm_source=hashnode&utm_medium=feed)

I separated retrieval and generation in a small RAG experiment to see what embeddings and LLMs actually do, and why both matter.

1d ago · 3 min read · vashniroy.hashnode.dev  
Read the article

-   [#rag](https://hashnode.com/tag/rag)
-   [#embeddings](https://hashnode.com/tag/embeddings)
-   [#llm](https://hashnode.com/tag/llm)
-   [#generative-ai](https://hashnode.com/tag/generative-ai)
-   [#machine-learning](https://hashnode.com/tag/machine-learning)

## Written by

[Vashni Roy](https://hashnode.com/@vashniroy)

@vashniroy · Hyderabad, India

  
[View profile](https://hashnode.com/@vashniroy)

Software Engineer | Full Stack & AI/ML

Software engineer working across full-stack development and AI/ML. I write about experiments, engineering decisions, and things I find useful while building software.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
