Skip to main content

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

  1. 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
  2. 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

Search Materials

Perform a semantic search across all your materials.

Search Response Format

Advanced Search Options

Search with More Results

Filter by Material Type

While the current API doesn’t support filtering in the search endpoint, you can filter results after retrieval: