发布

  • [OPIK-2786] [P SDK] Implement recording context manager that will allow to get Trace- and Span- models for the submitted data (#3880)

    frostbyte_neo 发布于 2025-11-03 10:49:49 +00:00

    • [OPIK-2786] [P SDK] Added Claude Code skill to start/stop local backend/frontend using an existing dev-runner.sh script. This will help automatic tests execution by Claude agent during development.

    • [OPIK-2786] [P SDK] Add record_traces_locally context manager for task span testing

    • Introduced record_traces_locally in Python SDK to support local span/trace recording and metric evaluation without full backend interaction.
    • Added examples in documentation for testing task span metrics locally.
    • Updated index.rst to include local_recording in API reference.
    • Implemented e2e tests to validate nested usage, span flushing, and reuse after context exit.
    • [OPIK-2786] [DOCS] Document record_traces_locally context manager for Python SDK
    • Added a detailed RST file for the record_traces_locally feature in the Python SDK that allows local span/trace recording.
    • Included examples, usage guidelines, return types, and constraints for better understanding.
    • Updated the SDK documentation with testing and debugging use cases of local recording.
    • [OPIK-2786] [DOCS] Updated documentation

    • [OPIK-2786] [DOCS] Updated documentation

    下载附件