Perplexity Migration Guide π‘ BETA
This guide maps Perplexity-style search over documents to a private knowledge base with citations from source files.
Overview
This guide maps search-and-answer workflows to a private knowledge base in General Bots Desktop.
Why Migrate
The reason is where documents and text live: the local engine keeps both on the machine, and the knowledge base is made of files in the bot repository.
Feature Comparison
| Area | General Bots Desktop |
|---|---|
| Search and Q&A | Questions answered from .gbkb/ documents |
| Sources | The imported files themselves |
| Web search | Optional in the full product; not a default of the desktop edition |
| Deep research | No dedicated workflow is documented here |
Search and Q&A
Ask a question in Chat and check the answer against the imported document; retrieval behaviour is configured under botserver/src/core/bot/kb_context/.
What Perplexity Does
The source service is a hosted answer engine; this page does not restate its features or pricing.
What General Bots Does
It answers from the documents you provide, using the engine selected in Settings.
Migration Approach
- Export the documents that should be searchable.
- Place them under
.gbkb/in the bot bucket. - Ask a fixed question set and compare with the source.
- Keep the local engine when no text may leave the machine.
Step 1: Build Your Knowledge Base
Use oc with Vault credentials to copy documents into {bot}.gbai/{bot}.gbkb/docs/.
Step 2: Configure RAG
Retrieval keys live under botserver/src/core/bot/kb_context/; no chunk size or top-k value is published here.
Step 3: Add Web Search (Optional)
Web search is a setting in the full product and appears only when the product offers it; it is off by default in the reduced edition.
Recreating Perplexity Features
| Feature | Handling |
|---|---|
| Focus modes | Separate knowledge bases per topic |
| Collections | Topic folders in .gbkb/ |
| Pro search | No dedicated deep-research workflow documented |
| Citations | Name the source document in the answer when the prompt asks for it |
Focus Modes
Create one bot or one knowledge-base topic per focus area.
Collections
Use topic folders rather than a special collection object.
Pro Search (Deep Research)
No deep-research keyword or workflow is documented in this repository.
Citation and Sources
Ask the bot to name the source file; the documents remain the authority.
What You Gain
- A private document store on the user machine
- An explicit privacy line for each engine
- Scripts and prompts versioned in git
Private Knowledge Base
Documents live in the bot Drive prefix and are not sent anywhere while the local engine is selected.
Custom AI Behavior
Write the expected behaviour in PROMPT.md in the bot repository.
Multi-Channel Deployment
Chat and Drive in the desktop edition; other channels in the full platform.
Automation Beyond Q&A
Tools and BASIC scripts where the full platform is deployed.
API for Integration
Chat uses keywords, tools and app commands, not raw REST.
Migration Checklist
- Export the source documents.
- Copy them into
.gbkb/and verify a fixed question set. - Select the engine and read the privacy line.
- Commit the bot prompt.
- Deploy and verify in a fresh session.
Pre-Migration
Record the product version 7.1.2 from the root Cargo.toml.
Migration
Keep scripts and prompts in the bot repository; do not edit the materialized work-dir copy.
Post-Migration
Compare answers with the source before switching users.
Example: Complete Search Assistant
A search assistant is a bot with topic documents in .gbkb/, a prompt that names sources, and the local engine selected for private data.
Best Practices
Use authoritative source documents, avoid stale files, and verify answers in a fresh session.
See Also
Authority: DESIGN-SYSTEM.md Β§0, lite/04-settings.md, root AGENTS.md and botserver/src/core/bot/kb_context/.
Limits
- No web-search default, deep-research workflow, chunk size or embedding name is documented here.
- No competitor price or date is published.
- The local engine is required when document text must not leave the machine.