Polish the wording of the updated docs pages

Reword the Japanese sentences so they read naturally, and correct the
size of the llama.cpp server sources in the code reading chapter.
This commit is contained in:
yhirose
2026-10-08 07:40:45 -04:00
parent bef278e0d2
commit c95d799180
20 changed files with 28 additions and 28 deletions

View File

@@ -21,7 +21,7 @@ llama.cpp/
└── httplib.h # cpp-httplib(同梱版)
```
実装は役割ごとに複数のファイルに分かれています。全体の規模は大きいですが、構造を知っていれば読むべき箇所は絞れます。
実装は役割ごとにファイルが分かれています。全体では2万行を超えますが、構造を知っていれば読むべき箇所は絞れます。
## 7.2 OpenAI互換API
@@ -145,7 +145,7 @@ LLMをアプリに組み込むとき、出力を確実にパースできるか
| SSEフォーマット | トークンのみ | OpenAI互換JSON |
| KVキャッシュ | 毎回クリア | prefixを再利用 |
| 構造化出力 | なし | JSON Schema/文法制約 |
| コード量 | 約200行 | 数千行 |
| コード量 | 約200行 | 2万行以上 |
私たちのコードがシンプルなのは、「デスクトップアプリで1人が使う」という前提があるからです。複数人に提供するサーバーや、既存のエコシステムと連携するサーバーを作るなら、`llama-server`の設計が参考になります。