发布

  • Sdk guardrail span creation (#1861)

    frostbyte_neo 发布于 2025-04-29 09:14:41 +00:00

    • WIP Guardrail span creation

    • Use BaseTrackDecorator to improve code reutilization

    • Split code in different modules

    • Use correct span type and add guardrail result field to guardrail span output

    • Start sending trace-level guardrail data

    • Add support for batching guardrail batch item

    • Makes mypy happy

    • Add first E2E tests for Guardrails SDK

    • Update E2E tests to cover created span

    • Fix mock import

    • Pass the correct project name in guardrail data

    • Handle review comments

    • Fix code following new regeneration of Fern

    • Make sure that guardrail batch message is flushed regularly

    • Rollback test change

    下载附件