plugin-icon

LNC AI Quiz Generator for NEAR AI Cloud

لصاحبه Learn NEAR Club·
AI-powered quiz generator that creates educational quizzes from your content using NEAR AI Cloud to boost information retention.
تقييمات
5
النسخة
1.2
التنصيبات النشطة
10
آخر تحديث
Feb 5, 2026
LNC AI Quiz Generator for NEAR AI Cloud

LNC AI Quiz Generator is a WordPress plugin that leverages artificial intelligence to automatically generate educational quizzes from your article content. By wrapping any text content in a simple shortcode, the plugin uses the NEAR AI Cloud API (https://cloud.near.ai/) to analyze the content and create engaging multiple-choice quizzes that help users test their knowledge and improve content retention.

🎯 Key Features

  1. AI-Powered Quiz Generation: Automatically generates contextually relevant quizzes based on your article content using advanced AI models.

  2. Simple Shortcode Integration: Wrap any content with [lnc_ai_quiz_generator]...[/lnc_ai_quiz_generator] shortcode to enable automatic quiz generation for that section.

  3. Interactive Quiz Interface: Clean, user-friendly quiz modal with instant feedback, showing correct/incorrect answers and explanations.

  4. Customizable AI Parameters: Configure API settings including model selection, temperature, max tokens, and other AI parameters to fine-tune quiz generation.

  5. Educational Focus: Each quiz includes 2 carefully crafted questions with 4 multiple-choice options and detailed explanations for correct answers.

🔧 Setup Instructions

Step 1: Configure Cloud AI Settings

  1. Navigate to WordPress Admin > Settings > Cloud AI Client Configuration
  2. Fill in the following fields:

    • API URL: Enter https://cloud-api.near.ai
    • API Key: Enter your NEAR AI Cloud API key (obtain from cloud.near.ai)
    • Quiz Model: Select deepseek-ai/DeepSeek-V3.1 (or your preferred model)
  3. Configure the AI Prompt (pre-filled with optimal settings): The prompt instructs the AI to:

    • Read article content and create exactly 2 questions
    • Provide 4 multiple-choice options (A, B, C, D) for each question
    • Include correct answer and explanation
    • Output valid JSON format only
  4. AI Parameters (defaults):

    • Temperature: 0.7
    • Max Tokens: 2000
    • Top P: 1
    • Frequency Penalty: 0
    • Presence Penalty: 0
  5. Click Save to store your configuration

Step 2: Add Quiz to Your Content

  1. Create or edit any WordPress post or page
  2. Wrap the content you want to quiz users on with the shortcode: [lnc_ai_quiz_generator] Your article content goes here... [/lnc_ai_quiz_generator]
  3. Publish or update the post

Step 3: User Experience

When visitors view your content: 1. They’ll see a help icon (?) next to the content wrapped in [lnc_ai_quiz_generator] 2. Clicking the icon opens an interactive quiz modal 3. The AI generates 2 questions based on the content 4. Users select answers and receive instant feedback 5. Correct answers are highlighted in green with checkmarks 6. Incorrect answers are shown in red with X marks 7. Explanations help users understand the correct answers

🧩 Use Cases

  • Educational Websites: Enhance learning by testing comprehension after each article or lesson
  • Training Platforms: Create automatic knowledge checks for training materials
  • Content Marketing: Increase engagement and time on page with interactive quizzes
  • E-Learning: Add instant assessments to any educational content without manual quiz creation
  • Documentation Sites: Help users verify they understood technical documentation

💡 For WordPress Developers

The plugin uses the NEAR AI Cloud API to generate quizzes. The AI model receives: – Article content from within [lnc_ai_quiz_generator] shortcode – Structured prompt for quiz generation – Returns JSON with quiz questions, options, correct answers, and explanations

The quiz interface is built with vanilla JavaScript and renders in a modal overlay with real-time feedback.

Important Links

  • NEAR AI Cloud: https://cloud.near.ai/
  • Get API Key: Register at cloud.near.ai

Third-Party Services

This plugin connects to the NEAR AI Cloud API to generate quiz questions.

When a visitor clicks the quiz button, the text wrapped in the [lnc_ai_quiz_generator] shortcode is sent to NEAR AI Cloud for processing in order to generate quiz questions.

Service: – NEAR AI Cloud API: https://cloud-api.near.ai/

Terms: – https://near.ai/near-ai-cloud-terms-of-service

Privacy: – https://near.ai/privacy-policy

مجانيعلى خطة Business
إذا أتممت بالتثبيت، فإنك توافق على شروط خدمة ووردبريس.كوم ووشروط إضافات الأطراف الثالثة.
تم اختباره حتى
WordPress 6.9.1
تتوفّر هذه الإضافة للتنزيل لتُستخدم في عملية التثبيت لديك.