Skip to content

[bot] Voyage AI TypeScript SDK (voyageai) not instrumented — no tracing for embeddings or reranking #2222

Description

@braintrust-bot

Summary

Voyage AI publishes an official TypeScript SDK, voyageai on npm (latest v0.2.1), providing typed access to its embeddings, reranking, and multimodal embedding execution APIs. Voyage AI is a widely used embeddings provider (notably recommended alongside Anthropic's own models). This repository has zero instrumentation for any voyageai SDK surface — no wrapper, no diagnostics channel, no plugin, no auto-instrumentation config, no e2e scenario. Every other embeddings-capable provider already instrumented in this repo (OpenAI, Cohere, Mistral, Groq, Google GenAI, HuggingFace, OpenRouter, Genkit, Vercel AI SDK) has embeddings coverage folded into its wrapper/plugin — Voyage AI has none.

What instrumentation is missing

SDK Method Description
client.embed({ input, model }) Generates text embeddings (single or batch input) — the core embeddings execution surface
client.multimodalEmbed({ inputs, model }) Generates embeddings over mixed text/image input
client.rerank({ query, documents, model }) Reranks a document list by relevance to a query — an execution surface with no analogue in the currently-instrumented providers
client.contextualizedEmbed(...) Contextualized chunk embeddings for long-document retrieval

No coverage in any instrumentation layer:

  • No wrapper function (e.g. wrapVoyageAI()) in js/src/wrappers/
  • No channel definitions or plugin in js/src/instrumentation/plugins/
  • No auto-instrumentation config in js/src/auto-instrumentations/configs/
  • No e2e test scenario under e2e/scenarios/
  • Full repo grep for voyage (case-insensitive) returns zero matches anywhere in js/, integrations/, or e2e/

Indirect coverage does not exist: Voyage AI's client has its own HTTP layer (VoyageAIClient) and is not built on the openai package, so the existing OpenAI auto-instrumentation cannot pick up its calls. There is also no Braintrust AI-proxy/gateway workaround documented for Voyage AI (unlike Replicate/Together/Fireworks/Cerebras, which at least have gateway-based partial coverage per their own docs pages).

Braintrust docs status

not_found. No Braintrust integrations page exists for Voyage AI at https://www.braintrust.dev/docs/integrations or https://www.braintrust.dev/docs/integrations/ai-providers — it is absent from both the AI-providers list and the SDK-integrations list.

Upstream references

Local files inspected

  • js/src/wrappers/ — full list of provider wrappers (oai.ts, anthropic.ts, bedrock-runtime.ts, google-genai.ts, groq.ts, cohere.ts, mistral.ts, huggingface.ts, openrouter.ts, genkit.ts) — no voyageai.ts/voyage.ts
  • js/src/instrumentation/plugins/ — no Voyage AI channels or plugin file
  • js/src/auto-instrumentations/configs/ — no Voyage AI config entry
  • js/src/instrumentation/config.tsInstrumentationIntegrationsConfig has no Voyage-related key
  • e2e/scenarios/ — no Voyage AI test scenario
  • Full repo grep for voyage (case-insensitive) — zero matches

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions