Skip to main content

Knowledge Base

Technical Database Schema

For the transactional database fields and schema structures, refer to the app.knowledge_pages Table Documentation.

Barr Moses, CEO and co-founder of Monte Carlo, recently wrote that "Powerful models are a simple API call away and available to all" in 2026 Will Be The Year of Data + AI Observability. The implication for Ravioli is clear: the durable advantage is not access to LLMs alone, but the unique context your organization captures, curates, and governs through its Knowledge Base.

Ravioli lets teams manage domain-specific contexts to ground AI responses in reality. Your business terminology, calculations, operating logic, and decision history represent your competitive advantage, and keeping your AI agent aligned with this knowledge is crucial. Knowledge Pages work closely with Analyses, where they can be attached as supporting context, and with Insights, where grounded conclusions are later reviewed and shared.

In Ravioli, the Knowledge Base is where that advantage becomes operational. It turns scattered institutional knowledge into reusable AI context that can be attached to analyses, shared across teams, and owned explicitly by the right contributors.


Page Properties & Storage

Knowledge Pages are saved in the PostgreSQL schema under app.knowledge_pages. The data structures mimic Notion-compatible block trees (JSONB format) to maintain layout fidelity. Pages store:

  • Page metadata (titles, icons, cover images).
  • Parent-child hierarchical relationships.
  • Rich-text blocks containing plain text, paragraph layouts, and formatted tables.

Ownership matters just as much as structure. Each Knowledge Page should remain attributable to the responsible User so teams know which contributor defined a term, updated a policy, or changed a business rule. That lineage becomes especially important when pages are shared across teams through Groups or used to guide downstream analyses.

When an analysis is executed, attached Knowledge Pages are read, parsed into raw text strings, and injected directly into the LLM's system instructions to prevent the model from hallucinating. To understand where those runs happen, see Analyses and the workflow details in Custom Notebooks and Quick Insights.


Ownership & Contributors

Knowledge Pages are not anonymous prompts. They are governed assets with clear stewardship:

  • The contributing User is responsible for creating and maintaining the page content that guides AI behavior.
  • Ownership metadata such as created_by, updated_by, owner_id, and owner_type preserves accountability for every page revision.
  • Ownership can remain with an individual contributor or be assigned to a shared Group when the page represents team-managed knowledge.
  • This governance model helps reviewers understand whose terminology, assumptions, and operating logic were used to ground an analysis.

Notion Integration

Bi-directional synchronization is supported to keep local Knowledge Pages in sync with external Notion workspaces. See the dedicated Notion Sync Guide under Settings for setup and workflow details, or browse the broader Integrations overview for related documentation connectors.


  • Introduction: Start with the platform overview and navigation map.
  • Analyses: See how Knowledge Pages are attached to exploratory workflows.
  • Insights: Follow how grounded analysis results become reviewed, publishable facts.
  • Data: Understand how source datasets enter Ravioli before they are analyzed with knowledge context.
  • Integrations: Review external systems that extend Ravioli's AI and documentation capabilities.
  • Notion Sync Guide: Learn the technical details of syncing Knowledge Pages with Notion.