Embeddings & Vector Search Notebooks
15 notebooks from the
embeddings/area of GoogleCloudPlatform/generative-ai.
(top Level) (13)
- 🛡️ AI Brand Safety: Three-Tier Agent Anomaly Detection — Builds ADK agent anomaly detection with Gemini baselines, Vector Search scoring, and tiered audits.
- Import from BigQuery into Vector Search — Imports BigQuery embedding rows into a Vertex AI Vector Search index using the import REST API.
- Use Gemini and OSS Text-Embedding Models Against Your BigQuery Data — Generate BigQuery embeddings with Gemini and a deployed OSS E5 model.
- Visualizing embedding similarity from text documents using t-SNE plots — Embeds 20 Newsgroups text with gemini-embedding-001 and visualizes similarity clusters using t-SNE.
- Combining Semantic & Keyword Search: A Hybrid Search Tutorial with Agent Platform Vector Search — Builds sparse and hybrid Vector Search indexes for Google Merch Shop product search.
- Getting Started with Text Embeddings + Agent Platform Vector Search — Builds text embeddings from Stack Overflow titles and serves semantic search with Vector Search.
- Get started with embeddings tuning on Agent Platform — Tunes text-embedding-005 for retrieval using synthetic Gemini queries and Document AI PDF chunks.
- Introduction to Gemini Multimodal Embeddings — Generates Gemini multimodal embeddings and applies them to search, similarity, PDFs, and RAG.
- Handling large-scale embedding generation for Agent Platform Vector Search — Generates large-scale text and image embeddings for Agent Platform Vector Search with throttling and checkpointing.
- Using “task type” embeddings for improving RAG search quality — Shows how task-type embeddings improve RAG Q&A retrieval quality and MRR.
- Introduction to Agent Platform Vector Search 2.0 — Builds an e-commerce product search demo with Agent Platform Vector Search 2.0 and auto-embeddings.
- Vector Search 2.0 Public Preview Quickstart — Creates a Vector Search 2.0 movie collection with CRUD, filters, semantic search, and ANN indexes.
- Agent Platform Vector Search Quickstart — Builds and queries a streaming-update Vector Search index from product embeddings.
Use Cases (2)
- Log Anomaly Detection & Investigation with Text Embeddings + BigQuery Vector Search — Detects audit log anomalies using text-embedding-005 embeddings and BigQuery VECTOR_SEARCH.
- Anomaly Detection of Infrastructure Logs using Gemini and BigQuery Vector Search — Detects HDFS log anomalies with Gemini summaries, text embeddings, and BigQuery Vector Search.