Locked · Module 3, lesson 2 of 7

One client for any provider: a hosted free tier or a local model

Call the model through the course's one typed function, switch between the hosted free tier and the local model with one setting, and keep the key out of the code and out of Git.

This lesson comes with the course. Enrolment is not open yet, and no payment is taken now.

Tell me when the course opens

The 7 lessons of module 1 are free: see the lessons of the course.

Messages, roles and stop reasonsNext: Structured output: a schema, validation, repair and a fallback