Skip to main content

respan-instrumentation-together

Respan instrumentation plugin for the official Together AI Python SDK.

The package patches the generated Together SDK resources and emits canonical Respan spans through the active OTEL pipeline. It captures sync calls, async calls, streaming chat and text completions, chat tool definitions, model tool calls, text completions, embeddings, rerank requests, image generations, and token usage when Together returns it.

Installation

pip install respan-ai respan-instrumentation-together together

Usage

from together import Together
from respan import Respan
from respan_instrumentation_together import TogetherInstrumentor

respan = Respan(instrumentations=[TogetherInstrumentor()])
client = Together()

response = client.chat.completions.create(
    model="openai/gpt-oss-20b",
    messages=[{"role": "user", "content": "Say hello in one sentence."}],
)
print(response.choices[0].message.content)
respan.flush()

Metadata

Release files for respan-instrumentation-together 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for respan-instrumentation-together 0.1.1
File Size Uploaded
respan_instrumentation_together-0.1.1.tar.gz 12.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for respan-instrumentation-together 0.1.1
File Interpreter ABI Platform
respan_instrumentation_together-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 27.3 kB

Release files / respan_instrumentation_together-0.1.1.tar.gz

Download URL respan_instrumentation_together-0.1.1.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f22595ee318e578f5edadcceac11848d77ca8e67e13a384bb749751a23403ca0
BLAKE2b-256 checksum
How to use checksums
563b75a9f4b178b5f7f87a24a9a58403abaf5086ec6c5174b76470dbb0d87c4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / respan_instrumentation_together-0.1.1-py3-none-any.whl

Download URL respan_instrumentation_together-0.1.1-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f65dee059590df520ceb644049895ed0ad0d306331e9716cd09aa908ac647f4e
BLAKE2b-256 checksum
How to use checksums
fea78c5dc1769024c12c1feeda38a86587e230f0fae0632c0d2b80fb4b8d1829
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page