Archer 0ed99d8c9a Check debug (#4384)
* feat : Added support for interactive nodes in the debugging interface (#4339)

* feat: add VSCode launch configuration and enhance debug API handler

* feat: refactor debug API handler to streamline workflow processing and enhance interactive chat features

* feat: enhance debug API handler with structured input forms and improved query handling

* feat: enhance debug API handler to support optional query and histories parameters

* feat: simplify query and histories initialization in debug API handler

* feat: add realmode parameter to workflow dispatch and update interactive handling

* feat: add optional query parameter to PostWorkflowDebugProps and remove realmode from ModuleDispatchProps

* feat: add history parameter to PostWorkflowDebugProps and update related components

* feat: remove realmode

* feat: simplify handler parameter destructuring in debug.ts

* feat: remove unused interactive prop from WholeResponseContent component

* feat: refactor onNextNodeDebug to use parameter object for better readability

* feat: Merge selections and next actions to remove unused state management

* feat: 添加 NodeDebugResponse 组件以增强调试功能

* feat: Simplify the import statements in InteractiveComponents.tsx

* feat: Update the handler function to use default parameters to simplify the code

* feat: Add optional workflowInteractiveResponse field to PostWorkflowDebugResponse type

* feat: Add the workflowInteractiveResponse field in the debugging handler to enhance response capabilities

* feat: Added workflowInteractiveResponse field in FlowNodeItemType to enhance responsiveness

* feat: Refactor NodeDebugResponse to utilize workflowInteractiveResponse for improved interactivity

* feat: Extend UserSelectInteractive and UserInputInteractive types to inherit from InteractiveBasicType

* feat: Refactor NodeDebugResponse to streamline interactive handling and improve code clarity

* feat: 重构交互式调试逻辑,创建共用 Hook 以简化用户选择和输入处理

* fix: type error

* feat: 重构 AIResponseBox 组件,简化用户交互逻辑并引入共用表单组件

* feat: 清理 AIResponseBox 和表单组件代码,移除冗余注释和未使用的导入

* fix: type error

* feat: 重构 AIResponseBox 组件,简化类型定义并优化代码结构

* refactor: 将 FormItem 接口更改为类型定义,优化代码结构

* refactor: 将 NodeDebugResponseProps 接口更改为类型定义,优化代码结构

* refactor: 移除不必要的入口节点检查,简化调试处理逻辑

* feat: 移动调试交互组件位置

* refactor: 将 InteractiveBasicType 中的属性设为可选,简化数据结构

* refactor: 优化类型定义

* refactor: 移除未使用的 ChatItemType 和 UserChatItemValueItemType 导入

* refactor: 将接口定义更改为类型别名,简化代码结构

* refactor: 更新类型定义,使用类型别名简化代码结构

* refactor: 使用类型导入简化代码结构,重构 AIResponseBox 组件

* refactor: 提取描述框和表单项标签组件,简化代码结构

* refactor: 移除多余的空行

* refactor: 移除多余的空行和注释

* refactor: 移除多余的空行,简化 AIResponseBox 组件代码

* refactor: 重构组件,移动 FormComponents 到 InteractiveComponents,简化代码结构

* refactor: 移除多余的空行,简化 NodeDebugResponse 组件代码

* refactor: 更新导入语句,使用 type 关键字优化类型导入

* refactor: 在 tsconfig.json 中启用 verbatimModuleSyntax 选项

* Revert "refactor: 在 tsconfig.json 中启用 verbatimModuleSyntax 选项"

This reverts commit 2b335a9938.

* revert: rendertool

* refactor: Remove unused imports and functions to simplify code

* perf: debug interactive

---------

Co-authored-by: Theresa <63280168+sd0ric4@users.noreply.github.com>
2025-03-28 17:09:08 +08:00
2025-03-18 14:40:41 +08:00
2023-06-10 14:01:35 +08:00
2025-03-28 17:09:08 +08:00
2025-03-28 13:52:08 +08:00
2025-03-28 17:09:08 +08:00
2025-03-28 13:45:09 +08:00
2025-03-28 17:09:08 +08:00
2025-03-28 13:45:09 +08:00
2025-03-12 19:27:53 +08:00
2024-01-05 18:02:53 +08:00
2024-07-15 22:50:48 +08:00
2025-03-18 14:40:41 +08:00
2023-03-28 00:48:24 +08:00
2025-01-11 15:15:38 +08:00
2024-05-28 14:47:10 +08:00
2025-03-18 14:40:41 +08:00
2025-03-18 14:40:41 +08:00
2025-03-18 14:40:41 +08:00
2025-03-04 14:51:35 +08:00
2025-03-12 19:27:53 +08:00
2025-03-18 14:40:41 +08:00
2024-09-06 17:22:24 +08:00

fastgpt logo

FastGPT

Qoute

English | 简体中文 | 日语

FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, and visual AI workflow orchestration, letting you easily develop and deploy complex question-answering systems without the need for extensive setup or configuration.

GitHub Repo stars GitHub pull request GitHub last commit License Documentation Local Development Explore our platform

discord     Wechat

🎥 Comprehensive Feature Demonstration

https://github.com/labring/FastGPT/assets/15308462/7d3a38df-eb0e-4388-9250-2409bd33f6d4

🛸 Online Use

Website: tryfastgpt.ai

Conversational AI Setup Workflow Automation
Demo Demo
Knowledge Base Setup Integration Process
Demo Demo
#

💡 Features

Features Details
Application Orchestration Features Offers a straightforward mode, eliminating the need for complex orchestration
Provides clear next-step instructions in dialogues
Facilitates workflow orchestration
Tracks references in source files
Encapsulates modules for enhanced reuse at multiple levels
Combines search and reordering functions
🔜 Includes a tool module
🔜 Integrates Laf for online HTTP module creation
🔜 Plugin encapsulation capabilities
Knowledge Base Features Allows for the mixed use of multiple databases
Keeps track of modifications and deletions in data chunks
Enables specific vector models for each knowledge base
Stores original source files
Supports direct input and segment-based QA import
Compatible with a variety of file formats: pdf, docx, txt, html, md, csv
Facilitates URL reading and bulk CSV importing
🔜 Supports PPT and Excel file import
🔜 Features a file reader
🔜 Offers diverse data preprocessing options
Application Debugging Features Enables targeted search testing within the knowledge base
Allows feedback, editing, and deletion during conversations
Presents the full context of interactions
Displays all intermediate values within modules
🔜 Advanced Debug mode for orchestration
OpenAPI Interface The completions interface (aligned with GPT's chat mode interface)
CRUD operations for the knowledge base
🔜 CRUD operations for conversation
Operational Features Share without requiring login
Easy embedding with Iframe
Customizable chat window embedding with features like default open, drag-and-drop
Centralizes conversation records for review and annotation
#

👨‍💻 Development

Project tech stack: NextJs + TS + ChakraUI + MongoDB + PostgreSQL (PG Vector plug-in)/Milvus

# #

🤝 Third-party Ecosystem

#

🏘️ Community & Support

  • 🌐 Visit the FastGPT website for full documentation and useful links.
  • 💬 Join our Discord server is to chat with FastGPT developers and other FastGPT users. This is a good place to learn about FastGPT, ask questions, and share your experiences.
  • 🐞 Create GitHub Issues for bug reports and feature requests.
#

👀 Others

#

🌱 Contributors

We welcome all forms of contributions. If you are interested in contributing code, you can check out our GitHub Issues to show us your ideas.




Active participants of labring - past 28 days New trends of labring
New participants of labring - past 28 days

🌟 Star History

Star History Chart #

📄 Usage Agreement

This repository complies with the FastGPT Open Source License open source agreement.

  1. Direct commercial use as a backend service is allowed, but provision of SaaS services is not allowed.
  2. Without commercial authorization, any form of commercial service must retain relevant copyright information.
  3. For full details, please see FastGPT Open Source License
  4. Contact: Dennis@sealos.io , click to view commercial version pricing strategy
#
Description
FastGPT is a knowledge-based platform built on the LLM, offers out-of-the-box data processing and model invocation capabilities, allows for workflow orchestration through Flow visualization!
Readme 429 MiB
Languages
JavaScript 52.1%
TypeScript 38.2%
MDX 5.3%
HTML 3.4%
Python 0.7%