Commit graph

102 commits

Author SHA1 Message Date
e8fc78e638 feat: add diesel_migrations and update dependencies
Added diesel_migrations crate (v2.3.0) to enable database migration functionality. Updated Cargo.toml and Cargo.lock to include the new dependency along with its required sub-dependencies (migrations_internals and migrations_macros). Also made minor cleanups in the codebase:
- Removed unused UI code from platform README
- Cleaned up LLM server initialization code
- Added additional build dependencies in documentation
2025-11-12 12:48:06 -03:00
73d0ab3a1a refactor: simplify UI panels, use pooled DB, add --noui flag
- Removed unused `id` and `app_state` fields from `ChatPanel`; updated constructor to accept but ignore the state, reducing memory footprint.
- Switched database access in `ChatPanel` from a raw `Mutex` lock to a connection pool (`app_state.conn.get()`), improving concurrency and error handling.
- Reordered and cleaned up imports in `status_panel.rs` and formatted struct fields for readability.
- Updated VS Code launch configuration to pass `--noui` argument, enabling headless mode for debugging.
- Bumped several crate versions in `Cargo.lock` (e.g., `bitflags` to 2.10.0, `syn` to 2.0.108, `cookie` to 0.16.2) and added the new `ashpd` dependency, aligning the project with latest library releases.
2025-11-11 09:42:52 -03:00
e5ac6b7051 docs: expand session management and add authentication section
Enhanced Chapter 1 documentation with detailed session architecture, storage layers, and API endpoints. Added new Part XI on authentication and security to SUMMARY.md, introducing chapters on user and bot authentication, password security, and API endpoints. Improves clarity and coverage of system interaction and security concepts.
2025-11-03 20:42:38 -03:00
ab8a8b3263 - Docs updated. 2025-10-28 19:47:29 -03:00
4bba9cb268 refactor: update building instructions to include additional dependencies for improved compatibility 2025-10-28 13:04:04 -03:00
5d381df0ea refactor: update directory inclusion in add-req.sh and fix-errors.sh for clarity 2025-10-28 12:44:28 -03:00
4aeea51c0a refactor: remove unused dev-start script and clean up code formatting in mod.rs 2025-10-26 21:47:20 -03:00
8e775cdacb Update documentation to reflect transition from Qdrant to VectorDB, including caching, indexing, and semantic search sections. Add comprehensive overview for Chapter 03. 2025-10-25 20:28:40 -03:00
a50cce7f27 Add templates for authentication, enrollment, and greeting flows with detailed explanations and examples 2025-10-25 16:51:03 -03:00
1056a65dd6 Revise documentation in Chapter 01 to improve clarity and structure, including updates to the installation instructions and session management overview. 2025-10-25 15:59:06 -03:00
e43638d55b Revise FORMAT keyword documentation to enhance clarity and structure, including examples and practical tips for usage. 2025-10-25 15:00:46 -03:00
892d20440e Add comprehensive documentation for GeneralBots, including keyword references, templates, and user guides
- Created detailed markdown files for keywords such as HEAR, TALK, and SET_USER.
- Added examples and usage notes for each keyword to enhance user understanding.
- Developed templates for common tasks like enrollment and authentication.
- Structured documentation into chapters covering various aspects of the GeneralBots platform, including gbapp, gbkb, and gbtheme.
- Introduced a glossary for key terms and concepts related to GeneralBots.
- Implemented a user-friendly table of contents for easy navigation.
2025-10-25 14:50:14 -03:00
b771faca91 - Postgres updated to 18. 2025-10-18 22:25:59 -03:00
09b57aafa0 - Knowledge management. 2025-10-18 18:20:02 -03:00
34c2477ee6 - Added component management. 2025-10-18 09:26:48 -03:00
bb6ecd457c Refactor: remove custom template and add dev-start 2025-10-17 20:32:25 -03:00
09a9c8f3cd Enhance bot memory and Redis guards
- Derive bot_id from BOT_GUID env var
- Guard concurrent runs with Redis
- Read CACHE_URL for Redis connection
- Extend bot memory keyword to accept comma as separator
- Increase LLM timeouts to 180s (local and legacy)
- Update templates to use bot memory (GET_BOT_MEMORY/SET_BOT_MEMORY)
- Fix start script path to announcements.gbai
2025-10-16 14:22:28 -03:00
acd664245b Migrate automations to param and sqlite
- Rename script_name to param in automation flow and DB schema
- Add BotMemory model and bot_memories table
- Remove script_name field from automation
- Enable sqlite support via rusqlite and related crates (optional)
- Update prompts and queries to use param instead of script_name
- Remove deprecated annoucements GBai templates and align add-req.sh
- Refactor main to initialize automation service and simplify startup
2025-10-16 11:43:02 -03:00
60ee933769 Add async Redis context storage and session fetch
- Use `tokio::spawn` to run Redis SET for `SET_CONTEXT` in a background
  task with detailed tracing.
