PulseAugur
中
实时 04:37:57

Simon Willison 更新 ttok token 计数 CLI 工具

Simon Willison 更新了他的命令行工具 ttok,该工具使用 OpenAI 的 tiktoken 库进行 token 计数。此次更新解决了与 Click 库相关的警告,改进了持续集成,并引入了一个用于列出可用模型的新命令。该工具可以与 uvx 集成,用于计算各种文件中的 token。 AI

影响 对一个用于 token 计数的开发者工具进行了小幅更新,提高了可用性。

排序理由 对一个使用开源库的命令行工具进行了更新。

在 Simon Willison 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

Simon Willison 更新 ttok token 计数 CLI 工具

本文如何被排名

Signal score
9 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
对一个使用开源库的命令行工具进行了更新。
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, infra
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

完整方法见我们的编辑标准。

报道来源 [1]

  1. Simon Willison TIER_1 (HU) ·

    ttok 0.4

    <p><strong>Release:</strong> <a href="https://github.com/simonw/ttok/releases/tag/0.4">ttok 0.4</a></p> <p><code>ttok</code> is my CLI tool for counting tokens, using OpenAI's open source <a href="https://github.com/openai/tiktoken">tiktoken</a> library.</p> <p>It hasn't been in …