Corpus
Perform semantic search and structured queries across your personal content, leveraging an OpenAI-compatible embedding endpoint and PostgreSQL.
Corpus is a robust tool designed to ingest, classify, embed, and store your personal content for advanced search capabilities. It integrates with various pluggable sources, such as IMAP and Gmail for email, and uses an OpenAI-compatible API for generating embeddings, ensuring data privacy by supporting local models. All vectorized content and metadata are stored efficiently in PostgreSQL with pgvector. Users can conduct either semantic searches based on vector similarity or precise structured queries over metadata, with both modes accessible via a REST API and an MCP server.
主要功能
01Persistence of vectors and metadata in PostgreSQL with pgvector for scalable storage.
020 GitHub stars
03Dual query modes: semantic search (vector similarity) and structured analytical queries (metadata filters).
04Observability with OpenTelemetry traces and metrics for monitoring API, MCP, and ingest processes.
05Pluggable data ingestion from sources like IMAP and Gmail, with support for custom fetchers.
06OpenAI-compatible embedding endpoint, allowing use of local or hosted models for vector generation.
07Exposes search and query functionalities via a REST API and an MCP server.
使用案例
01Automating the retrieval and analysis of specific information across disparate content sources based on content or metadata criteria.
02Building a personalized search engine for your emails, documents, or other digital content.
03Integrating advanced semantic search capabilities into custom applications for internal data.