Overview
StretchCode includes an optional AI assist that drafts a lesson from a topic prompt. Give it a subject and it returns a structured starting point: a title, learning objectives, a section outline, and a short quiz (questions paired with answers). It's designed to accelerate authoring, not replace your expertise — you review and refine everything before publishing.
What it generates
From a single topic, AI assist produces a structured lesson draft containing:
- Title — a clear lesson title.
- Objectives — the learning objectives for the lesson.
- Outline — an ordered list of sections to cover.
- Quiz — a short set of questions, each paired with an answer, that you can adapt into a real assessment.
The output is a draft scaffold. It is not published, not attached to a course, and not shown to learners until you incorporate and publish it yourself.
Availability
AI assist is feature-flagged and only works when it's enabled for your workspace and the underlying model service is available. If it isn't enabled or the model is unavailable, the feature returns a clear "not available" response and no draft — it never blocks the rest of the builder. If you don't see AI assist, it isn't enabled for your workspace.
Generate a lesson draft
- In the builder, open AI assist (available where it's enabled).
- Enter a topic — the more specific, the better (for example, "Writing effective cold outreach emails for B2B sales" rather than just "emails").
- Generate. Review the returned title, objectives, outline, and quiz.
- Copy the pieces you want into a real lesson: expand the outline into full body content, refine the objectives, and turn the suggested questions into a proper quiz.
- Set the content format, lesson type, and status, then publish when you're satisfied.
A realistic example
An author enters the topic "Introduction to unit testing in Python". AI assist returns a title, four objectives (write a test, use assertions, structure a test file, run the suite), a six-section outline, and three quiz questions with answers. The author expands the outline into a Markdown lesson, adds a real code example, keeps two of the three quiz questions, writes a third of their own, and publishes.
Tips
- Be specific in your topic prompt — narrow topics produce sharper outlines and more useful quiz questions.
- Treat the output as a first draft. Verify facts, add your own examples, and match your house style before publishing.
- Use the generated outline as your module/lesson structure even if you rewrite the prose.
- The suggested quiz is a starting point — refine questions and answers in the real quiz builder, where you also set the pass threshold.
Troubleshooting
AI assist isn't available in my workspace. It's feature-flagged. If it's disabled or the model service is unavailable, the feature is hidden or returns a "not available" response. Contact your StretchSuite administrator to enable it.
I submitted an empty topic and got nothing back. AI assist needs a non-empty topic. Enter a specific subject and try again.
The draft isn't showing up in my course. AI output is a scaffold, not a published lesson. You must copy it into a lesson and publish it yourself — this is intentional so nothing goes live without review.
Was this helpful?
Help us improve this article
Use these controls to share whether this answer solved the issue. Feedback helps prioritize updates to StretchSuite Support.

