Joel Stevick

Episode 2 of 8 · 10:48

Calling a model from code

What this episode covers

The Messages API is an HTTP API like any other. Tokens, the context window, the system prompt, and what each call costs.

At the end: a command-line assistant in TypeScript, and a question it cannot answer, because the answer is in documents it has never seen.