Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[bot] Instrument @ibm-cloud/watsonx-ai (949,214 weekly downloads)

Đang mở
#2,397 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
node.js, typescript
Lĩnh vực
ai, observability-sre

Hướng nghiên cứu

Bắt đầu bằng cách so sánh phần instrumentation hiện có của các provider trong js/src/wrappers/ và js/src/auto-instrumentations/configs/, đặc biệt là các integration theo dạng OpenAI được đề cập trong issue. Sau đó, kiểm tra e2e/scenarios/ để tìm scenario của provider gần nhất và upstream WatsonXAI textChat API. Công việc được coi là hoàn tất khi client WatsonXAI được bao phủ bởi instrumentation, configuration và một scenario end-to-end.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

stale

<!-- library-gap-audit: ibm-watsonx-ai -->

Summary

@ibm-cloud/watsonx-ai is IBM's official Node.js SDK for the watsonx.ai foundation-model service, providing text generation and chat execution against IBM's hosted models (Granite family and others) over a REST API. This repo has zero instrumentation for this SDK — no channels, no wrapper, no auto-instrumentation config, and no e2e scenario reference it anywhere.

What's missing

The SDK's execution surface is a WatsonXAI service client instantiated as:

const watsonxAIService = new WatsonXAI({ version: '2024-05-31', serviceUrl: 'https://us-south.ml.cloud.ibm.com' });

Its primary generation method is textChat(params), which accepts messages (role/content array), modelId, projectId/spaceId, and maxTokens, and returns a response read via result.choices[0].message.content — directly analogous to chat.completions.create() for OpenAI-shaped providers, which this repo does instrument for other vendors. None of WatsonXAI, textChat, or any watsonx-related identifier appear anywhere in js/src/ (repo-wide case-insensitive search for "watsonx" returns zero matches).

Weekly downloads

Weekly downloads: 1,194,419 (as of 2026-08-24; https://api.npmjs.org/downloads/point/last-week/@ibm-cloud/watsonx-ai — reported window 2026-08-17 to 2026-08-23). Sustained over the trailing month rather than a one-off spike: ~1.11M (week of 2026-07-25), ~1.17M (2026-08-01), ~1.44M (2026-08-08), ~1.14M (2026-08-15) per https://api.npmjs.org/downloads/range/last-month/@ibm-cloud/watsonx-ai.

Braintrust docs status

not_found — Checked https://www.braintrust.dev/docs/integrations and https://www.braintrust.dev/docs/instrument/wrap-providers; neither lists watsonx or IBM as a named provider integration (unlike OpenAI, Anthropic, Bedrock, Cerebras, etc. which do have dedicated entries). Braintrust's integrations page notes unlisted providers can be connected via its generic AI Proxy or OpenTelemetry endpoint, but there is no watsonx-specific wrapper, guide, or trace processor documented.

Upstream references

Local files inspected

  • Repo-wide case-insensitive grep for watsonx — zero matches anywhere in the repository (no source, config, wrapper, plugin, or e2e references).
  • js/src/auto-instrumentations/configs/ — no watsonx/IBM config file.
  • js/src/wrappers/ — no corresponding wrapper.
  • e2e/scenarios/ — no watsonx scenario.
Ngôn ngữ chính
TypeScript
Star
29
Fork
16
Merge trung bình
1 ngày 16 giờ
Pull request đã merge (30 ngày)
64

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của braintrustdata/braintrust-sdk-javascript

Tất cả issue của braintrustdata/braintrust-sdk-javascript

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.