PyAI Learn Türkçe

Module 6

Your first AI project

Fake LLM, real code shape

When you finish this module you can say:

I can write a chat program that talks to a language model and remembers what was said.

By the end of this module you'll be able to swap the rule-based bot from Module 0 for a language model, and write an assistant that remembers your name and counts how many messages you sent it.

Start

Lessons

4 lessons · ≈ 38 min

  1. First call8 min
  2. Message lists and roles9 min
  3. Chat loop9 min
  4. Project: The remembering assistant12 min · project

Practice exercises

Short writing exercises, independent of the lessons: Go to the exercises

  1. Ask by module name
  2. Add the message by hand
  3. User messages only
  4. Send the last records