Enhanced Sidebar for Project Navigation
With our new sidebar update, users can now effortlessly select their desired projects directly from the side panel. This improved navigation persists across indexes, traces, and functions, ensuring a seamless workflow experience.
Added Metrics Filtering
We've upgraded our metrics display within trace spans. Users can now apply filters to better manage the metrics they need to focus on. These enhancements provide a clearer, more accessible presentation of data within the trace table.
Streaming support for call()
It is now possible to stream the response from the call()
method.
import asyncio
from opperai import AsyncOpper
async def stream():
aopper = AsyncOpper()
res = await aopper.call(
model="anthropic/claude-3.5-sonnet",
input="what are some uses of 42",
stream=True,
)
async for chunk in res.deltas:
print(chunk)
asyncio.run(stream())
For node sdk see examples
Added support for updated version of Anthropic Claude 3.5 Sonnet
import asyncio
from opperai import AsyncOpper
async def sonnet():
aopper = AsyncOpper()
res, _ = await aopper.call(
model="anthropic/claude-3.5-sonnet-20241022",
name="new-sonnet-3-5",
instructions="answer the following question",
input="what are some uses of 42",
)
print(res)
asyncio.run(sonnet())
The anthropic/claude-3.5-sonnet
model now defaults to the updated version.
Updated default model
If you do not explicitly provide a model in your call()
, it will now default to the azure/gpt-4o-eu
model.