generalbots/botbook/src/10-configuration-deployment
Rodrigo Rodriguez (Pragmatismo) 037db5c381 feat: Major workspace reorganization and documentation update
- Add comprehensive documentation in botbook/ with 12 chapters
- Add botapp/ Tauri desktop application
- Add botdevice/ IoT device support
- Add botlib/ shared library crate
- Add botmodels/ Python ML models service
- Add botplugin/ browser extension
- Add botserver/ reorganized server code
- Add bottemplates/ bot templates
- Add bottest/ integration tests
- Add botui/ web UI server
- Add CI/CD workflows in .forgejo/workflows/
- Add AGENTS.md and PROD.md documentation
- Add dependency management scripts (DEPENDENCIES.sh/ps1)
- Remove legacy src/ structure and migrations
- Clean up temporary and backup files
2026-04-19 08:14:25 -03:00
..
config-csv.md feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
context-config.md feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
drive.md feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
llm-config.md feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
minio.md feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
multimodal.md feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
parameters.md feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
README.md feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
secrets-management.md feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
sms-providers.md feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
sources-sync-strategy.md feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
system-limits.md feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
teams-channel.md feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
whatsapp-channel.md feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00

Chapter 10: Configuration & Deployment

This chapter covers bot configuration and deployment options. Each bot's behavior is controlled by a simple CSV configuration file in its .gbot package.

Configuration System

botserver uses a straightforward name-value CSV format for configuration:

name,value
setting_name,setting_value
another_setting,another_value

File Location

mybot.gbai/
└── mybot.gbot/
    └── config.csv

Configuration Categories

Server Settings

  • Web server binding and ports
  • Site generation paths
  • Service endpoints

LLM Configuration

  • Model paths (local GGUF files)
  • Service URLs
  • Cache settings
  • Server parameters (when embedded)

Prompt Management

  • Context compaction levels
  • History retention
  • Token management

Email Integration

  • SMTP server settings
  • Authentication credentials
  • Sender configuration

Theme Customization

  • Color schemes
  • Logo URLs
  • Bot titles

Custom Database

  • External database connections
  • Authentication details

Key Features

Simple Format

  • Plain CSV with name-value pairs
  • No complex syntax
  • Human-readable

Flexible Structure

  • Empty rows for visual grouping
  • Optional settings with defaults
  • Extensible for custom needs

Local-First

  • Designed for local LLM models
  • Self-hosted services
  • No cloud dependency by default

Example Configurations

Minimal Setup

Just the essentials to run a bot:

name,value
llm-url,http://localhost:8081
llm-model,../../../../data/llm/model.gguf

Production Setup

Full configuration with all services:

name,value
,
server_host,0.0.0.0
server_port,8080
,
llm-url,http://localhost:8081
llm-model,../../../../data/llm/production-model.gguf
llm-cache,true
,
email-server,smtp.company.com
email-from,bot@company.com
,
theme-title,Company Assistant

Configuration Philosophy

  1. Defaults Work: Most settings have sensible defaults
  2. Local First: Assumes local services, not cloud APIs
  3. Simple Values: All values are strings, parsed as needed
  4. No Magic: What you see is what you get

See Also


General Bots