Locked · Module 2, lesson 2 of 8
A thin client of your own: one function, any provider
Wrap the model call in one typed function so the rest of the course never depends on a single provider, and switch between a hosted model and the local one with a setting.
This lesson comes with the course. Enrolment is not open yet, and no payment is taken now.
The 7 lessons of module 1 are free: see the lessons of the course.
The messages API, properly: roles, turns and stop reasonsNext: Structured output: a schema the reply must fit
