OpenTelemetry Voyage AI instrumentation
Project Links
Meta
Author: Gal Kleinman
Requires Python: <4,>=3.10
Classifiers
OpenTelemetry Voyage AI Instrumentation
This library allows tracing Voyage AI API calls with OpenTelemetry.
Installation
pip install opentelemetry-instrumentation-voyageai
Usage
from opentelemetry.instrumentation.voyageai import VoyageAIInstrumentor
VoyageAIInstrumentor().instrument()
# Now use Voyage AI as usual
import voyageai
client = voyageai.Client()
# Embeddings
result = client.embed(texts=["Hello, world!"], model="voyage-3")
# Reranking
result = client.rerank(
query="What is the capital of France?",
documents=["Paris is the capital of France.", "London is in England."],
model="rerank-2.5"
)
Semantic Conventions
This instrumentation follows the OpenTelemetry GenAI semantic conventions:
gen_ai.system: "voyageai"gen_ai.operation.name: "embeddings" or "rerank"gen_ai.request.model: The model namegen_ai.usage.input_tokens: Token count from the responsegen_ai.embeddings.dimension.count: Embedding vector dimension (for embed only)
0.60.0
Apr 19, 2026
0.59.2
Apr 16, 2026
0.59.1
Apr 15, 2026
0.59.0
Apr 13, 2026
0.58.1
Apr 12, 2026
0.58.0
Apr 09, 2026
0.57.0
Mar 30, 2026
0.56.1
Mar 30, 2026
0.56.0
Mar 30, 2026
0.55.0
Mar 29, 2026
0.54.0
Mar 29, 2026
0.53.4
Mar 29, 2026
0.53.3
Mar 19, 2026
0.53.2
Mar 18, 2026
0.53.0
Mar 04, 2026
0.52.6
Feb 26, 2026
0.52.5
Feb 23, 2026
0.52.4
Feb 19, 2026
0.52.3
Feb 10, 2026
0.52.2
Feb 08, 2026
0.52.1
Feb 02, 2026
0.51.1
Feb 02, 2026