Overview
The Materials API includes powerful semantic search capabilities using Retrieval-Augmented Generation (RAG). This allows you to:- Search materials by meaning, not just keywords
- Find relevant content across all your materials
- Get contextual results with relevance scores
- Search within specific materials or folders
How It Works
-
Automatic Indexing - When materials are uploaded, they’re automatically processed:
- Text is extracted (OCR for PDFs, transcription for audio/video)
- Content is split into chunks
- Vector embeddings are generated
- Embeddings are stored in a vector database
-
Semantic Search - When you search:
- Your query is converted to a vector embedding
- Similar content is found using vector similarity
- Results are ranked by relevance