Editing
Retrieval-Augmented Generation
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== <span style="color: #FFFFFF;">Remembering</span> == * '''RAG''' β Retrieval-Augmented Generation; an architecture combining retrieval of relevant documents with generation by an LLM. * '''Retriever''' β The component responsible for finding relevant documents from a knowledge base given a user query. * '''Generator''' β The LLM that reads retrieved documents and the user query to produce a grounded response. * '''Knowledge base''' β The document collection from which the retriever fetches context; can be a vector store, search index, or database. * '''Embedding''' β A dense vector representation of text that captures semantic meaning, enabling similarity-based retrieval. * '''Vector store''' β A database optimized for storing and searching high-dimensional embedding vectors (e.g., Pinecone, Weaviate, Chroma, pgvector). * '''Semantic search''' β Finding documents based on meaning similarity rather than keyword matching, using embedding vectors. * '''Chunk''' β A segment of a larger document created during preprocessing. Documents are split into chunks before embedding. * '''Context window''' β The maximum amount of text an LLM can process at once; RAG must fit retrieved chunks within this limit. * '''Grounding''' β Providing the LLM with factual context (retrieved documents) to base its generation on, reducing hallucination. * '''Hallucination''' β LLM-generated content that is factually incorrect or unsupported by evidence. * '''Reranker''' β A model that reorders retrieved documents by relevance after initial retrieval, improving the quality of context passed to the LLM. * '''HyDE (Hypothetical Document Embeddings)''' β A technique where the LLM generates a hypothetical answer, which is then embedded and used as the retrieval query. * '''Naive RAG''' β The basic retrieve-then-generate pipeline without optimizations. * '''Advanced RAG''' β RAG with pre-retrieval (query transformation) and post-retrieval (reranking, filtering) enhancements. </div> <div style="background-color: #006400; color: #FFFFFF; padding: 20px; border-radius: 8px; margin-bottom: 15px;">
Summary:
Please note that all contributions to BloomWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information