{"id":"c53fc326-9662-4812-a768-d5c1939297f5","entityType":"agent","slug":"dify-toby-random-question-generation","name":"Random Question Generation","canonicalUrl":"https://www.xpersona.co/agent/dify-toby-random-question-generation","canonicalPath":"/agent/dify-toby-random-question-generation","generatedAt":"2026-10-09T06:06:47.454Z","source":"DIFY_MARKETPLACE","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T01:20:55.238Z","emptyReason":null},"description":"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","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.","installCommand":null,"sourceUrl":"https://marketplace.dify.ai/api/v1/templates/1c47faa0-2d32-45a3-b054-97ea362334c9","homepage":null,"primaryLinks":[{"label":"View on Dify","url":"https://marketplace.dify.ai/api/v1/templates/1c47faa0-2d32-45a3-b054-97ea362334c9","kind":"source"}],"safetyScore":82,"overallRank":89.5,"popularityScore":81,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"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 Linea"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T01:20:55.238Z","emptyReason":null},"protocols":[],"capabilities":[{"label":"workflow","status":"self-declared"},{"label":"others","status":"self-declared"},{"label":"openai","status":"self-declared"}],"verifiedCount":0,"selfDeclaredCount":3,"capabilityMatrix":{"rows":[{"key":"workflow","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"others","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"openai","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"}],"flattenedTokens":"capability:workflow|supported|profile capability:others|supported|profile capability:openai|supported|profile"}},"adoption":{"evidence":{"source":"no-adoption-signals","verified":false,"confidence":"low","updatedAt":"2026-10-09T01:20:55.238Z","emptyReason":"No source adoption metrics were available."},"stars":null,"forks":null,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":null},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-10-09T01:20:55.234Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T01:20:55.238Z","lastCrawledAt":"2026-10-09T01:20:55.234Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-11T01:20:55.234Z","lastVerifiedAt":null,"highlights":[]},"execution":{"evidence":{"source":"Dify","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":null,"setupComplexity":"low","setupSteps":["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":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/dify-toby-random-question-generation/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/dify-toby-random-question-generation/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/dify-toby-random-question-generation/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/dify-toby-random-question-generation/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/dify-toby-random-question-generation/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/dify-toby-random-question-generation/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":[]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"DIFY_MARKETPLACE","generatedAt":"2026-10-09T06:06:47.453Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/dify-toby-random-question-generation/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/dify-toby-random-question-generation/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/dify-toby-random-question-generation/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/dify-toby-random-question-generation/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"Dify","verified":false,"confidence":"high","updatedAt":"2026-10-09T01:20:55.238Z","emptyReason":null},"readme":"1. **Create a new Chatflow.** In Dify Studio, click *Create Application* → *Chatflow*. Name it `Random_question_generation`.\r\n\r\n2. **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.\r\n\r\n3. **Add a KNOWLEDGE RETRIEVAL node** and connect it to a knowledge base that contains your question–answer pairs. A Markdown-formatted Excel question bank is recommended.\r\n\r\n4. **Add an LLM node.** Pick a chat-capable model such as GPT-5 or GPT-4o-mini.\r\n\r\n5. **Paste the prompt into the LLM node's SYSTEM field.** The prompt defines an *exercise-filter-and-output agent* and references two variables:\r\n   - `{{#sys.query#}}` — the user's natural-language request\r\n   - `{{#context#}}` — items returned by the Knowledge Retrieval node\r\n\r\n   The prompt lists six rules: *parse intent · filter by subject · answer-switch · quantity-adapt · output format · stay on-topic.*\r\n\r\n6. **Add an ANSWER node** and connect the LLM output to it so the assistant can stream the questions back to the user.\r\n\r\n7. **Save and Test Run.** Send a sample request such as *\"Give me 3 Linear Algebra questions\"* and verify the reply contains exactly the requested number of matching questions.","readmeExcerpt":"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 ","codeSnippets":[],"executableExamples":[],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["en"],"docsSourceLabel":"Dify","editorialOverview":"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","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":457,"uniquenessScore":66,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T01:20:55.238Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T01:20:55.238Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"agent-directory","verified":false,"confidence":"low","updatedAt":"2026-10-09T06:06:47.454Z","emptyReason":"No close protocol neighbors were found."},"items":[],"links":{"hub":"/agent","source":"/agent/source/dify_marketplace","protocols":[]}}}