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

    from anthropic import Anthropic, AsyncAnthropic
    from opik.integrations.anthropic import track_anthropic
    client = Anthropic()
    client = track_anthropic(client, project_name="anthropic-example")
    message = client.messages.create(
    max_tokens=1024,
    messages=[
    {
    "role": "user",
    "content": "Tell a fact",
    }
    ],
    model="claude-3-opus-20240229",
    )
    print(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.