← All slides

Intro to AI App Development — Slides

50 lessons, 619 slides. Each lesson's text and code as one deck (the slides are in Japanese).

Version 1 (made 2026-11-06)

Payment is handled on Stripe's page. After buying, you can download from this page at any time.

Please log in to use a coupon code. You can also enter a promotion code on the payment page (Stripe).

Samples

Sample slide 1 Sample slide 2 Sample slide 3

What's included

  • slides.pdf — One slide per page. For checking or printing
  • png/ — 1920×1080 images, ready to drop into a video editor
  • index.html — Open in a browser to present. Press P for the presenter view (notes, next slide, elapsed time)

Each lesson has its own folder. The lesson text is kept as is, so what to say appears in the presenter notes.

How you may use them

  • Your own study
  • Classes, lectures and study groups you teach yourself
  • In-house training at your own company or organization
  • On screen in videos you record yourself for those classes or trainings
  • Editing the wording or reordering slides for those uses
  • Handing out the slide files themselves (PDF, PNG, HTML) to learners or anyone else
  • Selling the slides, or edited versions of them, or including them in paid materials
  • Posting them anywhere public (websites, social media, public videos on video sites, etc.)
  • Removing the 4peiron.dev credit and presenting them as your own work

4peiron.dev keeps the copyright. What you buy is the right to use the slides as described above. The same terms are in README.txt inside the ZIP.

Contents

1

LLM アプリ開発とローカル LLM

14 slides

2

Ollama のセットアップと最初のリクエスト

14 slides

3

トークンとトークン数

13 slides

4

コンテキストウィンドウと num_predict

12 slides

5

temperature と決定性

12 slides

6

モデルの選び方(速さと精度)

10 slides

7

system と user と assistant

11 slides

8

マルチターン会話

11 slides

9

ストリーミング

13 slides

10

JSON 出力を強制する

12 slides

11

構造化データを取り出す

10 slides

12

会話履歴の管理

9 slides

13

【実践】履歴を持つターミナルチャット

18 slides

14

よいプロンプトの基本(役割を与える)

12 slides

15

例示(few-shot)で出力の形をそろえる

11 slides

16

XML タグで指示とデータを区切る

13 slides

17

出力フォーマットを JSON スキーマで固定する

14 slides

18

自動車ドメインのプロンプト(諸元を資料として渡す)

11 slides

19

評価データを作る

13 slides

20

プロンプトを評価して改善する

12 slides

21

ツールとは何か(LLM に外の道具を使わせる)

11 slides

22

ツールを定義する(名前・説明・引数スキーマ)

13 slides

23

tool_call を受け取る

13 slides

24

vPIC ツールを実行する

16 slides

25

結果を返してループを閉じる

14 slides

26

複数ツールと選択

11 slides

27

ツールのエラーとリトライ

14 slides

28

エージェントの最小形

15 slides

29

RAG とは何か(外部文書を根拠に答えさせる)

13 slides

30

埋め込み(embedding)

12 slides

31

コサイン類似度で検索する

12 slides

32

チャンク分割

12 slides

33

リコール文書を RAG で引く

11 slides

34

引用付きで答えさせる

13 slides

35

検索の評価(hit 率)

13 slides

36

RAG の落とし穴(資料に無いことを拾わせない)

12 slides

37

トークンとコストの計算

11 slides

38

レート制限とリトライ

13 slides

39

タイムアウトと並行数

12 slides

40

ログと観測

11 slides

41

プロンプトインジェクション対策

12 slides

42

PII と安全性(メール・電話を伏せる)

12 slides

43

出力の検証(ガードレール)

12 slides

44

キャッシュと再現性

13 slides

45

車両情報アシスタントの設計(質問の振り分け)

15 slides

46

FastAPI のエンドポイント

13 slides

47

vPIC ツールをエンドポイントに組み込む

12 slides

48

リコール RAG を /ask に組み込む

12 slides

49

テストと評価(アプリ全体を確かめる)

11 slides

50

公開と総まとめ

10 slides

The lesson text is on the course page. Slides are sold separately from the membership; members also need to buy them. Refunds follow the Terms of Service.