Automation Scripts π‘ BETA
Migration to General Bots Desktop is a manual export-and-verify workflow; the repository ships no automated converter for another vendor.
Overview
| Capability | What ships |
|---|---|
| Surfaces | Chat and Drive only in the government edition (apps=chat,drive) |
| Engines | On this computer, own server or key, free model, subscription agent |
| Data | Local engine keeps text on the machine; other engines are chosen explicitly |
| Install | Offline installer with SHA-256 checked assets in botserver-installers/ |
| Version | 7.1.2 from the root Cargo.toml |
Common Tools
| Tool | Role |
|---|---|
oc |
Copies Drive buckets and documents; credentials come from Vault |
pg_dump / pg_restore |
Moves PostgreSQL data for self-hosted deployments |
| Shell or Python helpers written by the operator | One-off format conversion, kept outside the repository |
git |
Source of truth for .gbdialog scripts and .gbot prompts |
File Transfer
Export documents from the source service to a local folder in /tmp, then copy them into the bot .gbkb prefix with oc. Boot scripts and prompts belong in the bot repository, not in Drive.
Email Migration
Mail into General Bots is handled by the stack mail server (Stalwart) or by a provider configured outside the repository. No mailbox converter ships in this codebase.
Directory Services
The stack uses Zitadel as identity provider in the full product; the government desktop edition signs in with the administrator created by the first-run wizard.
Migration Approach
- Assess which data is documents, conversation logic or settings.
- Choose a tool per category from the table above.
- Execute on a copy; never overwrite the source export.
- Validate by asking the bot questions against the imported documents.
1. Assessment
List the source artifacts and map each one to a Drive document, a .bas script or a configuration value.
2. Tool Selection
Use oc for Drive content, the database tools for structured data and the repository for scripts.
3. Execution
Run each transfer as a small, reversible step and keep the export in /tmp until verification passes.
4. Validation
Ask a small set of questions whose answers exist in the imported documents; check that the bot cites or reproduces them.
General Principles
Move data, not assumptions: an intent list from another vendor is not a General Bots keyword, and a pricing table from another product is not a plan in this repository.
Next Steps
Read Common Migration Concepts and Validation before changing a live deployment.
Limits
- No automated converter for a third-party platform exists in
scripts/. - No operator helper should be committed to the repository root; keep it in
/tmp. - No secret, token or internal address may appear in an export manifest.
- The desktop edition ships Chat and Drive, not the vendor's productivity suite.