<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomotomo1129</author_name>
  <author_url>https://blog.hatena.ne.jp/tomotomo1129/</author_url>
  <blog_title>Web開発における知見共有系ページ</blog_title>
  <blog_url>https://job-info.hateblo.jp/</blog_url>
  <categories>
    <anon>AI基礎理解</anon>
    <anon>LLM内部処理</anon>
    <anon>API動作</anon>
    <anon>生成AI開発</anon>
    <anon>ChatGPT仕組み</anon>
  </categories>
  <description>curlでリクエストを送った瞬間に起きていること ① リクエストの受信と前処理 ② 文章はそのまま読まれない（トークン化） ③ 数値ベクトルへ変換（埋め込み） ④ Transformerによる計算（ここが本体） ⑤ 次の単語を1つ決定 ⑥ これを何百回も繰り返す ⑦ テキストに戻して返却 なぜGPUが必要なのか なぜ遅延が発生するのか 結局curlの裏で何が起きているのか curlでリクエストを送った瞬間に起きていること AI APIはHTTPで呼び出せます。 そのため、たった1行のコマンドで動きます。 curl https://api.example.com/v1/chat \ -H &quot;Au…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjob-info.hateblo.jp%2Fentry%2F2026%2F02%2F07%2F233503&quot; title=&quot;curlでLLMを叩いたとき内部で何が起きているか - Web開発における知見共有系ページ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-02-07 23:35:03</published>
  <title>curlでLLMを叩いたとき内部で何が起きているか</title>
  <type>rich</type>
  <url>https://job-info.hateblo.jp/entry/2026/02/07/233503</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
