RAG-Powered Knowledge Assistant

Synchronize Knowledge.
Empower Conversations.

Connect your Outline wiki to a high-performance RAG pipeline. Deploy intelligent chatbots that answer questions with precision and speed.

How do I set up my new employee account?
Based on the Onboarding Guide in your Outline wiki:
  • Log in to the internal portal using SSO credentials
  • Complete the mandatory security training module
  • Set up payroll information in the HR system
Core Capabilities

Everything you need for production RAG

Wiki Sync

Auto-sync from Outline with incremental updates.

Vector Search

Semantic retrieval with pgvector.

JWT Security

Secure iframe embedding with signed tokens.

Smart Chunking

Markdown-aware context preservation.

Source Citations

Traceable responses with wiki links.

Admin Dashboard

Full pipeline monitoring and testing.

How it Works

Connect

Link your Outline wiki.

Process

Chunk and embed content.

Retrieve

Semantic search on query.

Respond

Grounded LLM generation.

Seamless Integration

Embed anywhere in minutes

Secure, iframe-based integration with JWT authentication. No complex SDKs or heavy dependencies required.

React Integration
import { useEffect, useState } from 'react';

export default function ChatbotPage() {
  const [botUrl, setBotUrl] = useState('/b/YOUR_BOT_URL');

  useEffect(() => {
    const handleMessage = (event: MessageEvent) => {
      if (event.data.type !== 'cognisync-bot-resize') return;

      const { action } = event.data;
      console.log('Chatbot action:', action);

      // Handle resize actions
      switch(action) {
        case 'maximize':
          // Handle maximize
          break;
        case 'minimize':
          // Handle minimize
          break;
        case 'close':
          // Handle close
          break;
      }
    };

    window.addEventListener('message', handleMessage);
    return () => window.removeEventListener('message', handleMessage);
  }, []);

  return (
    <div className="w-full h-screen">
      <iframe
        src={botUrl}
        title="CogniSync Chatbot"
        style={{
          width: '100%',
          height: '100%',
          border: 'none',
          borderRadius: '8px',
        }}
      />
    </div>
  );
}

Backend Authentication

Generate a secure JWT token on your server to authorize the user.

Drop-in Iframe

Load the chatbot via a lightweight iframe. No impact on your app bundle size.

Isolated Context

The bot operates securely within its own context, communicating safely via postMessage.

For Developers

Modern Architecture

Built on a robust, scalable stack designed for enterprise RAG applications.

Next.js 14 Framework

Server Actions, App Router, and React Server Components for optimal performance.

ReactTypeScriptTailwind

Vector Database

PostgreSQL with pgvector extension for high-performance semantic search.

Prisma ORMpgvectorPostgreSQL

AI Integration

Flexible LLM pipelines supporting Google Gemini and OpenAI models.

Gemini ProEmbeddingsLangChain

Open Source & Deployable

Deploy via Docker, Vercel, or any standard Node.js environment.

Ready to empower your users?