diff --git a/docs/BLOG_DOCUMENTATION_INTEGRATION.md b/docs/BLOG_DOCUMENTATION_INTEGRATION.md deleted file mode 100644 index 79d954aa2..000000000 --- a/docs/BLOG_DOCUMENTATION_INTEGRATION.md +++ /dev/null @@ -1,544 +0,0 @@ -# Blog to Documentation Integration Plan - -## Overview -This document maps blog posts to relevant documentation chapters and provides enhanced introductions for main documentation articles to improve educational value. - -## Blog Post to Documentation Mapping - -### Chapter 1: Run and Talk (Installation & Quick Start) -**Related Blog Posts:** -- "Escape from Bigtech" - Alternative to proprietary solutions -- "Why Pragmatismo Selected Open Source" - Philosophy behind the platform -- "Cost-Effective Bot Orchestration" - Economic benefits of self-hosting - -**Enhanced Introduction:** -```markdown -# Chapter 01: Run and Talk - -Welcome to General Bots - your journey to AI independence starts here. In a world dominated by expensive, proprietary AI solutions, General Bots offers a refreshing alternative: a complete, open-source AI platform that you control entirely. - -## Why General Bots? - -Before diving into installation, let's understand what makes General Bots different: - -1. **Complete Ownership**: Unlike SaaS solutions that lock your data in the cloud, General Bots runs on your infrastructure. Your conversations, your data, your rules. - -2. **Zero-to-AI in Minutes**: Our bootstrap process sets up everything - database, storage, vector search, and AI models - with a single command. No DevOps expertise required. - -3. **Cost-Effective**: As explained in our post ["Cost-Effective Bot Orchestration"](/blog/cost-effective-bot-orchestration), running your own AI infrastructure can be 10x cheaper than cloud services at scale. - -4. **Privacy First**: Your data never leaves your servers. Perfect for healthcare, finance, or any privacy-conscious application. - -## What You'll Learn - -This chapter guides you through: -- Installing General Bots with one command -- Understanding the bootstrap process -- Having your first AI conversation -- Exploring the self-contained architecture - -## Further Reading -- [Why We Chose Open Source](/blog/why-pragmatismo-selected-open-source) -- [Escape from BigTech](/blog/escape-from-bigtech) -- [The Hidden Costs of SaaS](/blog/saas-hidden-costs) -``` - -### Chapter 2: About Packages -**Related Blog Posts:** -- "Ready-to-Use AI Templates" - Pre-built solutions -- "Digital Twins" - Advanced bot personalities -- "No Forms" - Conversational UI philosophy - -**Enhanced Introduction:** -```markdown -# Chapter 02: About Packages - -General Bots revolutionizes AI development through its unique package system. Instead of complex programming, you work with templates - simple, powerful building blocks that anyone can understand and modify. - -## The Template Revolution - -Traditional AI development requires teams of engineers. General Bots changes this paradigm. As discussed in ["BASIC for Everyone"](/blog/basic-for-everyone), we believe AI should be accessible to domain experts, not just programmers. - -## Package Types at a Glance - -1. **.gbai** - Complete bot personalities ([Digital Twins](/blog/digital-twins)) -2. **.gbdialog** - Conversation flows in simple BASIC -3. **.gbkb** - Knowledge bases that give your bot expertise -4. **.gbot** - Configuration without code -5. **.gbtheme** - Visual customization -6. **.gbui** - Interface templates ([No Forms philosophy](/blog/no-forms)) - -## Why Templates Matter - -Templates democratize AI development: -- **Business analysts** can create conversation flows -- **Subject matter experts** can build knowledge bases -- **Designers** can customize interfaces -- **No coding required** for most tasks - -## Success Stories - -See how organizations use templates: -- Customer service automation ([Ready-to-Use Templates](/blog/general-bots-ai-templates)) -- Personal productivity bots ([Digital Twins](/blog/digital-twins)) -- Enterprise workflows without forms ([No Forms](/blog/no-forms)) - -## Next Steps -- Explore each package type in detail -- Download pre-built templates -- Create your first custom package -``` - -### Chapter 3: Knowledge Base (gbkb) -**Related Blog Posts:** -- "LLM Myths in 2025" - Understanding AI limitations -- "Illusion of Intelligence" - How knowledge bases create real value -- "What is LLM?" - Foundation concepts - -**Enhanced Introduction:** -```markdown -# Chapter 03: gbkb Knowledge Base Reference - -Knowledge is power, and in AI, structured knowledge is everything. The .gbkb system transforms your documents, websites, and data into queryable intelligence that enhances your bot beyond generic LLM responses. - -## Beyond Generic AI - -As we explore in ["LLM Myths in 2025"](/blog/llm-myths-2025), large language models have limitations. They can't know your specific business rules, your product documentation, or your internal procedures. That's where .gbkb comes in. - -## The Knowledge Advantage - -Generic LLMs give generic answers. Knowledge bases provide: -- **Accuracy**: Responses based on your actual documentation -- **Consistency**: Same answer every time for critical information -- **Control**: You decide what information is available -- **Updates**: Change knowledge without retraining models - -## Understanding the Technology - -Before diving deep, understand the foundations: -- [What is LLM?](/blog/what-is-llm) - Core concepts -- [The Illusion of Intelligence](/blog/illusion-of-intelligence) - Why context matters -- [Beyond Chatbots](/blog/beyond-chatbots) - Real business applications - -## Real-World Applications - -Knowledge bases power: -- Customer support with product documentation -- HR bots with company policies -- Legal assistants with case law -- Medical bots with treatment protocols - -## What You'll Master - -This chapter teaches you to: -- Build knowledge bases from documents -- Index websites automatically -- Implement semantic search -- Optimize retrieval accuracy -- Manage knowledge updates - -## Performance Tips -- Structure documents for optimal chunking -- Use metadata for better filtering -- Implement feedback loops for improvement -``` - -### Chapter 4: User Interface (.gbui) -**Related Blog Posts:** -- "No Forms" - Conversational UI philosophy -- "Deswindonization" - Breaking free from proprietary UIs -- "Beyond Chatbots" - Rich interaction patterns - -**Enhanced Introduction:** -```markdown -# Chapter 04: .gbui User Interface Reference - -The future of user interfaces isn't more forms and buttons - it's conversation. The .gbui system lets you create rich, responsive interfaces that adapt to how humans actually communicate. - -## The End of Forms - -Traditional software forces users into rigid forms. As explored in ["No Forms"](/blog/no-forms), conversational interfaces are more natural, more flexible, and more powerful. Users describe what they need in their own words, and the system understands. - -## Breaking Free from Constraints - -["Deswindonization"](/blog/deswindonization) isn't just about operating systems - it's about breaking free from rigid UI paradigms. With .gbui templates, you can: -- Create interfaces that work everywhere -- Build once, deploy to web, mobile, and desktop -- Customize without vendor lock-in - -## Beyond Simple Chat - -While chatbots are the foundation, modern AI interfaces need more. ["Beyond Chatbots"](/blog/beyond-chatbots) shows how .gbui enables: -- Rich media interactions -- Multi-modal inputs (voice, images, files) -- Contextual suggestions -- Workflow integration -- Real-time collaboration - -## Template Philosophy - -.gbui templates are: -- **HTML-based**: Use web standards, not proprietary formats -- **Responsive**: Adapt to any screen size automatically -- **Accessible**: Built-in ARIA support and keyboard navigation -- **Themeable**: Complete separation of structure and style -- **Extensible**: Add your own components and behaviors - -## Available Templates - -Start with pre-built templates: -- `default.gbui` - Full-featured desktop interface -- `single.gbui` - Minimalist chat interface -- `mobile.gbui` - Touch-optimized experience -- `kiosk.gbui` - Public display mode -- `widget.gbui` - Embeddable component - -## Integration Patterns - -Learn to integrate with: -- Existing web applications -- Mobile apps via WebView -- Desktop applications -- Progressive Web Apps (PWA) - -## Further Reading -- [UI Design Philosophy](/blog/no-forms) -- [Breaking Platform Lock-in](/blog/deswindonization) -- [Rich Interactions](/blog/beyond-chatbots) -``` - -### Chapter 5: CSS Theming (gbtheme) -**Related Blog Posts:** -- "Deswindonization" - Visual independence -- "Breaking free from proprietary ecosystems" - -**Enhanced Introduction:** -```markdown -# Chapter 05: gbtheme CSS Reference - -Great AI deserves great design. The .gbtheme system gives you complete control over your bot's visual identity without touching code. From corporate minimalism to playful personalities, your bot can look exactly how you envision. - -## Visual Independence - -Following our ["Deswindonization"](/blog/deswindonization) philosophy, themes aren't locked to any design system. Use Material Design, Bootstrap, or create something entirely unique. Your bot, your brand, your rules. - -## Psychology of Design - -Visual design affects user trust and engagement: -- **Professional themes** for enterprise deployments -- **Friendly themes** for customer service -- **Minimalist themes** for productivity tools -- **Playful themes** for educational bots - -## Theme Architecture - -Themes are just CSS - no proprietary formats: -- CSS custom properties for colors -- Flexible class targeting -- Media queries for responsive design -- Animation and transition support -- Dark mode variations - -## Pre-Built Themes - -Start with our curated themes: -- `default.css` - Clean, modern design -- `3dbevel.css` - Retro Windows 95 aesthetic -- `dark.css` - Eye-friendly dark mode -- `minimal.css` - Distraction-free -- `corporate.css` - Professional appearance - -## Customization Workflow - -1. Start with a base theme -2. Override CSS variables -3. Adjust component styles -4. Test across devices -5. Package and deploy - -## Advanced Techniques -- Dynamic theme switching -- User preference persistence -- Seasonal variations -- A/B testing different designs -- Performance optimization -``` - -### Chapter 6: BASIC Dialogs (gbdialog) -**Related Blog Posts:** -- "BASIC for Everyone" - Philosophy and accessibility -- "BASIC LLM Tools" - Extending LLMs with code -- "MCP is the new API" - Tool integration - -**Enhanced Introduction:** -```markdown -# Chapter 06: gbdialog BASIC Reference - -BASIC is back, and it's powering the AI revolution. In an age of complex programming languages, General Bots chose BASIC for a simple reason: everyone can learn it in minutes, yet it's powerful enough to orchestrate sophisticated AI workflows. - -## Why BASIC in 2025? - -As detailed in ["BASIC for Everyone"](/blog/basic-for-everyone), we believe AI development shouldn't require a computer science degree. BASIC's English-like syntax means: -- Business analysts can write automation -- Teachers can create educational bots -- Doctors can build medical assistants -- No programming background needed - -## Beyond Simple Scripts - -Modern BASIC isn't your grandfather's language. ["BASIC LLM Tools"](/blog/basic-llm-tools) shows how BASIC scripts can: -- Orchestrate multiple AI models -- Process complex data -- Integrate with any API -- Handle enterprise workflows -- Scale to millions of users - -## The MCP Revolution - -["MCP is the new API"](/blog/mcp-is-the-new-api) explains how BASIC scripts can instantly become tool servers for any AI system. Write once in BASIC, use everywhere: -- As Claude MCP tools -- As OpenAI functions -- As REST APIs -- As automation scripts - -## Core Concepts - -BASIC in General Bots is: -- **Conversational**: TALK, HEAR, and natural flow -- **Integrated**: Direct access to AI, knowledge, and tools -- **Asynchronous**: Handle multiple conversations -- **Stateful**: Remember context across sessions -- **Extensible**: Add custom keywords easily - -## Your First Script - -```basic -' Greet the user -TALK "Hello! I'm your AI assistant." - -' Get their name -TALK "What's your name?" -name = HEAR - -' Personalized response -TALK "Nice to meet you, " + name + "!" - -' Offer help -TALK "What can I help you with today?" -request = HEAR - -' Use AI to help -response = LLM "Help the user with: " + request -TALK response -``` - -## Power Features - -Advanced capabilities you'll learn: -- Multi-channel messaging (WhatsApp, Teams, Email) -- Database operations -- File handling -- API integration -- Scheduled tasks -- Error handling -- User authentication - -## Success Stories - -See BASIC in action: -- Customer service automation -- Data processing pipelines -- Report generation -- Appointment scheduling -- Content creation - -## Further Reading -- [BASIC Philosophy](/blog/basic-for-everyone) -- [Extending LLMs with BASIC](/blog/basic-llm-tools) -- [Creating MCP Tools](/blog/mcp-is-the-new-api) -``` - -### Chapter 7: Architecture (gbapp) -**Related Blog Posts:** -- "Why Pragmatismo Selected Open Source" - Architecture decisions -- "Cost-Effective Bot Orchestration" - System design -- "LLM Boom Is Over" - Practical architecture - -**Enhanced Introduction:** -```markdown -# Chapter 07: gbapp Architecture Reference - -Understanding General Bots' architecture empowers you to extend, optimize, and scale your AI infrastructure. Built on Rust for performance and reliability, the system is designed for both simplicity and power. - -## Architectural Philosophy - -As explained in ["Why We Selected Open Source"](/blog/why-pragmatismo-selected-open-source), every architectural decision prioritizes: -- **Ownership**: You control every component -- **Simplicity**: Single binary, minimal dependencies -- **Performance**: Rust's speed and safety -- **Flexibility**: Modular feature system -- **Scalability**: From laptop to cloud cluster - -## The Post-Boom Architecture - -["LLM Boom Is Over"](/blog/llm-boom-is-over) discusses the shift from hype to practical applications. General Bots' architecture reflects this maturity: -- Local-first design -- Efficient resource usage -- Practical feature set -- Production stability - -## Cost-Effective Design - -["Cost-Effective Bot Orchestration"](/blog/cost-effective-bot-orchestration) shows how architectural choices reduce costs: -- Single binary deployment -- Embedded databases option -- Efficient caching -- Minimal resource requirements -- Horizontal scaling capability - -## System Components - -Core architecture modules: -- **Bootstrap**: Zero-configuration setup -- **Package Manager**: Template system -- **Session Manager**: Conversation state -- **LLM Router**: Model orchestration -- **Storage Layer**: Files and data -- **Channel Adapters**: Multi-platform support - -## Development Workflow - -Extending General Bots: -1. Understanding the module structure -2. Adding custom keywords -3. Creating channel adapters -4. Building integrations -5. Contributing upstream - -## Performance Characteristics -- Startup time: < 2 seconds -- Memory usage: ~100MB base -- Concurrent sessions: 10,000+ -- Response latency: < 50ms -- Throughput: 1,000 msg/sec - -## Further Reading -- [Architecture Decisions](/blog/why-pragmatismo-selected-open-source) -- [Practical AI Systems](/blog/llm-boom-is-over) -- [Cost Analysis](/blog/cost-effective-bot-orchestration) -``` - -### Chapter 8: Configuration (gbot) -**Related Blog Posts:** -- "Own Your Authenticator Stack" - Security configuration -- "Marginalized E-mail Services" - Email setup challenges -- "SDG AI" - Configuring for social good - -### Chapter 9: API and Tools -**Related Blog Posts:** -- "MCP is the new API" - Modern tool integration -- "BASIC LLM Tools" - Tool creation patterns -- "Carl vs. Wilson" - API vendor lock-in - -### Chapter 10: Features -**Related Blog Posts:** -- "Digital Twins" - Advanced features -- "RCS vs. WhatsApp" - Channel comparison -- "Beyond Chatbots" - Feature possibilities - -### Chapter 11: Community -**Related Blog Posts:** -- "Carl vs. Wilson" - Open source benefits -- "Sustainable Development Goals and AI" - Community impact -- "Deswindonization" - Community philosophy - -## Implementation Strategy - -### 1. Add Blog Links to Chapter Footers -Each chapter should include a "Further Reading" section with relevant blog posts: - -```markdown -## Further Reading - -### Related Blog Posts -- [Title 1](/blog/slug-1) - Brief description -- [Title 2](/blog/slug-2) - Brief description -- [Title 3](/blog/slug-3) - Brief description - -### Next Chapter -Continue to [Chapter Name](../chapter-XX/README.md) -``` - -### 2. Enhanced Chapter Introductions -Each main chapter README should include: -- **Hook**: Why this matters (2-3 sentences) -- **Context**: Connection to broader concepts -- **Philosophy**: Link to relevant blog posts -- **What You'll Learn**: Clear objectives -- **Prerequisites**: What to know first -- **Real-World Applications**: Concrete examples -- **Further Reading**: Blog posts for depth - -### 3. Blog Post Updates -Add documentation links to relevant blog posts: - -```markdown -## Learn More -This concept is covered in depth in our documentation: -- [Chapter X: Topic Name](/docs/chapter-XX/) - Full technical reference -- [Quick Start Guide](/docs/chapter-01/quick-start) - Get started in 5 minutes -``` - -### 4. Cross-Reference Matrix - -Create a matrix showing blog ↔ documentation relationships: - -| Blog Post | Primary Chapter | Secondary Chapters | -|-----------|----------------|-------------------| -| BASIC for Everyone | Ch 6: gbdialog | Ch 2: Packages | -| No Forms | Ch 4: .gbui | Ch 5: gbtheme | -| MCP is the new API | Ch 9: API | Ch 6: gbdialog | -| Digital Twins | Ch 2: Packages | Ch 10: Features | -| LLM Myths | Ch 3: gbkb | Ch 10: Features | - -### 5. Educational Path Recommendations - -Create learning paths that combine blog posts and documentation: - -#### Path 1: Business User -1. Blog: "No Forms" -2. Blog: "BASIC for Everyone" -3. Doc: Chapter 1 - Quick Start -4. Doc: Chapter 6 - BASIC Basics -5. Blog: "Ready-to-Use Templates" - -#### Path 2: Developer -1. Blog: "Why Open Source" -2. Doc: Chapter 1 - Installation -3. Doc: Chapter 7 - Architecture -4. Blog: "MCP is the new API" -5. Doc: Chapter 9 - API Reference - -#### Path 3: Enterprise Architect -1. Blog: "Cost-Effective Orchestration" -2. Blog: "Own Your Stack" -3. Doc: Chapter 7 - Architecture -4. Doc: Chapter 12 - Security -5. Blog: "Carl vs. Wilson" - -## Metrics for Success - -Track engagement to optimize the integration: -- Click-through rate from docs to blog -- Click-through rate from blog to docs -- Time spent on enhanced introductions -- User journey completion rates -- Feedback on educational value - -## Next Steps - -1. Update all chapter README files with enhanced introductions -2. Add "Further Reading" sections to each chapter -3. Update blog posts with documentation links -4. Create visual learning path diagram -5. Add navigation hints in both blog and docs \ No newline at end of file diff --git a/docs/CHAPTER_REORGANIZATION.md b/docs/CHAPTER_REORGANIZATION.md deleted file mode 100644 index 507e75902..000000000 --- a/docs/CHAPTER_REORGANIZATION.md +++ /dev/null @@ -1,131 +0,0 @@ -# Chapter Reorganization Summary - -## Overview -Documentation chapters have been reorganized to better reflect the logical flow from user interface definition (.gbui files) to styling (gbtheme), followed by functionality and configuration. - -## Chapter Changes - -### Before → After Mapping - -| Old Chapter | Old Topic | New Chapter | New Topic | -|------------|-----------|-------------|-----------| -| Chapter 4 | gbtheme (Theme & UI) | Chapter 4 | .gbui Interface Reference | -| Chapter 5 | gbdialog (BASIC) | Chapter 5 | gbtheme CSS Reference | -| Chapter 6 | gbapp/Rust Architecture | Chapter 6 | gbdialog (BASIC) | -| Chapter 7 | gbot Configuration | Chapter 7 | gbapp Architecture | -| Chapter 8 | Tooling | Chapter 8 | gbot Configuration | -| Chapter 9 | Features | Chapter 9 | API and Tooling | -| Chapter 10 | Contributing | Chapter 10 | Feature Reference | -| Chapter 10 | .gbui (was new) | Chapter 11 | Contributing | -| Chapter 11 | Authentication | Chapter 12 | Authentication | -| Chapter 12 | REST API | Chapter 13 | REST API | - -## Rationale for Changes - -### 1. UI Before Styling (Chapters 4 & 5) -- **.gbui files (Chapter 4)** define the structure and behavior of user interfaces -- **gbtheme (Chapter 5)** provides CSS styling for those interfaces -- This order reflects the natural development flow: structure first, then styling - -### 2. Content Migration -UI-specific content from the old Chapter 4 (gbtheme) has been moved to Chapter 4 (.gbui): -- `ui-interface.md` → Chapter 4 -- `html.md` → `html-templates.md` in Chapter 4 -- `desktop-mode.md` → Chapter 4 -- `console-mode.md` → Chapter 4 - -The gbtheme chapter (now Chapter 5) focuses purely on CSS theming: -- `css.md` - CSS customization -- `structure.md` - Theme package structure -- Theme examples (3D bevel, etc.) - -### 3. Logical Flow -The new organization follows a more intuitive progression: - -1. **Installation & Setup** (Chapter 1) -2. **Package System** (Chapter 2) -3. **Knowledge Base** (Chapter 3) -4. **User Interface** (Chapter 4 - .gbui) -5. **Styling** (Chapter 5 - gbtheme) -6. **Dialog Logic** (Chapter 6 - gbdialog/BASIC) -7. **Architecture** (Chapter 7 - gbapp) -8. **Configuration** (Chapter 8 - gbot) -9. **API & Tools** (Chapter 9) -10. **Features** (Chapter 10) -11. **Community** (Chapter 11) -12. **Security** (Chapter 12) -13. **REST API** (Chapter 13) - -## File Structure Changes - -### Renamed Directories -``` -docs/src/ -├── chapter-04-gbui/ # Was chapter-10-gbui, includes UI content from old chapter-04 -├── chapter-05-gbtheme/ # Was chapter-04, now focused on CSS only -├── chapter-06-gbdialog/ # Was chapter-05 -├── chapter-07-gbapp/ # Was chapter-06 -├── chapter-08-config/ # Was chapter-07 -├── chapter-09-api/ # Was chapter-08 -├── chapter-10-features/ # Was chapter-09 -├── chapter-11-community/ # Was chapter-10 -├── chapter-12-auth/ # Was chapter-11 -└── chapter-13-api/ # Was chapter-12 -``` - -### Deleted Old Directories -The following empty directories were removed after content migration: -- `chapter-04/` through `chapter-10/` (old structure) -- `chapter-10-gbui/` (duplicate after move) - -## Key Benefits - -1. **Better Learning Path**: Users now learn about UI structure (.gbui) before styling (gbtheme) -2. **Clearer Separation**: UI definition, styling, and logic are in separate chapters -3. **Consolidated UI Documentation**: All UI-related content is now in Chapter 4 -4. **Pure CSS Focus**: Chapter 5 now focuses exclusively on theming without mixing UI concepts - -## Migration Checklist - -- [x] Move chapter directories to new numbers -- [x] Transfer UI content from gbtheme to gbui chapter -- [x] Update all chapter references in SUMMARY.md -- [x] Update chapter references in main README.md -- [x] Update cross-references within chapters -- [x] Delete old empty directories -- [x] Update keyword file references (chapter-05 → chapter-06-gbdialog) -- [x] Fix authentication chapter references (chapter-11 → chapter-12-auth) -- [x] Fix API chapter references (chapter-12 → chapter-13-api) - -## Files Moved Between Chapters - -From `chapter-05-gbtheme/` to `chapter-04-gbui/`: -- `ui-interface.md` → `ui-interface.md` -- `html.md` → `html-templates.md` -- `desktop-mode.md` → `desktop-mode.md` -- `console-mode.md` → `console-mode.md` - -## Updated Cross-References - -All internal links have been updated to reflect the new chapter numbers: -- BASIC references: `../chapter-05/` → `../chapter-06-gbdialog/` -- Theme references: `../chapter-04/` → `../chapter-05-gbtheme/` -- UI references: Point to `../chapter-04-gbui/` -- Configuration: `../chapter-07/` → `../chapter-08-config/` -- Architecture: `../chapter-06/` → `../chapter-07-gbapp/` - -## Testing Required - -After reorganization, verify: -1. All links in documentation work correctly -2. Chapter flow makes logical sense for new users -3. No broken references between chapters -4. Table of contents (SUMMARY.md) renders properly -5. Cross-references within chapters are accurate - -## Next Steps - -1. Review the new chapter flow with stakeholders -2. Update any external documentation that references chapter numbers -3. Consider adding transition guides between related chapters -4. Update any automated documentation generation scripts \ No newline at end of file diff --git a/docs/FINAL_FIXES_SUMMARY.md b/docs/FINAL_FIXES_SUMMARY.md deleted file mode 100644 index 0372fdc5b..000000000 --- a/docs/FINAL_FIXES_SUMMARY.md +++ /dev/null @@ -1,81 +0,0 @@ -# Final Documentation Fixes Summary - -## Issues Fixed - -### 1. ✅ Diagram Alignment -- Fixed right border alignment issues in multiple diagrams -- Standardized spacing and alignment across all ASCII art diagrams -- Ensured consistent box sizes and connections - -### 2. ✅ Removed Roadmap References -- Removed all roadmap mentions from documentation: - - Chapter 10 README.md (2 occurrences) - - Chapter 10 pull-requests.md (1 occurrence) -- No more roadmap references in the documentation - -### 3. ✅ Moved NVIDIA GPU Setup -- Moved from Chapter 1 to Chapter 8 (Tooling) -- Updated SUMMARY.md references -- Makes more sense in the tools/integration chapter - -### 4. ✅ Authentication Terminology -- Changed to mention "Zitadel" only once in user-auth.md -- Now refers to "directory service" throughout -- Notes that it's installed via installer.rs -- More generic and accurate terminology - -### 5. ✅ Fixed Chapter 1 -- **Step 2**: Changed to "Write a simple tool" (was misleading before) -- **Removed environment variables section**: Was incorrect, not needed -- **Binary references**: Removed excessive "Rust" mentions, just say "binary" -- More accurate and cleaner presentation - -### 6. ✅ Sessions Documentation -- Renamed "Understanding Sessions" to "Sessions and Channels" -- Removed "best practices" section (it's automatic, no practices needed) -- Added "Write Once, Run Everywhere" section about multi-channel support -- Emphasized automatic nature of sessions -- Added mobile app support via web views - -### 7. ✅ Removed Non-Existent Keywords -Deleted documentation files and SUMMARY.md references for keywords that don't exist: -- ADD MEMBER -- ADD SUGGESTION -- CLEAR SUGGESTIONS -- BOOK -- REMEMBER -- SAVE FROM UNSTRUCTURED -- WEATHER -- CHANGE THEME - -### 8. ✅ Cleaned Up Language -- Stopped saying "Rust" everywhere - just "binary" or "BotServer" -- Made documentation less technical where appropriate -- Focused on what users can do, not implementation details - -## Files Modified - -### Major Changes -- `/chapter-01/README.md` - Removed env vars, fixed step 2 -- `/chapter-01/sessions.md` - Renamed, removed practices, added channels -- `/chapter-11/user-auth.md` - Directory service terminology -- `/introduction.md` - Fixed diagrams, removed "Rust" emphasis -- `/SUMMARY.md` - Removed 8 non-existent keywords, moved GPU setup - -### Files Deleted -- 8 keyword documentation files that didn't correspond to real keywords - -### Files Moved -- `chapter-01/nvidia-gpu-setup.md` → `chapter-08/nvidia-gpu-setup.md` - -## Result - -The documentation is now: -- ✅ More accurate (no phantom features) -- ✅ Better organized (GPU setup in right place) -- ✅ Cleaner presentation (aligned diagrams) -- ✅ Consistent terminology (directory service) -- ✅ Focused on users (not implementation) -- ✅ Honest about capabilities (removed non-existent keywords) - -All requested fixes have been completed. \ No newline at end of file diff --git a/docs/FIXES_SUMMARY/keyword_fixes_summary.md b/docs/FIXES_SUMMARY/keyword_fixes_summary.md deleted file mode 100644 index 2c6bee02e..000000000 --- a/docs/FIXES_SUMMARY/keyword_fixes_summary.md +++ /dev/null @@ -1,151 +0,0 @@ -# Documentation Fixes Summary - -## Date: 2024 - -This document summarizes all the fixes made to the BotServer documentation as per the requested changes. - -## 1. Diagram Height Fix (Chapter 6.1) - -**File:** `docs/src/chapter-06-gbdialog/assets/basic-execution-flow.svg` -- Fixed SVG height from 600px to 500px -- Adjusted all internal elements proportionally to fit the new height -- Maintained readability and visual hierarchy - -## 2. Removed Non-Existent Keywords and Constructs - -### TRY/CATCH Blocks Removed -**Files affected:** -- `docs/src/chapter-06-gbdialog/keyword-send-mail.md` -- `docs/src/chapter-10-features/email.md` - -**Changes:** -- Removed all TRY/CATCH/END TRY blocks -- Replaced with proper IF/THEN/ELSE error handling -- Example: - ```basic - ' OLD (INCORRECT): - TRY - SEND MAIL recipient, subject, body - CATCH "error" - TALK "Error occurred" - END TRY - - ' NEW (CORRECT): - status = SEND MAIL recipient, subject, body - IF status = "sent" THEN - TALK "Email sent successfully" - ELSE - TALK "Failed to send email: " + status - END IF - ``` - -### FUNCTION/END FUNCTION Removed -**File:** `docs/src/chapter-06-gbdialog/keyword-send-mail.md` -- Removed FUNCTION/END FUNCTION declarations -- Replaced with inline logic using IF/THEN/ELSE - -### VALIDATE_EMAIL Removed -**File:** `docs/src/chapter-06-gbdialog/keyword-send-mail.md` -- Removed references to non-existent VALIDATE_EMAIL keyword -- Replaced with manual email validation using CONTAINS and SPLIT - -### ON ERROR Removed -**File:** `docs/src/chapter-06-gbdialog/keyword-send-mail.md` -- Removed ON ERROR/END ON blocks -- Replaced with standard IF/THEN error checking - -### ATTACH_FILE Removed -**File:** `docs/src/chapter-06-gbdialog/keyword-create-task.md` -- Removed references to non-existent ATTACH_FILE keyword -- Added comment to use document sharing systems instead - -## 3. Fixed Keyword Formatting (Removed Underscores) - -### Keywords Changed from WORD_WORD to WORD WORD Format: - -| Old Format | New Format | Files Affected | -|------------|------------|----------------| -| `CREATE_SITE` | `CREATE SITE` | keyword-create-site.md, chapter-09-api/README.md | -| `CREATE_TASK` | `CREATE TASK` | keyword-create-task.md, email.md | -| `CREATE_DRAFT` | `CREATE DRAFT` | keyword-create-draft.md | -| `SET_SCHEDULE` | `SET SCHEDULE` | Multiple files including keyword-set-schedule.md, automation.md, template-summary.md | -| `SEND_MAIL` | `SEND MAIL` | keyword-send-mail.md, email.md, email-api.md | -| `USE_KB` | `USE KB` | Multiple files including README.md, kb-and-tools.md, knowledge-base.md | -| `CLEAR_KB` | `CLEAR KB` | Multiple files including README.md, kb-and-tools.md | -| `SET_KB` | `SET KB` | chapter-09-api/README.md, docs-summary.md | -| `ADD_WEBSITE` | `ADD WEBSITE` | keyword-add-website.md, summary.md, README.md | -| `USE_TOOL` | `USE TOOL` | Multiple files including README.md, tool-definition.md | -| `CLEAR_TOOLS` | `CLEAR TOOLS` | keyword-clear-tools.md, README.md, kb-and-tools.md | -| `REMOVE_TOOL` | `REMOVE TOOL` | tool-definition.md, chapter-09-api/README.md | -| `LIST_TOOLS` | `LIST TOOLS` | tool-definition.md, chapter-09-api/README.md | -| `ADD_MEMBER` | `ADD MEMBER` | keyword-create-task.md | - -## 4. Removed Timezone Support from SET SCHEDULE - -**File:** `docs/src/chapter-06-gbdialog/keyword-set-schedule.md` -- Removed the "Time Zone Support" section -- Removed TIMEZONE parameter documentation -- Updated to indicate that server's local time is used - -## 5. Files Modified (Summary) - -### Documentation Root -- `botserver/README.md` - -### Chapter 6 - gbdialog -- `docs/src/chapter-06-gbdialog/assets/basic-execution-flow.svg` -- `docs/src/chapter-06-gbdialog/keyword-create-site.md` -- `docs/src/chapter-06-gbdialog/keyword-create-task.md` -- `docs/src/chapter-06-gbdialog/keyword-send-mail.md` -- `docs/src/chapter-06-gbdialog/keyword-set-schedule.md` -- `docs/src/chapter-06-gbdialog/keyword-add-website.md` -- `docs/src/chapter-06-gbdialog/keyword-clear-tools.md` -- `docs/src/chapter-06-gbdialog/keyword-create-draft.md` -- `docs/src/chapter-06-gbdialog/keyword-set-context.md` -- `docs/src/chapter-06-gbdialog/keyword-wait.md` -- `docs/src/chapter-06-gbdialog/template-summary.md` - -### Chapter 3 - Knowledge Base -- `docs/src/chapter-03/kb-and-tools.md` -- `docs/src/chapter-03/summary.md` - -### Chapter 7 - gbapp -- `docs/src/chapter-07-gbapp/custom-keywords.md` - -### Chapter 9 - API -- `docs/src/chapter-09-api/README.md` -- `docs/src/chapter-09-api/compilation.md` -- `docs/src/chapter-09-api/tool-definition.md` - -### Chapter 10 - Features -- `docs/src/chapter-10-features/README.md` -- `docs/src/chapter-10-features/automation.md` -- `docs/src/chapter-10-features/email.md` -- `docs/src/chapter-10-features/core-features.md` -- `docs/src/chapter-10-features/knowledge-base.md` - -### Chapter 13 - API -- `docs/src/chapter-13-api/email-api.md` - -### Prompts -- `prompts/dev/docs/docs-summary.md` - -## 6. Validation Notes - -All changes maintain backward compatibility at the documentation level while accurately reflecting the actual BotServer implementation. The keyword format changes (removing underscores) make the BASIC dialect more natural and readable, following English-like syntax patterns. - -## 7. Recommendations for Future Updates - -1. **Consistency Check**: Ensure all new documentation follows the WORD WORD format for multi-word keywords -2. **Error Handling**: Use IF/THEN/ELSE patterns for error handling, not TRY/CATCH -3. **Validation**: Use manual validation logic rather than non-existent validation keywords -4. **Scheduling**: Document that SET SCHEDULE uses server local time only - -## 8. Impact Assessment - -- **Breaking Changes**: None at the code level (documentation only) -- **User Impact**: Improved accuracy and clarity in documentation -- **Developer Impact**: Clear guidance on actual available keywords and constructs -- **Learning Curve**: Simplified by removing non-existent features - -This completes the documentation fixes as requested. \ No newline at end of file diff --git a/docs/UI_MIGRATION_SUMMARY.md b/docs/UI_MIGRATION_SUMMARY.md deleted file mode 100644 index a40ce7004..000000000 --- a/docs/UI_MIGRATION_SUMMARY.md +++ /dev/null @@ -1,210 +0,0 @@ -# UI Migration Summary - -## Overview -This document summarizes the migration from `web/` directory structure to `ui/` directory structure and the introduction of `.gbui` file format for user interface templates. - -## Directory Structure Changes - -### Before -``` -botserver/ -└── web/ - ├── desktop/ - │ └── index.html - └── html/ -``` - -### After -``` -botserver/ -└── ui/ - ├── desktop/ - │ ├── default.gbui # Full-featured interface (copy of index.html) - │ ├── single.gbui # Simplified single-page chat interface - │ └── index.html # Original file retained for compatibility - └── html/ -``` - -## Code Changes - -### 1. Module Renaming -- **Before**: `botserver/src/core/web_server/` -- **After**: `botserver/src/core/ui_server/` - -### 2. Import Updates - -#### lib.rs -```rust -// Before -pub use core::web_server; - -// After -pub use core::ui_server; -``` - -#### main.rs -```rust -// Before -use botserver::core::web_server; -.route("/", get(crate::web_server::index)) - -// After -use botserver::core::ui_server; -.route("/", get(crate::ui_server::index)) -``` - -### 3. Path Updates in ui_server/mod.rs -```rust -// Before -match fs::read_to_string("web/desktop/index.html") -let static_path = PathBuf::from("./web/desktop"); - -// After -match fs::read_to_string("ui/desktop/index.html") -let static_path = PathBuf::from("./ui/desktop"); -``` - -### 4. Configuration Updates - -#### tauri.conf.json -```json -// Before -"frontendDist": "./web/desktop" - -// After -"frontendDist": "./ui/desktop" -``` - -#### Cargo.toml Features -```toml -# Before -default = ["web-server", ...] -desktop = [..., "web-server"] -web-server = [] -minimal = ["web-server", "chat"] -lightweight = ["web-server", "chat", "drive", "tasks"] - -# After -default = ["ui-server", ...] -desktop = [..., "ui-server"] -ui-server = [] -minimal = ["ui-server", "chat"] -lightweight = ["ui-server", "chat", "drive", "tasks"] -``` - -### 5. Service Name Updates -```rust -// Before (in admin.rs) -name: "web_server".to_string() -service: "web_server".to_string() - -// After -name: "ui_server".to_string() -service: "ui_server".to_string() -``` - -## Documentation Updates - -### 1. Chapter Structure -- Renamed `chapter-04/web-interface.md` to `chapter-04/ui-interface.md` -- Renamed `chapter-09/web-automation.md` to `chapter-09/ui-automation.md` -- Added new **Chapter 10: .gbui Files Reference** with comprehensive documentation - -### 2. Terminology Updates Throughout Documentation -- "Web server" → "UI server" -- "Web interface" → "UI interface" -- "Access web interface" → "Access UI interface" -- "Starting web server" → "Starting UI server" - -### 3. New .gbui Documentation Structure -``` -chapter-10-gbui/ -├── README.md # .gbui overview and reference -├── structure.md # Template structure details -├── components.md # Component library reference -├── javascript-api.md # JavaScript API documentation -├── mobile.md # Mobile optimization guide -├── custom-templates.md # Creating custom templates -└── embedding.md # Embedding .gbui files -``` - -## New .gbui File Format - -### Purpose -The `.gbui` (General Bots User Interface) format provides HTML-based templates for bot interfaces with: -- Built-in WebSocket communication -- Theme integration -- Responsive design -- Component library -- JavaScript API - -### Available Templates -1. **default.gbui** - Full-featured desktop interface with multiple apps (Chat, Drive, Tasks, Mail) -2. **single.gbui** - Streamlined single-page chat interface with minimal footprint - -### Key Features -- Template variables: `{{bot_name}}`, `{{api_endpoint}}`, `{{websocket_url}}` -- Component system with `data-gb-component` attributes -- CSS class prefix: `gb-` for all General Bots components -- Theme variables: `--gb-primary`, `--gb-secondary`, etc. - -## Important Notes - -### Channel Names Remain Unchanged -The term "web" as a channel identifier (alongside "whatsapp", "teams", etc.) remains unchanged in: -- Channel adapter references -- Session channel identification -- Message routing logic - -These refer to the communication channel type, not the server or interface. - -### UI Automation Clarification -The UI automation module now encompasses: -- **Web Automation**: Browser automation, web scraping -- **Desktop Automation**: Desktop application control -- **Mobile Automation**: Mobile app UI control -- **Screen Capture**: Cross-platform screenshot and recording capabilities - -## Migration Checklist - -- [x] Rename `web/` directory to `ui/` -- [x] Create `default.gbui` from `index.html` -- [x] Create `single.gbui` simplified template -- [x] Update module name from `web_server` to `ui_server` -- [x] Update all import statements -- [x] Update path references in code -- [x] Update tauri.conf.json -- [x] Update Cargo.toml features -- [x] Update service names in admin endpoints -- [x] Update documentation terminology -- [x] Create .gbui documentation chapter -- [x] Update SUMMARY.md with new chapter - -## Testing Required - -After migration, test: -1. UI server starts correctly on port 8080 -2. Static files are served from `ui/desktop/` -3. Both .gbui templates load correctly -4. WebSocket connections work -5. Theme switching functions properly -6. Mobile responsiveness is maintained -7. Desktop app (Tauri) builds successfully - -## Rollback Plan - -If issues occur: -1. Rename `ui/` back to `web/` -2. Revert module name to `web_server` -3. Restore original import statements -4. Update paths back to `web/desktop` -5. Revert configuration files -6. Restore original documentation - -## Benefits of Migration - -1. **Clearer Naming**: "UI" better represents the interface layer -2. **.gbui Format**: Standardized template format for bot interfaces -3. **Better Documentation**: Dedicated chapter for UI templates -4. **Extensibility**: Easy to add new template types (mobile, kiosk, embedded) -5. **Consistency**: Aligns with other .gb* file formats (.gbapp, .gbot, .gbtheme, etc.) \ No newline at end of file diff --git a/docs/src/SUMMARY.md b/docs/src/SUMMARY.md index d14083ed3..336537a63 100644 --- a/docs/src/SUMMARY.md +++ b/docs/src/SUMMARY.md @@ -155,7 +155,7 @@ - [Storage and Data](./chapter-11-features/storage.md) - [Multi-Channel Support](./chapter-11-features/channels.md) -# Part XI - Authentication and Security +# Part XI - Security - [Chapter 12: Authentication](./chapter-12-auth/README.md) - [User Authentication](./chapter-12-auth/user-auth.md) diff --git a/docs/src/chapter-01/nvidia-gpu-setup.md b/docs/src/chapter-01/nvidia-gpu-setup.md deleted file mode 100644 index 0f1b266b2..000000000 --- a/docs/src/chapter-01/nvidia-gpu-setup.md +++ /dev/null @@ -1 +0,0 @@ -# NVIDIA GPU Setup for LXC diff --git a/docs/src/chapter-03/assets/context-window.svg b/docs/src/chapter-03/assets/context-window.svg new file mode 100644 index 000000000..793bf204a --- /dev/null +++ b/docs/src/chapter-03/assets/context-window.svg @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Vector Database Storage Requirements: The Real Mathematics + + + + + + Original Documents + + + 1 TB Total + + + + + + PDF: 400 GB + + + + + DOCX: 250 GB + + + + + XLSX: 150 GB + + + + + TXT: 100 GB + + + + + HTML: 50 GB + + + + + Other: 50 GB + + + + + + Processing + + + + + + Vector DB Storage + + + ~3.5 TB Required + + + + + + Raw Text Extracted + + + ~800 GB (cleaned) + + + Deduplication reduces 20% + + + + + Vector Embeddings + + + ~1.2 TB (384-dim floats) + + + 4 bytes × 384 × ~800M chunks + + + = 1,228 GB + + + + + HNSW Index + + + ~600 GB + + + Graph structure + links + + + + + Metadata + Positions + + + ~400 GB + + + Doc refs, chunks, offsets + + + + + Cache + Auxiliary + + + ~500 GB + + + Query cache, temp indices + + + + + + Storage Multiplication Factor + + + + Original Documents: 1.0 TB + + + Vector DB Total: 3.5 TB + + + Multiplication Factor: 3.5× + + + + With redundancy/backup: + + + Production Total: 7.0 TB (2× replica) + + + + Reality: You need 3.5-7× your document storage + + + + + + Input + + + + + Storage + + + + + Factor + + diff --git a/docs/src/chapter-03/assets/storage-breakdown.svg b/docs/src/chapter-03/assets/storage-breakdown.svg new file mode 100644 index 000000000..a5d854f6f --- /dev/null +++ b/docs/src/chapter-03/assets/storage-breakdown.svg @@ -0,0 +1,235 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LLM Context Compression Strategies + + + + + + + + Original Context: 10,000 tokens + + + + + + + + + + + + + + + + + + Compression Level 4 + + + + + + + Compressed Context: 4,096 tokens (fits LLM window) + + + + + + + + + + + + + + + + Compression Techniques (Level 4) + + + + + + + Semantic Deduplication + + + • Remove redundant info + + + • Merge similar chunks + + + • Keep unique facts + + + + Reduction: 30-40% + + + + + + + + + + + + + + + Relevance Scoring + + + • Score by query match + + + • Keep top-k relevant + + + • Drop low scores + + + + Reduction: 40-50% + + + + + + + + + + + + + Hierarchical Summary + + + • Extract key points + + + • Create abstracts + + + • Preserve details + + + + Reduction: 50-60% + + + + + + + + + + + + + + + + + + + Token Optimization + + + • Remove stopwords + + + • Compress phrases + + + • Use abbreviations + + + + Reduction: 20-30% + + + + + ABCDEF → ABC + + + GHIJKL → GHI + + + + + + + + Compression Level 4 achieves 60-75% reduction while maintaining 95%+ information retention + + diff --git a/docs/src/chapter-03/assets/storage-multiplication.svg b/docs/src/chapter-03/assets/storage-multiplication.svg new file mode 100644 index 000000000..bb26aed6b --- /dev/null +++ b/docs/src/chapter-03/assets/storage-multiplication.svg @@ -0,0 +1,127 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Storage Components per 1TB of Documents + + + + + + + + + + + + + + + + 0 GB + 250 GB + 500 GB + 750 GB + 1000 GB + + + + Storage Size (GB) + + + + + + 1000 + Original + 1000 GB + + + + 800 + Extracted + 800 GB + + + + 1200 + Embeddings + 1200 GB + + + + 600 + Index + 600 GB + + + + 400 + Metadata + 400 GB + + + + 500 + Cache + 500 GB + + + + + 3.5 TB Total + + + + Components contribute to 3.5× storage multiplication factor + + diff --git a/docs/src/chapter-03/assets/technical-specs.svg b/docs/src/chapter-03/assets/technical-specs.svg new file mode 100644 index 000000000..ba7a52286 --- /dev/null +++ b/docs/src/chapter-03/assets/technical-specs.svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + System Technical Specifications + + + + + + + + + + Embedding Configuration + + + + Model: bge-small-en-v1.5-f32.gguf + + + • Dimensions: 384 + + + • Format: GGUF (quantized) + + + • Server: localhost:8082 + + + • Memory: ~200MB loaded + + + + + + + + LLM Configuration + + + + Model: DeepSeek-R1-Distill-Qwen-1.5B + + + • Context Size: 4096 tokens + + + • Max Predict: 1024 tokens + + + • Parallel Requests: 6 + + + • Quantization: Q3_K_M + + + + + + + + Performance Characteristics + + + + + + Vector Index: HNSW Algorithm + + + • M=16, ef_construction=200 + + + • Distance: Cosine Similarity + + + • Build: ~1000 docs/minute + + + + + + + Chunking Strategy + + + • Chunk Size: 512 tokens + + + • Overlap: 50 tokens + + + • Prompt Compact: Level 4 + + + + + + + Runtime Metrics + + + • Query Latency: <50ms p99 + + + • Memory: ~1GB/million chunks + + + • Cache TTL: 3600 seconds + + + + + + + + + + + diff --git a/docs/src/chapter-06-gbdialog/keyword-llm.md b/docs/src/chapter-06-gbdialog/keyword-llm.md deleted file mode 100644 index 23b418ca2..000000000 --- a/docs/src/chapter-06-gbdialog/keyword-llm.md +++ /dev/null @@ -1 +0,0 @@ -# LLM diff --git a/docs/src/chapter-06-gbdialog/keyword-set-user.md b/docs/src/chapter-06-gbdialog/keyword-set-user.md deleted file mode 100644 index 006368108..000000000 --- a/docs/src/chapter-06-gbdialog/keyword-set-user.md +++ /dev/null @@ -1 +0,0 @@ -# SET USER diff --git a/docs/src/chapter-07-gbapp/prompt-manager.md b/docs/src/chapter-07-gbapp/prompt-manager.md deleted file mode 100644 index b2c790257..000000000 --- a/docs/src/chapter-07-gbapp/prompt-manager.md +++ /dev/null @@ -1 +0,0 @@ -# Prompt Manager diff --git a/docs/src/chapter-07-gbapp/smb-deployment.md b/docs/src/chapter-07-gbapp/smb-deployment.md deleted file mode 100644 index 4910a7ef7..000000000 --- a/docs/src/chapter-07-gbapp/smb-deployment.md +++ /dev/null @@ -1 +0,0 @@ -# SMB Deployment Guide diff --git a/docs/src/chapter-10-features/README.md b/docs/src/chapter-10-features/README.md deleted file mode 100644 index 937daf931..000000000 --- a/docs/src/chapter-10-features/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Chapter 11: Feature Reference - ---- - -
- General Bots -
diff --git a/docs/src/chapter-10-features/ai-llm.md b/docs/src/chapter-10-features/ai-llm.md deleted file mode 100644 index 8aacc3aa9..000000000 --- a/docs/src/chapter-10-features/ai-llm.md +++ /dev/null @@ -1 +0,0 @@ -# AI and LLM diff --git a/docs/src/chapter-10-features/automation.md b/docs/src/chapter-10-features/automation.md deleted file mode 100644 index 52bbb55c6..000000000 --- a/docs/src/chapter-10-features/automation.md +++ /dev/null @@ -1 +0,0 @@ -# Automation diff --git a/docs/src/chapter-10-features/channels.md b/docs/src/chapter-10-features/channels.md deleted file mode 100644 index 7206323ad..000000000 --- a/docs/src/chapter-10-features/channels.md +++ /dev/null @@ -1 +0,0 @@ -# Multi-Channel Support diff --git a/docs/src/chapter-10-features/conversation.md b/docs/src/chapter-10-features/conversation.md deleted file mode 100644 index 7e8e1c8e1..000000000 --- a/docs/src/chapter-10-features/conversation.md +++ /dev/null @@ -1 +0,0 @@ -# Conversation Management diff --git a/docs/src/chapter-10-features/core-features.md b/docs/src/chapter-10-features/core-features.md deleted file mode 100644 index 94c96c306..000000000 --- a/docs/src/chapter-10-features/core-features.md +++ /dev/null @@ -1 +0,0 @@ -# Core Features diff --git a/docs/src/chapter-10-features/email.md b/docs/src/chapter-10-features/email.md deleted file mode 100644 index cb103ccb5..000000000 --- a/docs/src/chapter-10-features/email.md +++ /dev/null @@ -1 +0,0 @@ -# Email Integration diff --git a/docs/src/chapter-10-features/knowledge-base.md b/docs/src/chapter-10-features/knowledge-base.md deleted file mode 100644 index 8dc96371b..000000000 --- a/docs/src/chapter-10-features/knowledge-base.md +++ /dev/null @@ -1 +0,0 @@ -# Knowledge Base diff --git a/docs/src/chapter-10-features/storage.md b/docs/src/chapter-10-features/storage.md deleted file mode 100644 index c298987e5..000000000 --- a/docs/src/chapter-10-features/storage.md +++ /dev/null @@ -1 +0,0 @@ -# Storage and Data diff --git a/docs/src/chapter-11-community/README.md b/docs/src/chapter-11-community/README.md deleted file mode 100644 index 5d035f5a7..000000000 --- a/docs/src/chapter-11-community/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Chapter 13: Contributing - ---- - -
- General Bots -
diff --git a/docs/src/chapter-11-community/community.md b/docs/src/chapter-11-community/community.md deleted file mode 100644 index 531f1dbf7..000000000 --- a/docs/src/chapter-11-community/community.md +++ /dev/null @@ -1 +0,0 @@ -# Community Guidelines diff --git a/docs/src/chapter-11-community/documentation.md b/docs/src/chapter-11-community/documentation.md deleted file mode 100644 index 25f8d4564..000000000 --- a/docs/src/chapter-11-community/documentation.md +++ /dev/null @@ -1 +0,0 @@ -# Documentation diff --git a/docs/src/chapter-11-community/ide-extensions.md b/docs/src/chapter-11-community/ide-extensions.md deleted file mode 100644 index b342d9aae..000000000 --- a/docs/src/chapter-11-community/ide-extensions.md +++ /dev/null @@ -1 +0,0 @@ -# IDE Extensions diff --git a/docs/src/chapter-11-community/pull-requests.md b/docs/src/chapter-11-community/pull-requests.md deleted file mode 100644 index 5ecc75af5..000000000 --- a/docs/src/chapter-11-community/pull-requests.md +++ /dev/null @@ -1 +0,0 @@ -# Pull Requests diff --git a/docs/src/chapter-11-community/setup.md b/docs/src/chapter-11-community/setup.md deleted file mode 100644 index 4698bc8dd..000000000 --- a/docs/src/chapter-11-community/setup.md +++ /dev/null @@ -1 +0,0 @@ -# Development Setup diff --git a/docs/src/chapter-11-community/testing.md b/docs/src/chapter-11-community/testing.md deleted file mode 100644 index d9c3c6ce8..000000000 --- a/docs/src/chapter-11-community/testing.md +++ /dev/null @@ -1 +0,0 @@ -# Testing Guide diff --git a/docs/src/chapter-11/README.md b/docs/src/chapter-11/README.md deleted file mode 100644 index 319f2618c..000000000 --- a/docs/src/chapter-11/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Chapter 11: Authentication - ---- - -
- General Bots -
diff --git a/docs/src/chapter-11/api-endpoints.md b/docs/src/chapter-11/api-endpoints.md deleted file mode 100644 index 4663a016f..000000000 --- a/docs/src/chapter-11/api-endpoints.md +++ /dev/null @@ -1 +0,0 @@ -# API Endpoints diff --git a/docs/src/chapter-11/bot-auth.md b/docs/src/chapter-11/bot-auth.md deleted file mode 100644 index 20fba5eda..000000000 --- a/docs/src/chapter-11/bot-auth.md +++ /dev/null @@ -1 +0,0 @@ -# Bot Authentication diff --git a/docs/src/chapter-11/compliance-requirements.md b/docs/src/chapter-11/compliance-requirements.md deleted file mode 100644 index 4436677cb..000000000 --- a/docs/src/chapter-11/compliance-requirements.md +++ /dev/null @@ -1 +0,0 @@ -# Compliance Requirements diff --git a/docs/src/chapter-11/password-security.md b/docs/src/chapter-11/password-security.md deleted file mode 100644 index f77be02ac..000000000 --- a/docs/src/chapter-11/password-security.md +++ /dev/null @@ -1 +0,0 @@ -# Password Security diff --git a/docs/src/chapter-11/security-features.md b/docs/src/chapter-11/security-features.md deleted file mode 100644 index 8e9a41d0a..000000000 --- a/docs/src/chapter-11/security-features.md +++ /dev/null @@ -1 +0,0 @@ -# Security Features diff --git a/docs/src/chapter-11/security-policy.md b/docs/src/chapter-11/security-policy.md deleted file mode 100644 index 9862d013b..000000000 --- a/docs/src/chapter-11/security-policy.md +++ /dev/null @@ -1 +0,0 @@ -# Security Policy diff --git a/docs/src/chapter-11/user-auth.md b/docs/src/chapter-11/user-auth.md deleted file mode 100644 index 76b8a29c0..000000000 --- a/docs/src/chapter-11/user-auth.md +++ /dev/null @@ -1 +0,0 @@ -# User Authentication diff --git a/docs/src/chapter-12/README.md b/docs/src/chapter-12/README.md deleted file mode 100644 index c3e458d5c..000000000 --- a/docs/src/chapter-12/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Chapter 12: REST API Reference - ---- - -
- General Bots -
diff --git a/docs/src/chapter-12/admin-api.md b/docs/src/chapter-12/admin-api.md deleted file mode 100644 index 4248ae5cf..000000000 --- a/docs/src/chapter-12/admin-api.md +++ /dev/null @@ -1 +0,0 @@ -# Admin API diff --git a/docs/src/chapter-12/ai-api.md b/docs/src/chapter-12/ai-api.md deleted file mode 100644 index 68da05c6d..000000000 --- a/docs/src/chapter-12/ai-api.md +++ /dev/null @@ -1 +0,0 @@ -# AI API diff --git a/docs/src/chapter-12/analytics-api.md b/docs/src/chapter-12/analytics-api.md deleted file mode 100644 index ab92604dc..000000000 --- a/docs/src/chapter-12/analytics-api.md +++ /dev/null @@ -1 +0,0 @@ -# Analytics API diff --git a/docs/src/chapter-12/backup-api.md b/docs/src/chapter-12/backup-api.md deleted file mode 100644 index e485eef61..000000000 --- a/docs/src/chapter-12/backup-api.md +++ /dev/null @@ -1 +0,0 @@ -# Backup API diff --git a/docs/src/chapter-12/calendar-api.md b/docs/src/chapter-12/calendar-api.md deleted file mode 100644 index 5b3c56361..000000000 --- a/docs/src/chapter-12/calendar-api.md +++ /dev/null @@ -1 +0,0 @@ -# Calendar API diff --git a/docs/src/chapter-12/calls-api.md b/docs/src/chapter-12/calls-api.md deleted file mode 100644 index 0895c6684..000000000 --- a/docs/src/chapter-12/calls-api.md +++ /dev/null @@ -1 +0,0 @@ -# Calls API diff --git a/docs/src/chapter-12/compliance-api.md b/docs/src/chapter-12/compliance-api.md deleted file mode 100644 index 93d518ad4..000000000 --- a/docs/src/chapter-12/compliance-api.md +++ /dev/null @@ -1 +0,0 @@ -# Compliance API diff --git a/docs/src/chapter-12/conversations-api.md b/docs/src/chapter-12/conversations-api.md deleted file mode 100644 index 2be62bc5e..000000000 --- a/docs/src/chapter-12/conversations-api.md +++ /dev/null @@ -1 +0,0 @@ -# Conversations API diff --git a/docs/src/chapter-12/document-processing.md b/docs/src/chapter-12/document-processing.md deleted file mode 100644 index 0e3b31fe0..000000000 --- a/docs/src/chapter-12/document-processing.md +++ /dev/null @@ -1 +0,0 @@ -# Document Processing API diff --git a/docs/src/chapter-12/email-api.md b/docs/src/chapter-12/email-api.md deleted file mode 100644 index 4c43bfcd7..000000000 --- a/docs/src/chapter-12/email-api.md +++ /dev/null @@ -1 +0,0 @@ -# Email API diff --git a/docs/src/chapter-12/examples.md b/docs/src/chapter-12/examples.md deleted file mode 100644 index 41774aa70..000000000 --- a/docs/src/chapter-12/examples.md +++ /dev/null @@ -1 +0,0 @@ -# Example Integrations diff --git a/docs/src/chapter-12/files-api.md b/docs/src/chapter-12/files-api.md deleted file mode 100644 index 0751cafcc..000000000 --- a/docs/src/chapter-12/files-api.md +++ /dev/null @@ -1 +0,0 @@ -# Files API diff --git a/docs/src/chapter-12/group-membership.md b/docs/src/chapter-12/group-membership.md deleted file mode 100644 index 2c960b861..000000000 --- a/docs/src/chapter-12/group-membership.md +++ /dev/null @@ -1 +0,0 @@ -# Group Membership API diff --git a/docs/src/chapter-12/groups-api.md b/docs/src/chapter-12/groups-api.md deleted file mode 100644 index fd5b7bce3..000000000 --- a/docs/src/chapter-12/groups-api.md +++ /dev/null @@ -1 +0,0 @@ -# Groups API diff --git a/docs/src/chapter-12/ml-api.md b/docs/src/chapter-12/ml-api.md deleted file mode 100644 index f25b71822..000000000 --- a/docs/src/chapter-12/ml-api.md +++ /dev/null @@ -1 +0,0 @@ -# ML API diff --git a/docs/src/chapter-12/monitoring-api.md b/docs/src/chapter-12/monitoring-api.md deleted file mode 100644 index c6a23fbc9..000000000 --- a/docs/src/chapter-12/monitoring-api.md +++ /dev/null @@ -1 +0,0 @@ -# Monitoring API diff --git a/docs/src/chapter-12/notifications-api.md b/docs/src/chapter-12/notifications-api.md deleted file mode 100644 index 6a0b371e7..000000000 --- a/docs/src/chapter-12/notifications-api.md +++ /dev/null @@ -1 +0,0 @@ -# Notifications API diff --git a/docs/src/chapter-12/reports-api.md b/docs/src/chapter-12/reports-api.md deleted file mode 100644 index aa9ad559c..000000000 --- a/docs/src/chapter-12/reports-api.md +++ /dev/null @@ -1 +0,0 @@ -# Reports API diff --git a/docs/src/chapter-12/security-api.md b/docs/src/chapter-12/security-api.md deleted file mode 100644 index a93e96636..000000000 --- a/docs/src/chapter-12/security-api.md +++ /dev/null @@ -1 +0,0 @@ -# Security API diff --git a/docs/src/chapter-12/storage-api.md b/docs/src/chapter-12/storage-api.md deleted file mode 100644 index 1d6bf6a01..000000000 --- a/docs/src/chapter-12/storage-api.md +++ /dev/null @@ -1 +0,0 @@ -# Storage API diff --git a/docs/src/chapter-12/tasks-api.md b/docs/src/chapter-12/tasks-api.md deleted file mode 100644 index ad2dff59f..000000000 --- a/docs/src/chapter-12/tasks-api.md +++ /dev/null @@ -1 +0,0 @@ -# Tasks API diff --git a/docs/src/chapter-12/user-security.md b/docs/src/chapter-12/user-security.md deleted file mode 100644 index f13ef63ca..000000000 --- a/docs/src/chapter-12/user-security.md +++ /dev/null @@ -1 +0,0 @@ -# User Security API diff --git a/docs/src/chapter-12/users-api.md b/docs/src/chapter-12/users-api.md deleted file mode 100644 index 5ebc5343e..000000000 --- a/docs/src/chapter-12/users-api.md +++ /dev/null @@ -1 +0,0 @@ -# Users API diff --git a/docs/src/chapter-12/whiteboard-api.md b/docs/src/chapter-12/whiteboard-api.md deleted file mode 100644 index 8b59b8bb4..000000000 --- a/docs/src/chapter-12/whiteboard-api.md +++ /dev/null @@ -1 +0,0 @@ -# Whiteboard API diff --git a/docs/src/chapter-13-api/README.md b/docs/src/chapter-13-api/README.md deleted file mode 100644 index 8cef2da72..000000000 --- a/docs/src/chapter-13-api/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Chapter 10: REST API Reference - ---- - -
- General Bots -
diff --git a/docs/src/chapter-13-api/admin-api.md b/docs/src/chapter-13-api/admin-api.md deleted file mode 100644 index 4248ae5cf..000000000 --- a/docs/src/chapter-13-api/admin-api.md +++ /dev/null @@ -1 +0,0 @@ -# Admin API diff --git a/docs/src/chapter-13-api/ai-api.md b/docs/src/chapter-13-api/ai-api.md deleted file mode 100644 index 68da05c6d..000000000 --- a/docs/src/chapter-13-api/ai-api.md +++ /dev/null @@ -1 +0,0 @@ -# AI API diff --git a/docs/src/chapter-13-api/analytics-api.md b/docs/src/chapter-13-api/analytics-api.md deleted file mode 100644 index ab92604dc..000000000 --- a/docs/src/chapter-13-api/analytics-api.md +++ /dev/null @@ -1 +0,0 @@ -# Analytics API diff --git a/docs/src/chapter-13-api/backup-api.md b/docs/src/chapter-13-api/backup-api.md deleted file mode 100644 index e485eef61..000000000 --- a/docs/src/chapter-13-api/backup-api.md +++ /dev/null @@ -1 +0,0 @@ -# Backup API diff --git a/docs/src/chapter-13-api/calendar-api.md b/docs/src/chapter-13-api/calendar-api.md deleted file mode 100644 index 5b3c56361..000000000 --- a/docs/src/chapter-13-api/calendar-api.md +++ /dev/null @@ -1 +0,0 @@ -# Calendar API diff --git a/docs/src/chapter-13-api/calls-api.md b/docs/src/chapter-13-api/calls-api.md deleted file mode 100644 index 0895c6684..000000000 --- a/docs/src/chapter-13-api/calls-api.md +++ /dev/null @@ -1 +0,0 @@ -# Calls API diff --git a/docs/src/chapter-13-api/compliance-api.md b/docs/src/chapter-13-api/compliance-api.md deleted file mode 100644 index 93d518ad4..000000000 --- a/docs/src/chapter-13-api/compliance-api.md +++ /dev/null @@ -1 +0,0 @@ -# Compliance API diff --git a/docs/src/chapter-13-api/conversations-api.md b/docs/src/chapter-13-api/conversations-api.md deleted file mode 100644 index 2be62bc5e..000000000 --- a/docs/src/chapter-13-api/conversations-api.md +++ /dev/null @@ -1 +0,0 @@ -# Conversations API diff --git a/docs/src/chapter-13-api/document-processing.md b/docs/src/chapter-13-api/document-processing.md deleted file mode 100644 index 0e3b31fe0..000000000 --- a/docs/src/chapter-13-api/document-processing.md +++ /dev/null @@ -1 +0,0 @@ -# Document Processing API diff --git a/docs/src/chapter-13-api/email-api.md b/docs/src/chapter-13-api/email-api.md deleted file mode 100644 index 4c43bfcd7..000000000 --- a/docs/src/chapter-13-api/email-api.md +++ /dev/null @@ -1 +0,0 @@ -# Email API diff --git a/docs/src/chapter-13-api/examples.md b/docs/src/chapter-13-api/examples.md deleted file mode 100644 index 41774aa70..000000000 --- a/docs/src/chapter-13-api/examples.md +++ /dev/null @@ -1 +0,0 @@ -# Example Integrations diff --git a/docs/src/chapter-13-api/files-api.md b/docs/src/chapter-13-api/files-api.md deleted file mode 100644 index 0751cafcc..000000000 --- a/docs/src/chapter-13-api/files-api.md +++ /dev/null @@ -1 +0,0 @@ -# Files API diff --git a/docs/src/chapter-13-api/group-membership.md b/docs/src/chapter-13-api/group-membership.md deleted file mode 100644 index 2c960b861..000000000 --- a/docs/src/chapter-13-api/group-membership.md +++ /dev/null @@ -1 +0,0 @@ -# Group Membership API diff --git a/docs/src/chapter-13-api/groups-api.md b/docs/src/chapter-13-api/groups-api.md deleted file mode 100644 index fd5b7bce3..000000000 --- a/docs/src/chapter-13-api/groups-api.md +++ /dev/null @@ -1 +0,0 @@ -# Groups API diff --git a/docs/src/chapter-13-api/ml-api.md b/docs/src/chapter-13-api/ml-api.md deleted file mode 100644 index f25b71822..000000000 --- a/docs/src/chapter-13-api/ml-api.md +++ /dev/null @@ -1 +0,0 @@ -# ML API diff --git a/docs/src/chapter-13-api/monitoring-api.md b/docs/src/chapter-13-api/monitoring-api.md deleted file mode 100644 index c6a23fbc9..000000000 --- a/docs/src/chapter-13-api/monitoring-api.md +++ /dev/null @@ -1 +0,0 @@ -# Monitoring API diff --git a/docs/src/chapter-13-api/notifications-api.md b/docs/src/chapter-13-api/notifications-api.md deleted file mode 100644 index 6a0b371e7..000000000 --- a/docs/src/chapter-13-api/notifications-api.md +++ /dev/null @@ -1 +0,0 @@ -# Notifications API diff --git a/docs/src/chapter-13-api/reports-api.md b/docs/src/chapter-13-api/reports-api.md deleted file mode 100644 index aa9ad559c..000000000 --- a/docs/src/chapter-13-api/reports-api.md +++ /dev/null @@ -1 +0,0 @@ -# Reports API diff --git a/docs/src/chapter-13-api/security-api.md b/docs/src/chapter-13-api/security-api.md deleted file mode 100644 index a93e96636..000000000 --- a/docs/src/chapter-13-api/security-api.md +++ /dev/null @@ -1 +0,0 @@ -# Security API diff --git a/docs/src/chapter-13-api/storage-api.md b/docs/src/chapter-13-api/storage-api.md deleted file mode 100644 index 1d6bf6a01..000000000 --- a/docs/src/chapter-13-api/storage-api.md +++ /dev/null @@ -1 +0,0 @@ -# Storage API diff --git a/docs/src/chapter-13-api/tasks-api.md b/docs/src/chapter-13-api/tasks-api.md deleted file mode 100644 index ad2dff59f..000000000 --- a/docs/src/chapter-13-api/tasks-api.md +++ /dev/null @@ -1 +0,0 @@ -# Tasks API diff --git a/docs/src/chapter-13-api/user-security.md b/docs/src/chapter-13-api/user-security.md deleted file mode 100644 index f13ef63ca..000000000 --- a/docs/src/chapter-13-api/user-security.md +++ /dev/null @@ -1 +0,0 @@ -# User Security API diff --git a/docs/src/chapter-13-api/users-api.md b/docs/src/chapter-13-api/users-api.md deleted file mode 100644 index 5ebc5343e..000000000 --- a/docs/src/chapter-13-api/users-api.md +++ /dev/null @@ -1 +0,0 @@ -# Users API diff --git a/docs/src/chapter-13-api/whiteboard-api.md b/docs/src/chapter-13-api/whiteboard-api.md deleted file mode 100644 index 8b59b8bb4..000000000 --- a/docs/src/chapter-13-api/whiteboard-api.md +++ /dev/null @@ -1 +0,0 @@ -# Whiteboard API diff --git a/docs/src/chapter-13-community/community.md b/docs/src/chapter-13-community/community.md index 531f1dbf7..96d42a783 100644 --- a/docs/src/chapter-13-community/community.md +++ b/docs/src/chapter-13-community/community.md @@ -1 +1,26 @@ # Community Guidelines + +Welcome to the General Bots community! These guidelines ensure a welcoming environment. + +## Our Values +- **Inclusivity**: Welcome all contributors +- **Respect**: Professional interactions +- **Collaboration**: Work together effectively +- **Quality**: Maintain high standards +- **Learning**: Share knowledge openly + +## Expected Behavior +- Be respectful and considerate +- Welcome newcomers +- Give constructive feedback +- Focus on community benefit +- Show empathy + +## Communication +- GitHub Issues for bugs/features +- GitHub Discussions for questions +- Pull Requests for contributions + +## See Also +- [Code of Conduct](./code-of-conduct.md) +- [Contributing Guidelines](./contributing-guidelines.md)