[bot] Instrument @ibm-cloud/watsonx-ai (949,214 weekly downloads)
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ả
<!-- 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
- Package: https://www.npmjs.com/package/@ibm-cloud/watsonx-ai
- Repo: https://github.com/IBM/watsonx-ai-node-sdk
- API docs: https://ibm.github.io/watsonx-ai-node-sdk/ (see
textChatmethod andWatsonXAIclass) - Product docs: https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/fm-node-sdk.html
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của braintrustdata/braintrust-sdk-javascript
-
typescript
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
braintrustdata/braintrust-sdk-javascript#2578 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
typescript
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
braintrustdata/braintrust-sdk-javascript#2577 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
braintrustdata/braintrust-sdk-javascript#2527 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 65/100
braintrustdata/braintrust-sdk-javascript#2526 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
braintrustdata/braintrust-sdk-javascript#2482 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của braintrustdata/braintrust-sdk-javascript
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
better-auth/better-auth#11723 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: docs difficulty: easy documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Worker-Erstellung bricht langsame Git-Worktree-Checkouts nach 20 Sekunden abCó thể đã có người làm @KajoVanBuyten đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
AgentSystemLabs/agent-office#367 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
pierrecomputer/pierre#1187 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: frontend bug
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
snapotter-hq/SnapOtter#2425 ·
Maintainer thường phản hồi trong vòng 1 ngày