Lesson overview

Proxy a bounded model stream

Proxy a bounded model stream — Build a local AI chat web app. Validate before headers; Save chat.mjs and connect it; Distinguish HTTP and stream failures. Practical assignment: Lab evidence.

Demo edition. The materials are undergoing editorial review.

Topics covered

  • Validate before headers
  • Save chat.mjs and connect it
  • Distinguish HTTP and stream failures

Practical assignment

Lab evidence

The full lesson is available as part of the course.

Continue to learning

Course outline

  1. Draw the boundary and build the interface
  2. Serve a narrow local application
  3. Proxy a bounded model stream
  4. Decode streaming records in the browser
  5. Bound sessions, input and resource use
  6. Verify the app and plan deployment