Claude Platform 101
← Hoch {lessons}
{lesson} 02Claude Platform 101

Study Notes

wab

wab — yIlaD.

{study notes}
  • {API key} - platform. claude. com-vo' yIghom. . env. local-Daq yIjatlh. GitHub-Daq yIjatlhbe'!
  • {SDK} yIjatlh - npm install @anthropic-ai/sdk - wa'DIch ghu'vam yIjatlh
  • **messages. create** - QaPla'! Wej ghu'vam yIjatlh: {model}, {max_tokens}, messages
  • {model} - claude-opus-4-8 je claude-opus-4-7 - wa'DIch SuvwI' yIjatlh
  • {system prompt} - qapla'! Claude-va' yIjatlhmeH ghu'vam yIjatlh. Persona yIjatlh!
  • **response. content** - array ghu'vam 'oH. block-pu' yIjatlh. type yIjatlh: text, {tool calls}, {thinking}
  • loop je check - block-pu' vIjatlhmeH, type yIjatlh. text-Daq yIjatlh!
  • {route handler} - product-Daq messages. create yIjatlh. database-vo' transcript yIghom. result yIjatlh!
{flashcards} 10 {cards}
{question}
yI'ang · ←/→
{answer}
{flip}
Anki (.tsv) ↓
{knowledge check} 6 {questions}