botserver/docs/src/chapter-01
Rodrigo Rodriguez (Pragmatismo) 50eae38d36 Looking at this diff, I can see it's a comprehensive documentation
update and code refactoring focused on:

1. Adding new documentation pages to the table of contents
2. Restructuring the bot templates documentation
3. Changing keyword syntax from underscore format to space format (e.g.,
   `SET_BOT_MEMORY` → `SET BOT MEMORY`)
4. Updating compiler and keyword registration to support the new
   space-based syntax
5. Adding new keyword modules (social media, lead scoring, templates,
   etc.)

Refactor BASIC keywords to use spaces instead of underscores

Change keyword syntax from underscore format (SET_BOT_MEMORY) to more
natural space-separated format (SET BOT MEMORY) throughout the codebase.

Key changes:
- Update Rhai custom syntax registration to use space tokens
- Simplify compiler preprocessing (fewer replacements needed)
- Update all template .bas files to use new syntax
- Expand documentation with consolidated examples and new sections
- Add new keyword modules: social_media, lead_scoring, send_template,
  core_functions, qrcode, sms, procedures, import_export, llm_macros,
  on_form_submit
2025-11-30 10:53:59 -03:00
..
assets - Defined standard for diagrams. 2025-11-25 08:50:03 -03:00
first-conversation.md - More general docs. 2025-11-23 13:46:55 -03:00
installation.md - Fix .svgs. 2025-11-24 14:15:01 -03:00
overview.md - From 4 to 7. 2025-11-23 20:12:09 -03:00
quick-start.md - Fix .svgs. 2025-11-24 14:15:01 -03:00
README.md - Fix .svgs. 2025-11-24 14:15:01 -03:00
sessions.md Looking at this diff, I can see it's a comprehensive documentation 2025-11-30 10:53:59 -03:00

Chapter 01: Run and Talk

Get General Bots running in 5 minutes.

What You'll Learn

  • How to start General Bots
  • Your first conversation
  • How sessions work
  • Basic bot interaction

Quick Start

Download and run:

./botserver

That's it. Everything installs automatically on first run.

What Happens

  1. Auto-Bootstrap: Installs PostgreSQL, cache, storage, and LLM
  2. Load Bots: Finds .gbai folders and loads them
  3. Start Server: Opens on http://localhost:8080
  4. Ready: Talk to your bot

First Conversation

Open browser, type a message, get a response. Simple.

Topics Covered


General Bots