botbook/src/08-config
Rodrigo Rodriguez (Pragmatismo) 60fe68a693
All checks were successful
GBCI / build (push) Successful in 11s
Update WhatsApp rate limits documentation with Meta official specs
- Document 1 message per 6 seconds per recipient
- Add burst mode explanation (45 messages in 6s)
- Document error 131056 and retry strategy
- Add automatic queue management info
2026-03-09 19:17:50 -03:00
..
config-csv.md Update: General project updates 2025-12-06 11:09:12 -03:00
context-config.md Update: General project updates 2025-12-06 11:09:12 -03:00
drive.md Update: General project updates 2025-12-06 11:09:12 -03:00
llm-config.md Lowercase botserver/botbook references, add bottemplates repo, update autonomous tasks docs 2025-12-12 23:18:36 -03:00
minio.md Lowercase botserver/botbook references, add bottemplates repo, update autonomous tasks docs 2025-12-12 23:18:36 -03:00
multimodal.md Update: General project updates 2025-12-06 11:09:12 -03:00
parameters.md Update: General project updates 2025-12-06 11:09:12 -03:00
README.md docs: add ON EMAIL and ON CHANGE keyword documentation 2025-12-18 16:18:04 -03:00
secrets-management.md docs: Add JWT secret rotation and security considerations 2026-02-19 19:42:15 +00:00
sms-providers.md Update SMS documentation with priority support 6.1.0 2025-12-10 18:22:37 -03:00
sources-sync-strategy.md docs: add ON EMAIL and ON CHANGE keyword documentation 2025-12-18 16:18:04 -03:00
system-limits.md docs: add ON EMAIL and ON CHANGE keyword documentation 2025-12-18 16:18:04 -03:00
teams-channel.md Update: General project updates 2025-12-06 11:09:12 -03:00
whatsapp-channel.md Update WhatsApp rate limits documentation with Meta official specs 2026-03-09 19:17:50 -03:00

Bot Configuration

This chapter covers bot configuration through the config.csv file system. 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