Skip to content

Glossary 🟑 BETA

This page defines the terms used in the four guides and points to the generated reference when a keyword's status matters.

The four BotBook guides: this glossary serves all of them.

  1. Find the term by its initial below.
  2. For a BASIC name, open the generated reference to check whether it is registered, a rewrite, a compiler directive or documented only.
  3. For an app title, open the generated registry.

A

  • ADD SUGGESTION β€” rewrite that sends a suggestion button in chat. Implemented in the messaging keyword crate.
  • ADD TOOL β€” advertised name with no registration; use USE TOOL.
  • Auto-bootstrap β€” the first-run sequence that creates botserver-stack/ and installs the pinned components.

B

  • BASIC β€” the script language for .bas files; it runs on Rhai. Verified forms are in the generated reference.
  • BOOK β€” a keyword form listed in the generated grammar summary.
  • Bot Memory β€” data scoped to one bot, accessed with SET BOT MEMORY and GET BOT MEMORY.
  • Bot Package β€” the set of .gbot, .gbdialog, .gbkb and .gbdrive prefixes under a workspace in Drive.
  • Bootstrap β€” first-run installation and seeding; see Installation.
  • BROADCAST TO BOTS β€” advertised name with no registration; the generated reference lists it as documented only.

C

  • Cache β€” the Valkey component used for active session data and suggestions.
  • Collection β€” a folder under .gbkb/ that holds documents for a bot.
  • config.csv β€” key-value configuration inside the bot's .gbot/ folder.
  • Context β€” prompt, history and retrieved content assembled for a turn.
  • CREATE DRAFT / CREATE TASK β€” keyword forms listed in the generated grammar summary.

D

  • Dialog β€” a .bas script containing BASIC statements such as TALK and HEAR.
  • Drive β€” the S3-compatible object store that holds bot files.

E

  • Embedding β€” text represented as a vector for similarity search.
  • Event handler β€” BASIC code attached to a trigger; use the keyword forms in the generated reference.

F

  • FIND β€” registered BASIC keyword that searches table data; see the data family.

G

  • .gbai β€” workspace prefix that holds one or more bots in Drive.
  • .gbdialog β€” prefix holding start.bas and tool scripts.
  • .gbdrive β€” prefix holding generated files and media.
  • .gbkb β€” prefix holding documents used when the bot answers.
  • .gbot β€” prefix holding config.csv and PROMPT-{CHANNEL}.md.
  • .gbtheme β€” optional UI customization prefix.
  • GET β€” HTTP keyword form; see the http family.
  • GET BOT MEMORY / GET USER MEMORY β€” registered read forms in the data family.
  • GraphQL β€” registered keyword form in the http family.

The General Bots mark.

H

  • HEAR β€” registered keyword that waits for and captures user input.
  • HTMX β€” the library used by the suite for fragment updates without full page reloads.

I

  • INSERT β€” registered keyword that adds table records.
  • Intent β€” the request the assistant infers from the prompt, history and available tools.

K

  • Keyword β€” a BASIC name. Status is registered, alias-of-rewrite, directive or documented-only; check the generated reference.
  • Knowledge Base (KB) β€” the documents under .gbkb/ that a bot can use in an answer.

L

  • LLM β€” the language model that writes the reply; its settings live in Vault.
  • LiveKit β€” the component used by the Meet app.
  • llama.cpp β€” the local inference runtime when a local model is selected.
  • Local-first β€” the stack installs under botserver-stack/; bot files live in Drive.

M

  • MCP β€” Model Context Protocol; a bot's .mcp.json can declare tools for an agent turn.
  • Memory β€” separate scopes: bot, user and session. The Memory app page describes the user-facing surface.
  • Model Routing β€” USE MODEL selects a model from configuration; see the agent family.

N

  • No Forms β€” tool inputs can be collected in a conversation. It is not a claim that every product screen has been replaced.

O

  • OIDC β€” OpenID Connect, handled by the directory service.
  • ON β€” the keyword prefix for event handlers; verify the exact form in the generated reference.

P

  • Package Manager β€” the component layer that installs and reloads bot prefixes from Drive.
  • PARAM / DESCRIPTION β€” compiler directives for a tool's inputs and purpose.
  • PostgreSQL β€” the database for users, sessions, messages and structured records.
  • POST β€” registered HTTP keyword form.

Q

  • Qdrant β€” the vector store used by retrieval.

R

  • RAG β€” retrieval of relevant bot documents before the assistant writes an answer; configuration keys live in botserver/src/core/bot/kb_context/.
  • Reranking β€” re-scoring retrieved candidates. It is not implemented in the retrieval path; the configuration sits in an unconnected crate. See Retrieval and RAG.
  • Rhai β€” the scripting engine behind BASIC.

S

  • SAVE β€” registered keyword that writes data to a file or table.
  • SEND MAIL β€” registered keyword in the social and messaging family.
  • Session β€” one user, one bot and one thread; see Sessions and Channels.
  • SET / SET BOT MEMORY / SET CONTEXT / SET USER MEMORY β€” write forms; check each in the generated reference.
  • SET SCHEDULE β€” name listed in the generated grammar summary.
  • Stalwart β€” the mail server component.
  • Suite β€” the workspace UI that hosts Chat, Drive and the other apps.

T

  • TALK β€” registered keyword that writes a message to the user.
  • Template β€” a source bot under bottemplates/ used as a starting point.
  • Token β€” a unit of text processed by a language model; context limits are measured in tokens.
  • Tool β€” a .bas file whose PARAM and DESCRIPTION declarations make it callable by the assistant.
  • TRANSFER CONVERSATION β€” advertised name with no registration in the generated reference.

U

  • UPDATE β€” registered keyword that modifies table records.
  • USE KB β€” registered keyword that selects a knowledge collection.
  • USE MODEL β€” registered keyword that selects a model from configuration.
  • USE TOOL β€” registered keyword that makes a tool available to the assistant.
  • User Memory β€” data scoped to one user across sessions.

V

  • Vault β€” the secrets service; the component id is vault and only VAULT_* variables belong in .env.
  • Vector β€” a numeric representation of text used for similarity search.
  • Vector Database β€” a store optimized for vectors; Qdrant is the component used here.

W

  • WAIT β€” keyword form in the generated grammar summary.
  • WEBHOOK β€” keyword form for an HTTP trigger; verify its registered status in the generated reference.
  • WebSocket β€” the real-time chat transport at /ws.

Z

  • Zitadel β€” the identity service used for users and authentication.

Package Extensions

Extension Purpose
.gbai Workspace prefix holding one or more bots
.gbdialog BASIC scripts
.gbkb Knowledge base documents
.gbot Bot configuration and channel prompts
.gbtheme UI customization
.gbdrive Generated files and media
.bas BASIC script file

Common Confusions

  1. Do I need containers? No for a basic stack; Incus is needed for agent VMs and terminals. See Container Deployment.
  2. What database? PostgreSQL, installed by the bootstrap process. Component versions come from botserver/3rdparty.toml.
  3. Is BASIC really BASIC? It is inspired by BASIC and runs on Rhai. The generated reference is the authority for a keyword's status.
  4. Can I write another language? Scripts are BASIC; integrations also use the REST API. Generated routes are listed in the REST reference.
  5. Which apps are supported? Read the status in the app registry; a 🟑 PREVIEW marker is not a support promise.