Getting Started

Opik Dashboard:

  • Added the option to sort the projects table by Last updated, Created at and Name columns.
  • Updated the logic for displaying images, instead of relying on the format of the response, we now use regex rules to detect if the trace or span input includes a base64 encoded image or url.
  • Improved performance of the Traces table by truncating trace inputs and outputs if they contain base64 encoded images.
  • Fixed some issues with rendering trace input and outputs in YAML format.
  • Added grouping and charts to the experiments page:

SDK:

  • New integration: Anthropic integration

    1from anthropic import Anthropic, AsyncAnthropic
    2from opik.integrations.anthropic import track_anthropic
    3
    4client = Anthropic()
    5client = track_anthropic(client, project_name="anthropic-example")
    6
    7message = client.messages.create(
    8 max_tokens=1024,
    9 messages=[
    10 {
    11 "role": "user",
    12 "content": "Tell a fact",
    13 }
    14 ],
    15 model="claude-3-opus-20240229",
    16 )
    17print(message)
  • Added a new evaluate_experiment method in the SDK that can be used to re-score an existing experiment, learn more in the Update experiments guide.