Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[bot] cohere-ruby gem not instrumented

クローズ
#162 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
ruby
領域
observability

調査の方向性

まず lib/braintrust/contrib/ 配下の既存のインテグレーションを比較し、次に lib/braintrust/contrib.rb、Appraisals、braintrust.gemspec を確認します。Issue で挙げられている cohere-ruby API と既存の計装パターンを確認してください。登録済みの Cohere インテグレーションがチャット、生成、embeddings、reranking をカバーし、適切な Appraisal カバレッジがある状態を完了とします。

索引モデルが issue の本文から書いたものです。

説明

Summary

The cohere-ruby gem (~93K downloads, v1.0.2, April 2026) is the primary Ruby client for Cohere's API and is not instrumented by this SDK. Braintrust already documents Cohere as a supported AI provider with TypeScript and Python instrumentation, but there is no Ruby equivalent.

What is missing

No instrumentation exists for any cohere-ruby execution surface. Key APIs that should be instrumented:

Chat Completions
  • client.chat(model:, messages:, ...) — Conversational AI using Cohere's Command family of models. Supports streaming, tool use, and conversation history (via chat_history).
Text Generation
  • client.generate(prompt:, ...) — Text generation from a prompt. Supports model selection, max tokens, temperature, and stop sequences.
Embeddings
  • client.embed(model:, texts:, input_type:, ...) — Vector embeddings for text classification, semantic search, and clustering. Supports multiple embedding types (float, int8, uint8, binary).
Reranking
  • client.rerank(model:, query:, documents:, ...) — Document ranking by relevance to a query. Used in RAG pipelines to improve retrieval quality.

Braintrust docs status

supported — Braintrust documents Cohere as a supported AI provider at https://www.braintrust.dev/docs/integrations/ai-providers/cohere with TypeScript (cohere-ai v7.0.0+) and Python (cohere v5.0.0+) instrumentation. No Ruby SDK instrumentation is documented.

Upstream sources

Local repo files inspected

  • lib/braintrust/contrib/ — contains only openai/, ruby_openai/, ruby_llm/, anthropic/, and rails/ directories. No cohere directory.
  • lib/braintrust/contrib.rb — registers only 4 integrations: OpenAI, RubyOpenAI, RubyLLM, Anthropic. No Cohere integration.
  • Appraisals — no appraisal scenarios for cohere-ruby
  • braintrust.gemspec — no mention of cohere
  • Grep for cohere across lib/braintrust/ returns zero matches
主要言語
Ruby
スター
9
フォーク
11
平均マージ
3日 43分
マージ済み PR(30日)
9

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

braintrustdata/braintrust-sdk-ruby のほかの issue

braintrustdata/braintrust-sdk-ruby の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。