Skip to content

AI Overview ​

Page Guide ​

ScenarioUnderstand the relationship between models, chat, knowledge bases, protocol adaptation, and intelligent queries before enabling AI features.
PrerequisiteThe backend version includes `fastbee-ai`, and the Vue3 console can open AI menus.
AcceptanceModels are available, knowledge can be retrieved, chat returns answers, and protocol or data-query tasks enter the AI flow.

1. Capability Structure ​

2. Menu And Source Mapping ​

FeatureFrontend DirectoryBackend PrefixDescription
AI Chatvue3/src/views/ai/chat/ai/chatUser question and model response.
Chat Recordsvue3/src/views/ai/chatRecord/ai/chatRecordQuery and manage chat history.
Model Providervue3/src/views/ai/provider/ai/providerProvider, key, and availability.
Model Configurationvue3/src/views/ai/model/ai/modelModel name, type, parameter, and status.
Knowledge Basevue3/src/views/ai/knowledge/ai/knowledgeUpload, parse, version, and publish documents.
Protocol Adaptationvue3/src/views/ai/protocolAdaptation/ai/protocol/adaptationAnalyze protocol materials and generate access suggestions.
NL2SQLIntegrated by page/ai/nl2sqlConvert natural language into structured query plans.
  1. Configure a model provider.
  2. Configure and enable a model.
  3. Test AI chat with a simple question.
  4. Create a knowledge base and upload documents.
  5. Parse documents, build a version, and publish it.
  6. Use the knowledge base in protocol adaptation or business Q&A.
  7. Configure NL2SQL only after data permission and semantic fields are clear.

4. Typical Scenarios ​

ScenarioRequired SetupOutput
Document Q&AModel, knowledge base, documents, published version.Users can ask questions about platform or project documents.
Protocol adaptationModel, protocol knowledge, protocol materials.Field explanation, access suggestions, and development notes.
Operations assistantModel, platform knowledge, issue collection.Assist troubleshooting for access, deployment, video, and operations.
Data queryModel, semantic model, data permission.Query plan or SQL-like result.
Source-code knowledgeModel and source-code materials.Help developers understand modules and APIs.

5. Security Notes ​

  • API keys and model secrets should be maintained only by administrators.
  • Knowledge-base documents may contain customer data and should be desensitized when needed.
  • AI-generated access suggestions must be verified with real device messages.
  • NL2SQL must be constrained by data permission to avoid unauthorized queries.

FastBee | fastbee.cn