AI curriculum
Course outline for Vector and AI Data Infrastructure
A vector query can run successfully while using incompatible embeddings or returning deleted content. Benchmark one local retrieval path with judged relevance, metadata filters, and versioned index contracts. Compare quality, latency, and lifecycle behavior rather than treating similarity as evidence of truth.
- Technology
- Data Engineering and Databases
- Duration
- 6 hours
- Modules
- 3 · 2 hours each
- Level
- Level 2
About Vector and AI Data Infrastructure
A vector query can run successfully while using incompatible embeddings or returning deleted content. Benchmark one local retrieval path with judged relevance, metadata filters, and versioned index contracts. Compare quality, latency, and lifecycle behavior rather than treating similarity as evidence of truth.
Vector and AI Data Infrastructure Course Objectives
- Describe compatible document/query vectors and index tradeoffs.
- Compare pgvector and Weaviate storage/query responsibilities.
- Implement one local similarity path with metadata filters.
- Compare vector-only and hybrid retrieval against judged questions.
- Test incompatible vectors, deletion propagation, and index-generation cutover.
Pre-requisites
- Basic database selection, programming, and query skills.
- Familiarity with embeddings and similarity; supplied vectors and a short compatibility bridge can be used.
Before this course
Complete the required courses or bring equivalent experience. Recommended courses add useful depth; they are not enrolment gates.
Required preparation
Recommended preparation
Readiness checks
- Basic programming and embedding/similarity familiarity
- Can distinguish compatible document/query vectors; a short bridge or supplied vectors may be used
Understands database choices and focused vector concepts; full attention/KV-cache/reasoning-model instruction is optional, and SQL depth helps the pgvector lab.
Find your place in the learning mapLab Setup
- Programming runtime, supplied benchmark/lifecycle starter, and one preconfigured supported local PostgreSQL/pgvector or Weaviate setup.
- Supplied compatible vectors, synthetic metadata, judged questions with a complete relevant-document set for recall-at-five, deletion fixtures, and versioned examples for the alternate backend.
- No embedding API subscription or installation of both backends is required.
Detailed Course Outline
Module 1: Define representations and index choices
- Vector representations: Record model, dimensions, and preprocessing contracts so document and query vectors remain compatible without implying factual truth.
- Vector indexes: Compare retrieval quality, query latency, and index size against fixed judgments while recording the active corpus generation.
- Vector databases: Define storage, similarity-query, metadata, and lifecycle responsibilities separately from embedding generation and relevance evaluation.
Practical outcome: Create an embedding/index manifest with model, dimensions, preprocessing, corpus version, and relevance-test assumptions.
Module 2: Exercise storage and search
- pgvector: Inspect PostgreSQL-based vector storage and query responsibilities through the supported local path or supplied equivalent backend fixtures.
- Weaviate: Compare its storage and similarity-query responsibilities with pgvector using supplied fixtures without requiring deployment of both backends.
- Similarity search: Retrieve top-five matches from compatible vectors and assess judged relevance rather than treating closeness as evidence of correctness.
Practical outcome: Run one supported local backend and inspect equivalent supplied query fixtures for the other, comparing index and similarity behavior.
Module 3: Benchmark controls and lifecycle changes
- Metadata filtering: Enforce supplied metadata restrictions on every returned result and verify that otherwise similar documents cannot bypass selection rules.
- Hybrid retrieval: Compare combined lexical and vector results with vector-only retrieval using fixed questions, relevance judgments, and separate latency measurements.
- Index generation and lifecycle contracts: Reject incompatible queries and stale cutovers, propagate deletions, and activate rebuilt generations only after fixed benchmark checks pass.
Practical outcome: Benchmark filtered and hybrid results, reject incompatible query vectors, and verify deletion and new-generation cutover against fixed checks.
Practical exercise
- Build a small retrieval benchmark and version manifest using supplied documents, compatible vectors, and judged questions.
- Run valid queries and reject a model-version or dimension mismatch before search; test metadata restrictions on every returned result.
- Compare vector-only and hybrid top-five results using relevance judgments, recording recall, query latency, and index size separately.
- Delete a document and rebuild a generation; verify it is absent from active results and reject a stale-generation cutover that fails the benchmark.
What you will produce
Benchmark and maintain a filtered vector-retrieval path with compatibility and deletion checks.
How the work is checked
- The manifest identifies embedding and corpus/index generations.
- Incompatible vectors are rejected and metadata restrictions hold.
- Top-five relevance, latency, and storage results are reported separately.
- Deleted content is absent after cutover and a failing generation is not activated.
Six-hour single-backend benchmark with alternate-product fixtures; similarity is not calibrated truth probability, and tiny-corpus results are not production capacity evidence.
When another approach is better
- Use exact SQL or keyword retrieval when identifiers and structured filters answer the questions reliably.
- Avoid unmeasured embedding projection or backend migration when relevance and compatibility tests are unavailable.
How we train
Contact us for full course details, including duration, delivery options and lab requirements.
Ask about exercises, instructor feedback and the prior knowledge you need. Tool-specific courses marked provisional may become modules in a broader course.
Discuss your learning goalsRelated Courses
These courses list this course as preparation.