InferenceClient: provide generator-based bulk inference
还没有人认领这个 Issue。
评估
调研方向
Locate InferenceClient and do_bulk_inference, then review the related issue #62 for context. Determine whether the existing API or a separate method should yield individual chunks; done means callers can handle errors without losing progress and do_bulk_inference uses the generator-based behavior.
由索引模型根据 Issue 内容生成。
描述
The current implementation will try to perform inference for all chunks. If an exception occurs, the progress is lost.
By yielding the individual chunks, the caller can be in charge of error handling.
We can either change the existing API or introduce a separate method (and implement do_bulk_inference using the new method).
See also #62
- 主要语言
- Jupyter Notebook
- 星标
- 20
- 派生
- 6
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
SAP/data-attribute-recommendation-python-sdk 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 30/100
-
难度 2/5 1-3 小时 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 20/100
-
难度 5/5 一周以上 新手友好度 15/100
-
难度 5/5 一周以上 新手友好度 25/100
查看 SAP/data-attribute-recommendation-python-sdk 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
-
external-issue to-triage
难度 2/5 1-3 小时 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 78/100
googleapis/google-cloud-swift#1151 ·
-
external
难度 2/5 1-3 小时 新手友好度 65/100
langchain-ai/langgraph#9074 · 1 条评论 ·
-
documentation specification
难度 1/5 1 小时以内 新手友好度 90/100
openai/openai-openapi#584 ·