

Cloud AI Client Configuration page - Configure API settings, model, and prompt
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
AI-Powered Quiz Generation: Automatically generates contextually relevant quizzes based on your article content using advanced AI models.
Simple Shortcode Integration: Wrap any content with [lnc_ai_quiz_generator]...[/lnc_ai_quiz_generator] shortcode to enable automatic quiz generation for that section.
Interactive Quiz Interface: Clean, user-friendly quiz modal with instant feedback, showing correct/incorrect answers and explanations.
Customizable AI Parameters: Configure API settings including model selection, temperature, max tokens, and other AI parameters to fine-tune quiz generation.
Educational Focus: Each quiz includes 2 carefully crafted questions with 4 multiple-choice options and detailed explanations for correct answers.
Step 1: Configure Cloud AI Settings
Fill in the following fields:
https://cloud-api.near.aideepseek-ai/DeepSeek-V3.1 (or your preferred model)Configure the AI Prompt (pre-filled with optimal settings):
The prompt instructs the AI to:
AI Parameters (defaults):
Click Save to store your configuration
Step 2: Add Quiz to Your Content
[lnc_ai_quiz_generator]
Your article content goes here...
[/lnc_ai_quiz_generator]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
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.
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