
- How does ChatGPT remember and maintain context?
- How do services like Netflix and Amazon power personalization and semantic search?
- What components make retrieval-augmented generation (RAG) performant and scalable?



- Vector database fundamentals and how they fit with LLMs and embeddings
- Embedding creation, model selection, and optimization
- Similarity metrics and how to choose them
- Building scalable vector stores using cloud-native components (e.g., Amazon S3)
- Comparing vector database solutions and when to use each
- Internals: indexing strategies, ANN algorithms, and HNSW

- What are vectors and embeddings?
- Why traditional databases struggle with similarity search
- How vector databases enable low-latency semantic retrieval

- Cosine similarity — focuses on direction; commonly used for normalized embeddings.
- Euclidean distance — sensitive to magnitude; useful when absolute distances matter.
- Dot product — combines magnitude and direction; often used in models trained for retrieval.


- Build a vector store on Amazon S3 for cost-effective, scalable storage of embeddings and metadata.
- Combine object storage with a dedicated vector index for high-QPS, low-latency queries.
- Deploy RAG pipelines that use retrieval to augment LLM responses.

| Tool / Category | Best for | Notes |
|---|---|---|
Pinecone | Managed, production vector search | Fully managed, good for rapid deployment and high throughput |
Weaviate | Schema-driven semantic search & knowledge graphs | Built-in vectorization options and graph-aware queries |
OpenSearch | Integrated search + vector capabilities | Good when combining keyword and vector search in same cluster |
S3 Vector Buckets | Cost-optimized long-term storage | Pair with a vector DB for hot queries; store raw files & embeddings in S3 |
- Indexing strategies (flat vs. partitioned vs. hierarchical)
- ANN algorithms: HNSW, IVF, PQ, and trade-offs (latency, recall, memory)
- Practical tuning: ef/search, ef/construction, M, PQ parameters

- End-to-end semantic search demo (data ingestion → embedding → indexing → query)
- RAG app example: retrieval + LLM prompt composition
- Performance testing and tuning for throughput and recall
Join the community to discuss examples, ask for help, and share experiments. Collaboration accelerates learning.
- OpenAI: https://openai.com
- Hugging Face: https://huggingface.co
- Pinecone: https://www.pinecone.io/
- Weaviate: https://weaviate.io/
- OpenSearch: https://opensearch.org/
- AWS S3: https://aws.amazon.com/s3/