- Move context retrieval from `BotOrchestrator` to `SessionManager`,
  inserting it as a system message in conversation history.
- Remove redundant Redis fetch logic from `BotOrchestrator`.
- Update `DEV.md` to install `valkey-cli`, reorder cargo tools, and
  adjust apt commands.
- Add a `SET_CONTEXT "azul bolinha"` example to the announcements
  template.
2025-10-15 00:01:48 -03:00
16516b23bb Refactor server code and add auth API fixes 2025-10-14 13:51:27 -03:00
3d0e8df36e - New features for start.bas 2025-10-13 17:43:03 -03:00
5ae630521c Enhance streaming with events and warning API
- Introduce event-driven streaming with thinking_start, thinking_end,
  and warn events; skip sending analysis content to clients
- Add /api/warn endpoint to dispatch warnings for sessions and channels;
  web UI displays alerts
- Emit session_start/session_end events over WebSocket and instrument
  logging throughout orchestration
- Update web client: show thinking indicator and warning banners; switch
  LiveKit client URL to CDN
- Extend BotOrchestrator with send_event and send_warning, expand
  session/tool workflow
- Improve REST endpoints for sessions/history with better logging and
  error handling
- Update docs and prompts: DEV.md usage note; adjust dev build_prompt
  script
2025-10-13 00:31:08 -03:00
a1dd7b5826 - Remove all compilation errors. 2025-10-11 12:29:03 -03:00
959f67aa83 - Fixing compilation errors. 2025-10-06 20:06:43 -03:00
6d58491281 Migration to Rust and free from Azure. 2025-10-06 10:30:17 -03:00
c88a240903 Migration to Rust removal of Azure. 2025-10-06 10:29:14 -03:00
a012442db9 Add files via upload 2023-03-06 07:28:03 -03:00
9aaa8662cc fix(all): CI now can compile docs again. 2021-06-13 12:59:39 -03:00
d8591dd025 fix (core.gbapp): nyc removed until unit tests are available. 2020-01-08 19:13:22 -03:00
Joao Antonio Ferreira
f0d26289f5 WIP: NPM packages updates to latest versions 2019-12-31 16:12:06 -03:00
ff73b3a6f2 feat(webchat): Update of webchat to the newer version 4. 2018-12-12 20:40:33 -02:00
85a76a34f9 Add files via upload 2018-12-03 14:49:46 -02:00
90f3d09174 Add files via upload 2018-12-03 14:47:31 -02:00
3a84186359 Add files via upload 2018-11-11 14:58:21 -02:00
Rodrigo Rodriguez (pragmatismo.io)
995015a46a Merge branch 'master' of https://github.com/pragmatismo-io/botserver 2018-11-05 14:27:19 -02:00
Rodrigo Rodriguez (pragmatismo.io)
51c79a8155 Cleaning and redeploy. 2018-11-05 14:23:36 -02:00
83abe5b9fd Set theme jekyll-theme-minimal 2018-10-24 09:21:34 -03:00
5b79f2b92c Add files via upload 2018-10-17 19:50:52 -03:00
d65f4e0c6a Add files via upload 2018-10-17 19:40:59 -03:00
0df370cd28 Add files via upload 2018-10-15 14:11:20 -03:00
fd3bf3f27d Merge branch 'master' of https://github.com/pragmatismo-io/botserver 2018-09-16 20:27:46 -03:00
839d052aad Updated docs and published on NPM. 2018-09-16 20:26:07 -03:00
0dad8f6a3e Add files via upload 2018-09-01 21:07:03 -03:00
2066a089dc Add files via upload 2018-09-01 21:04:50 -03:00
b3408c9eb6 Add files via upload 2018-09-01 20:45:25 -03:00
e2b24830c2 Add files via upload 2018-09-01 18:44:28 -03:00
a6cc49d6b7 Add files via upload 2018-08-30 11:40:08 -03:00
61db960170 Add files via upload 2018-08-30 11:33:48 -03:00
c83fbc2bf1 Delete Use Visual Studio Code To Keep All Packages in a .gbai workspace.png 2018-08-30 11:32:47 -03:00
974cd84411 Add files via upload 2018-08-30 11:31:20 -03:00