Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[bot] Instrument informers (5.5K weekly downloads)

已关闭
#200 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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 to embeddings.create in 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 .call invocation 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

Braintrust docs sources checked

Local repo files inspected

  • lib/braintrust/contrib.rb — registers only 4 integrations: OpenAI, RubyOpenAI, RubyLLM, Anthropic. No informers integration.
  • lib/braintrust/contrib/ — no directory or files for informers
  • Appraisals — no appraisal scenario for informers
  • braintrust.gemspec — no mention of informers
  • Grep for informers, Informers, onnx across lib/braintrust/ returns zero matches
主要语言
Ruby
星标
9
派生
11
平均合并
2 天 3 小时
30 天内合并 PR
5

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

braintrustdata/braintrust-sdk-ruby 的其他 Issue

查看 braintrustdata/braintrust-sdk-ruby 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。