Add multi-modal messages support to AI Guard#5564
Conversation
Typing analysisNote: Ignored files are excluded from the next sections.
|
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage (details) 🔗 Commit SHA: c9328dc | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback! |
BenchmarksBenchmark execution time: 2026-04-08 13:46:07 Comparing candidate commit c9328dc in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 45 metrics, 1 unstable metrics.
|
manuel-alvarez-alvarez
left a comment
There was a problem hiding this comment.
The ergonomics look good to me, we also need to update the documentation covering the content parts (check Python)
863daa1 to
c9328dc
Compare
|
Documentation PR: DataDog/documentation#35837 |
What does this PR do?
It adds multi-modal content support to AI Guard messages. SDK users can now pass structured content parts (text and image URLs) instead of only plain strings, using a block builder.
Motivation:
We need to support multi-modal input to evaluate messages that include media.
Change log entry
Yes. AI Guard: Added multi-model messages support, enabling text and image URL content parts in evaluation SDK
Additional Notes:
APPSEC-61514
How to test the change?
CI and manual testing.