[bot] Instrument informers (5.5K weekly downloads)
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 52/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- ruby
调研方向
首先阅读 lib/braintrust/contrib.rb 以及 lib/braintrust/contrib/ 下的现有文件,以了解集成是如何注册和组织的。检查 Appraisals 和 braintrust.gemspec,了解依赖和场景约定,然后检查 issue 中提到的 informers APIs。完成的标准是相关的推理调用已完成插桩,并且新集成已注册,同时在检查的文件中不留下与 informers 相关的遗漏。
由索引模型根据 Issue 内容生成。
描述
Summary
The informers gem (RubyGems: informers, by Andrew Kane) is a Ruby library for running Hugging Face transformer models locally via ONNX Runtime — no API keys or network calls required. It provides a concrete execution surface for embeddings generation, text classification, and other transformer inference pipelines, and is not instrumented by this SDK.
What is missing
No instrumentation exists for any informers execution surface. Key APIs that should be instrumented:
Embeddings
Informers.pipeline("embedding", model_name).(text)— runs a local ONNX embedding model and returns vector output. This is the primary execution method analogous toembeddings.createin hosted embedding APIs.- Batch embedding calls (passing an array of texts) for semantic search / RAG pipelines.
Other Inference Pipelines
Informers.pipeline("text-classification", ...),"feature-extraction","zero-shot-classification","reranking", etc. — each.callinvocation runs local model inference and is a natural span boundary (model name, input, output, latency).
Weekly downloads
5.5K (as of 2026-07-23; https://clickgems.clickhouse.com/dashboard/informers) — ClickGems reports Last day / Last week / Last month / Total download counts sourced from Ruby Central's public RubyGems download dataset. RubyGems.org itself only exposes "Total downloads" and "downloads for this version," not a weekly figure, so ClickGems was used as the directly-reported weekly stat rather than deriving one.
Additional signals: v1.3.0 released April 15, 2026 (rubygems.org); Total downloads 2,515,045 (rubygems.org).
Braintrust docs status
not_found — Checked https://www.braintrust.dev/docs/integrations/sdk-integrations (lists only openai, anthropic, ruby-llm, ruby-openai for Ruby) and searched https://www.braintrust.dev/docs generally. No mention of informers, ONNX, or local/offline embedding inference for Ruby anywhere in Braintrust's documentation.
Upstream sources
- GitHub: https://github.com/ankane/informers
- RubyGems: https://rubygems.org/gems/informers
- Download stats: https://clickgems.clickhouse.com/dashboard/informers
Braintrust docs sources checked
Local repo files inspected
lib/braintrust/contrib.rb— registers only 4 integrations: OpenAI, RubyOpenAI, RubyLLM, Anthropic. Noinformersintegration.lib/braintrust/contrib/— no directory or files forinformersAppraisals— no appraisal scenario forinformersbraintrust.gemspec— no mention ofinformers- Grep for
informers,Informers,onnxacrosslib/braintrust/returns zero matches
- 主要语言
- Ruby
- 星标
- 9
- 派生
- 11
- 平均合并
- 2 天 3 小时
- 30 天内合并 PR
- 5
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
braintrustdata/braintrust-sdk-ruby 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 2/5 1-3 小时 新手友好度 72/100
-
ruby
难度 3/5 半天 新手友好度 62/100
-
ruby
难度 3/5 1-2 天 新手友好度 45/100
查看 braintrustdata/braintrust-sdk-ruby 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
up-for-grabs/up-for-grabs.net#6330 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 72/100
TheOdinProject/curriculum#31490 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
hotwired/turbo-rails#791 ·
-
难度 2/5 1-3 小时 新手友好度 85/100
FinanceFlash/unvibecode#273 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复