执行摘要
将 list_external_corpora API 返回值扩展为包含语料库 token 计数的字典。
根据PR body,动机是'Admin will manage the external corpora themselves, we need to give them more insights into their corpora (token counts of each corpus)'。关联Issue #21052 '[Roadmap] Further Ngram Speculative Decoding Support',该PR是系列工作项的一部分。
建议关注此PR的设计决策,如使用制表符分隔符避免corpus ID中的逗号问题,以及从C++到HTTP的全栈一致性更新。对于从事Ngram模块或API开发的工程师值得精读,以理解外部语料库管理的演进方向。
Review评论列表为空,未提供具体讨论内容,因此无法提取讨论要点。
参与讨论