FastGPT

repository·main·Indexed 12 days ago

https://github.com/labring/fastgpt

An AI Agent building platform featuring visual workflow orchestration (Flow), RAG (Retrieval-Augmented Generation), plugin systems, and agent orchestration. Version 4.0 provides out-of-the-box data processing and model calling capabilities, including a dedicated code sandbox for executing JavaScript and Python via API.

Tokens
364.7K
Snippets
969
Records
1.7K
Agent score
97%

What's inside FastGPT

  1. Overview of FastGPT Community Edition

    main

    FastGPT Community Edition is a free version of FastGPT tailored for individual developers and small delivery teams. It provides access to the core feature set required for building AI-driven applications, including:

    • Agent building: Create and configure autonomous agents.
    • Workflows: Design complex logic and multi-step AI processes.
    • Knowledge bases: Manage and query structured or unstructured data for RAG (Retrieval-Augmented Generation) capabilities.
  2. Overview of FastGPT capabilities

    main

    FastGPT is an AI Agent application development platform based on Large Language Models (LLMs). It integrates knowledge base Q&A, visual workflow orchestration, Agent orchestration, tool calling, and skill extensions. It is designed to allow both developers and business users to quickly build customized AI applications.

    Key capabilities include:

    • All-in-one Knowledge Base: Import various document types with automatic structural processing and multi-turn context understanding.
    • Visual Workflow: A drag-and-drop interface for building complex business processes with zero code using various functional nodes.
    • Intelligent Data Parsing: Automatically handles complex PDF structures (retaining images, tables, and LaTeX), recognizes scanned files, and converts content into structured Markdown. It also supports image annotation and indexing.
    • Workflow Orchestration: Design complex flows such as database queries, inventory checks, or laboratory appointments using the Flow module.
    • API Integration: Fully aligns with the OpenAI official API standard, making it easy to integrate with platforms like Enterprise WeChat, WeChat Official Accounts, Feishu, and DingTalk.
  3. Understand the FastGPT Open Source License

    main

    FastGPT is open-sourced under the Apache License 2.0, but with specific additional conditions regarding commercial use and branding:

    Commercial Use Permissions

    FastGPT allows commercial use, such as using it as a "Backend as a Service" (BaaS) for other applications or providing it as an application development platform to enterprises.

    Restrictions and Required Author Contact

    You must contact the authors (via dennis@sealos.io) to obtain a commercial license if you intend to do the following:

    1. Operate a Multi-tenant SaaS Service: You may not use the FastGPT source code to operate a multi-tenant SaaS service that competes with or is similar to fastgpt.io without explicit written authorization.
    2. Modify Branding: You are not permitted to remove or modify the FastGPT LOGO or copyright information within the FastGPT console.

    Contributor Terms

    By contributing code to the project, you agree that:

    • The producers have the right to adjust the open-source license to be more restrictive or more permissive.
    • Your contributions may be used for commercial purposes, such as FastGPT's cloud services.

    Intellectual Property

    • All other rights and restrictions follow the Apache License 2.0.
    • The interaction design of this product is protected by design patents.
    • © 2023 Sealos.
  4. Understand the FastGPT project structure

    main

    The FastGPT repository is organized into two primary components:

    • app: Contains the core FastGPT application logic.
    • sandbox: A dedicated project for executing code within workflows. It provides a controlled environment for running scripts, specifically supporting Python 3.11.
  5. New features in FastGPT V4.14.3

    main

    FastGPT V4.14.3 introduces several key features and improvements:

    Core Features

    • S3 Migration: All knowledge base files have been migrated to S3.
    • Global Variables: Now support file uploads.
    • Form Input Node: Added support for password, toggle, time point, time range, file upload, and chat model selection.
    • Plugin Input: Now supports multi-select, time point, time range, and internal variables.
    • Plugin Marketplace: System plugins now display version availability with an update button.
    • Rate Limiting: Added Workflow execution QPM (queries per minute) rate limiting.

    Improvements

    • Improved UX for file upload input in workflow tools.
    • Added permission table validation middleware for a more robust permission system.
  6. Optimizations and Bug Fixes in V4.14.3

    main

    Optimizations

    • Workflow Tools: Improved UX for file upload inputs.
    • Permissions: Added permission table validation middleware to enhance robustness.

    Bug Fixes

    • Workflow Debugging: Fixed an issue where re-rendering in the debug preview window caused input loss.
    • S3 URL Resolution: Fixed a 404 error occurring when the S3 service and main service shared the same Origin domain, which caused incorrect URL replacement for S3 file requests.

    Plugin Fixes

    • Update Logic: Implemented a calculated version value to determine if updates are needed.
    • WeChat Official Account Toolset: Now allows uploading multiple documents to the draft box simultaneously.
    • Cache Management: Fixed issues where tool cache was not correctly refreshed and where refreshing cache in development mode caused static files to re-upload.
    • Image Uploads: Fixed an issue where images were not correctly uploaded after uploading a package (pkg).
  7. Explore FastGPT Documentation Topics

    main

    The FastGPT documentation is organized into several key functional areas. You can find detailed guides on:

    • Getting Started: Quick-start guides and general introductions.
    • Workflow Building: Detailed documentation for workflow nodes (e.g., ai_chat, http, tool, loop, parallel_run, variable_update) and advanced logic like tfswitch or user-selection.
    • Skill Development: Guides on initializing, developing, and integrating custom skills.
    • Dataset Management: Information on RAG (Retrieval-Augmented Generation), dataset engines, collection tags, and third-party dataset integrations (e.g., DingTalk, Lark, Yuque).
    • Self-Hosting: Comprehensive guides for deployment (Docker, Sealos), configuration (environment variables, object storage, model settings), and managing custom models (Ollama, Xinference, etc.).
    • Publishing & Integration: How to publish via OpenAPI, WeChat, WeCom, DingTalk, Feishu, or MCP servers.
    • Admin & Workspace: Managing SSO, team modes, roles, permissions, and custom domains.
    • API Reference: OpenAPI documentation for interacting with Apps, Chat, and Datasets.
    • Plugins: Information on model presets and system tool development.
  8. FastGPT Cloud Privacy Policy and Data Handling

    main

    This record outlines how FastGPT handles personal information and data when using the Cloud service.

    Data Collection

    FastGPT may collect:

    • Identity Information: Name, phone number, email address, and physical address during registration.
    • Usage Data: Operation logs, access IP addresses, and device models.
    • Technical Data: Information collected via Cookies or similar technologies to improve user experience.

    Data Usage and Protection

    • Purpose: Information is used for service improvement, product development, and service-related notifications/advertisements.
    • Model Training: FastGPT explicitly states that it does not use your data for additional backup storage or for training AI models.
    • Data Deletion: Data deleted within the service is physically deleted and is non-recoverable. If a deletion is not physical, it will be explicitly noted in the service.
    • Security: Protection measures include encryption and access control. In the event of a breach, emergency protocols are activated and users are notified within legal limits.

    User Rights

    • Access & Control: Users can view, correct, or delete their personal information at any time.
    • Refusal: Users can refuse data collection, though this may limit certain service functionalities.
    • Processing: Users can request the cessation of personal information processing, which may result in the inability to continue using the service.

    Cross-Border Data Transfer

    By using the service, you acknowledge that your personal information may be transferred to, stored, and processed in other countries or regions where FastGPT servers are located. Appropriate measures are taken to ensure data protection during these transfers.

    Contact Information

    For questions, suggestions, or complaints regarding privacy, contact: archer@fastgpt.io.

  9. New Features in V4.14.6

    main

    Version 4.14.6 introduces several improvements to system tools, subscription management, and plugin handling:

    • System Tools: You can now configure custom category attributes for system tools.
    • Subscription Management: Subscription plans now support configuring the maximum number and size of file uploads.
    • Plugin Market: Added support for batch updating plugins.
    • Cloud Services: Added support for specific Enterprise WeChat (企微) integrations.
    • Vector Database: Added preset configurations for Seekdb vector database.
  10. V4.14.29 Release Changes

    main

    The V4.14.29 release includes the following fixes and adaptations:

    • WeChat Publish Channel Security: Fixed permission checks for login, logout, and QR code status APIs. These APIs now authorize via the publish channel ID and verify the channel type to prevent accidental operations on non-WeChat publish channels.
    • SDK Update: Adapted to the latest WeChat publish channel SDK.
  11. New Features in V4.14.3

    main

    Version 4.14.3 introduces several key enhancements:

    • S3 Migration: Knowledge base files have been migrated to S3 (all file-related storage locations).
    • Global Variables: Now supports file uploads.
    • Form Input Node: Added support for password, switch, time point, time range, file upload, and dialogue model selection.
    • Plugin Input: Supports multi-select, time point, time range, and internal variables.
    • Plugin Management: The plugin market now notifies users of new versions and provides an update button.
    • Workflow Control: Added QPM (Queries Per Minute) limits for workflow execution.
  12. Compare FastGPT Community vs Commercial vs Cloud

    main

    The Commercial Edition includes several exclusive features not available in the Community Edition:

    App Building

    • App publishing security config
    • Third-party publishing (Lark, WeChat Official Account)
    • Run log dashboard
    • App evaluation
    • Agent and Skill assisted generation
    • System tool remote debugging

    Knowledge Base

    • Third-party knowledge base scheduled sync
    • Knowledge base index enhancement
    • Website sync
    • Image knowledge base

    General & Enterprise

    • Model content moderation
    • Custom branding
    • Multi-tenancy & billing
    • Team spaces & permissions
    • Admin dashboard
    • SSO login