Random Question Generation
This Chatflow template generates a custom number of practice questions on a user-specified subject. Users type a natural-language request (e.g. "Give me 3 Linear Algebra questions from Chapter 3") into the chat. A Knowledge Retrieval node fetches matching items from a connected question-bank knowledge base, and an LLM node filters and formats them according to the requested subject and count. The selected questions are streamed back as the assistant's reply. Ideal for teachers and learners who need quick, on-demand exercises without writing them by hand. 1. **Create a new Chatflow.** In Dify Studio, click *Create Application* → *Chatflow*. Name it Random_question_generation. 2. **Add a USER INPUT node.** This is the entry point where the user's request (e.g. *"Give me 3 Linear Algebra questions"*) enters the workflow. 3. **Add a KNOWLEDGE RETRIEVAL node** and connect it to a knowledge base that contains your question–answer pairs. A Markdown-formatted Excel question
Rank
90
Safety
82
Updated
Oct 9, 2026
Source
Dify
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
Install and run
Setup complexity: low.
- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/dify-toby-random-question-generation/snapshot"
Documentation
Dify
1,249 characters of source documentation, loaded on request.
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Dify",
"href": "https://marketplace.dify.ai/api/v1/templates/1c47faa0-2d32-45a3-b054-97ea362334c9",
"sourceUrl": "https://marketplace.dify.ai/api/v1/templates/1c47faa0-2d32-45a3-b054-97ea362334c9",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T01:20:55.238Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/dify-toby-random-question-generation/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/dify-toby-random-question-generation/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": []
}Record generated Oct 9, 2026.
