Detailed explanation
Examples
Frequently asked questions
What is the difference between RAG and fine-tuning?
RAG injects knowledge at query time without retraining. Fine-tuning changes the model itself to adopt a style or behavior. They are complementary.
Which vector database should I choose for RAG?
pgvector (PostgreSQL) for simplicity, Qdrant or Weaviate for scale, Pinecone for fully managed. Choose based on your existing stack.
Related terms
Vector Database
A database specialized in storing and searching embeddings by semantic similarity.
Embedding
An embedding is a numerical vector representation of text, image, or audio data that captures its semantic meaning, enabling similarity search and machine learning on unstructured content.
Hallucination
An AI response that sounds credible but is factually wrong or fabricated.
LLM (Large Language Model)
An LLM is a large language model trained on massive text corpora, capable of understanding and generating natural language across many tasks: writing, summarization, translation, code, reasoning.
Prompt Engineering
Prompt engineering is the discipline of designing, structuring, and refining the instructions given to an LLM to obtain reliable, accurate, and well-formatted answers.
Last updated: 7/15/2026