AI MOOC
✦ Grow togetherInvite 3 friends, earn 1 month of membership · Up to 12 monthsInvite friends →

Library / My reading notes

Design a bounded AI text assistant

Define an input/output contract, validate structured results and handle failures and cost. Deliver an implementable text-assistant design.

Completely free · 3 chapters

What you will deliver

Deliver an API contract, output validator, four failure states and a budget sheet.

Before you start

Understand JSON. Run validation exercises in a browser. Live model calls are optional and may incur provider fees.

Complete course plan

  1. 1. Define the contract before choosing a model

    Turn “summarize this text” into a verifiable interface.

  2. 2. Valid JSON is not enough

    Reject missing fields, wrong types and oversized results.

  3. 3. Plan for failure, cancellation and cost

    Define honest execution states and a budget for live requests.

All chapters and exercises are free. Reading or self-checks do not automatically award independent certification.

References and further reading

The lessons are original. The following sources are provided under their respective permissions.

Course

Generative AI for Beginners

Microsoft · en/zh

MIT

License checked. This entry links to the original; the book text is not mirrored.

License checked: 2026-10-16 · Pinned d45da912
Course

Generative AI with JavaScript

Microsoft · en/zh

MIT

License checked. This entry links to the original; the book text is not mirrored.

License checked: 2026-10-16 · Pinned 03e41953
Book

Self-LLM: open LLM deployment guide

Datawhale · en/zh

Apache-2.0

License checked. This entry links to the original; the book text is not mirrored.

License checked: 2026-10-16 · Pinned e0fe14a3

Related external learning resources

These resources are provided by other organizations. Check language, costs and terms before choosing what to explore next.