Skip to content

AI Training Plan

LeaferJS is entering the AI era! To help AI better understand and use LeaferJS, we are launching an AI training initiative to build an open, usable, and continuously optimizable knowledge base for LeaferJS.

You can now ask questions via DeepWiki

Related AI knowledge base

Phase 1: Preparing training data for AI (current stage)

We are currently collecting and organizing LeaferJS-related data, including:

  • Complete official documentation: Ensure AI can accurately understand LeaferJS APIs, core concepts, and best practices.
  • Example code: Covering both basic usage and advanced techniques so AI can generate more intelligent code.
  • Community-contributed code: Collect real-world LeaferJS application cases to help AI learn practical development scenarios.
  • Discussions and Q&A: Extract high-quality technical sharing, common questions, and best practices from the community to improve AI’s answering ability.

Hosted in the ai-docs repository:

GitHub: https://github.com/leaferjs/ai-docs

Gitee: https://gitee.com/leaferjs/ai-docs

If you are interested, you are welcome to contribute example code and help build a stronger LeaferJS AI:

LeaferJS global code collection for AI training

Phase 2: Training AI

After data preparation is complete, we will enter the AI training phase.

  • Open data: LeaferJS is MIT licensed, allowing any AI company or developer to freely use the data for training.
  • AI partnerships: We will actively reach out to AI research institutions and companies to explore more efficient training methods.
  • Community collaboration: We welcome developers to participate in improving LeaferJS performance in code generation and Q&A scenarios.

Phase 3: Applying AI

After training, we will explore AI applications in the LeaferJS ecosystem, including but not limited to:

1. AI Knowledge Q&A

Users can ask AI questions about LeaferJS. The AI will provide accurate and detailed answers based on training data, helping developers get started faster.

2. AI Code Generation

AI will automatically generate LeaferJS code based on user requirements, improving development efficiency and allowing developers to focus more on creativity and implementation.


The ultimate goal of this plan is to make the LeaferJS ecosystem smarter and more efficient. Developers interested in AI and LeaferJS are welcome to participate and help make LeaferJS a foundational infrastructure of the internet.

Released under the MIT License.