Explain Your Clinic Intake

Your intake passes every step of the exercise against the stand-in model, and the project lesson showed what a real morning’s run of the clinic’s twelve notes looks like. The tests checked what your code does with scripted answers. They can’t check whether you can explain why each record lands where it does, or whether you could change the intake when the clinic asks for something new.

In this review, you’ll talk through your intake with the mentor, compare the fast and capable models on the real notes, and make a change you haven’t seen yet. Start by getting your project ready, so the session doesn’t stall while you look for a file.

Get Your Project Ready

The mentor will ask you to paste code and terminal output, so have these open before you start:

  • Your project folder in a terminal, with intake.js and run-intake.js from the exercise, the pieces they import (booking-prompt.js, record-schema.js, check-record.js, cost.js, retry-prompt.js, and front-desk.js), and model/ with both provider files.
  • Your .env, with MODEL_PROVIDER, your provider’s key, and MAX_OUTPUT_TOKENS, as the course set them up.
  • The output of a real run of the twelve notes with node --env-file=.env run-intake.js, and the intake-<today>.json file it saved. If you haven’t run it yet, then do that first.

Locked learning resources

Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Locked learning resources

The full lesson is for members only. Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Become a Member to join the conversation.