AI Capabilities in HAP
HAP offers a range of built-in AI features that enhance automation, data entry, and user experience across your application:
- ChatBot
- AI Worksheet Creation
- AI Field Suggestions
- AI Custom Fields
- AI Sample Data Generation
- AI Record Creation
- AI Code Block Generation
- Text/Data Object Generation
- App Multilingual Support - AI Translation
- AI Configuration for Private Deployment
- Dify Plugin Integration
ChatBot
Users can interact with the ChatBot via multi-turn conversations. The ChatBot can identify user intent, perform create/update/delete operations on app data, summarize or analyze content, and drive business automation.

AI Worksheet Creation
Based on user descriptions, AI can automatically create worksheets, including default icons, fields, and layout configurations.

AI Sample Data Generation
AI can generate sample records within worksheets, making it easier for builders to test and demonstrate their applications.

AI Record Creation
AI intelligently parses user input or uploaded images and fills the data into the corresponding fields in a worksheet.

AI Field Suggestions
When creating or designing a form, users may not know what fields are required. With AI Field Suggestions, relevant fields can be automatically generated based on the business object description.

AI Custom Fields
You can generate fully customized field controls using AI-generated code via conversation. These fields support tailored UI and interaction logic. If you're familiar with React and Tailwind CSS, you can write or modify the code directly for further customization. Learn more about custom fields

AI Agent
The AI Agent node in workflows can analyze user input, perform reasoning, and execute tools such as data querying, record creation, updates, API calls, or packaged business processes.

AI Text/Data Object Generation
Leverage AIGC capabilities to assist with content creation and improve productivity. This includes the AI Text Generation and AI Data Object Generation workflow nodes.

AI Code Block Generation
In the Code Block Node within a workflow, AI can generate JavaScript or Python code based on a functional description provided by the user. The generated code complies with block specifications and is ready to use.

App Multilingual Support – AI Translation
Powered by advanced natural language processing models, the AI Translation feature offers one-click translation of your app's content. This allows your application to easily support multilingual collaboration scenarios.

AI Configuration in Private Deployment
To support AI capabilities in private deployment environments, HAP offers two configuration options:
Dify Integration
In Dify, users can build a HAP-powered assistant using built-in tools, enabling Q&A over real-time application data.
HAP’s Integration Center provides pre-configured Dify APIs, allowing you to read/write knowledge base files and call bot message endpoints directly.