From 545bd2b8c35faabc6368ccea559863cf26d52f6d Mon Sep 17 00:00:00 2001 From: syui Date: Sun, 23 Mar 2025 08:08:27 +0900 Subject: [PATCH] fix --- book/gasp/13_chatgpt.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/book/gasp/13_chatgpt.md b/book/gasp/13_chatgpt.md index 5491c78..242ee42 100644 --- a/book/gasp/13_chatgpt.md +++ b/book/gasp/13_chatgpt.md @@ -9,6 +9,8 @@ NPCなどの会話や操作を音声とAIで実行します。 具体的な仕組みとしては、まずEnterを押すと、音声を読み取ります。読み取った音声を文字に変換し、それをchatgptに渡します。回答を再び音声に変換し、NPCと会話できるというシステムです。 + + ```sh $ curl https://api.openai.com/v1/chat/completions \ -H "Content-Type: application/json" \