Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/en/guides/07-operation-telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ Typical response shape:
"llm": {
"input": 12,
"output": 6,
"total": 18
"total": 18,
"prompt_cached": 8,
"completion_reasoning": 4
}
},
"vector": {
Expand Down Expand Up @@ -163,6 +165,8 @@ Only fields that are actually produced by an operation are returned. Missing gro
| `summary.tokens.llm.input` | Total LLM input tokens |
| `summary.tokens.llm.output` | Total LLM output tokens |
| `summary.tokens.llm.total` | Total LLM tokens |
| `summary.tokens.llm.prompt_cached` | Cached prompt tokens reported by the provider |
| `summary.tokens.llm.completion_reasoning` | Reasoning tokens in the completion reported by the provider |
| `summary.tokens.embedding.total` | Total embedding-model tokens |

### `summary.vector`
Expand Down
6 changes: 5 additions & 1 deletion docs/zh/guides/07-operation-telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ Telemetry 是按需返回的。只有你显式请求时,OpenViking 才会在
"llm": {
"input": 12,
"output": 6,
"total": 18
"total": 18,
"prompt_cached": 8,
"completion_reasoning": 4
}
},
"vector": {
Expand Down Expand Up @@ -163,6 +165,8 @@ summary 顶层这 3 个基础字段总会存在:
| `summary.tokens.llm.input` | LLM 输入 token 总量 |
| `summary.tokens.llm.output` | LLM 输出 token 总量 |
| `summary.tokens.llm.total` | LLM token 总量 |
| `summary.tokens.llm.prompt_cached` | 服务方返回的命中缓存的 prompt token 数 |
| `summary.tokens.llm.completion_reasoning` | 服务方返回的 completion 中的推理 token 数 |
| `summary.tokens.embedding.total` | embedding 模型 token 总量 |

### `summary.vector`
Expand Down