From Files to Cited Answers in One API Call: Managed Ingestion and SearchDocuments in Agent Retrieval
From Files to Cited Answers in One API Call: Managed Ingestion and SearchDocuments in Agent Retrieval
This guide covers the new managed ingestion and SearchDocuments features in Agent Retrieval (formerly Vector Search 2.0), now in Public Preview, which let you point a data store at files in Cloud Storage so the service parses, segments, and embeds them with Gemini Embedding 2, then search with one API call that returns passages with page numbers or timestamps. In the author's tests, 18 Alphabet investor PDFs became searchable with page-cited results in about 9 minutes, and 19 minutes of video became searchable by visuals and spoken audio in 0.3 to 0.5 seconds per query, with no parsing, chunking, transcription, or embedding code. The guide walks through creating data stores, importing documents and videos, and searching with filters, reranking, and audio-aware video search, noting that during Public Preview only us-east4 and europe-west4 are supported and the APIs are served over REST at v1beta.
Source: Google Developers Blog · developers.googleblog.com