Skip to content

[bot] Instrument Pinecone Inference API (pinecone-sdk) (2,500 weekly downloads) #100

Description

@braintrust-bot

Library and missing instrumentation

The official Pinecone Rust client crate, pinecone-sdk (maintained at pinecone-io/pinecone-rust-client), exposes Pinecone's Inference API as a first-class execution surface: PineconeClient::embed(...) (generate embeddings from hosted models such as multilingual-e5-large) and reranking. These are model-execution calls (analogous in kind to the OpenAI/Anthropic completion calls this SDK already extracts usage from), not vector-store CRUD.

This repository currently has no extractor, usage-metrics parser, or span helper for Pinecone Inference responses. src/extractors.rs only implements extract_openai_usage and extract_anthropic_usage; there is no Pinecone-shaped equivalent, and Cargo.toml has no Pinecone dependency, confirming zero existing support.

Weekly downloads: 2,500 (as of 2026-09-07; computed by summing the official crates.io per-day download API for 2026-08-31 through 2026-09-06 — source: https://crates.io/api/v1/crates/pinecone-sdk/downloads)

Braintrust docs status: not_found. Braintrust's existing Pinecone-related documentation (RAG cookbook, vector database article, integrations index) only covers using Pinecone as a vector store for externally-generated (e.g. OpenAI) embeddings. None of it documents instrumenting Pinecone's own Inference API (embed/rerank) execution calls, and no braintrust SDK appears to wrap or extract usage from Pinecone Inference responses.

Upstream sources

Braintrust docs sources checked

Local repo files inspected

  • src/extractors.rs (only extract_openai_usage, extract_anthropic_usage)
  • src/lib.rs (crate exports)
  • Cargo.toml (dependency list — no Pinecone dependency)
  • src/stream.rs (generic streaming helper, provider-agnostic)
  • README.md

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions