forked from elastic/integrations
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[aws_bedrock] Ignore non-policy data under ...trace.guardrail (elasti…
…c#11487) In existing pipeline tests, input documents only had policy data under `output.outputBodyJson.trace.guardrail.inputAssessment`, but now there is also `invocationMetrics` data. This change modifies the `get_guardrail_details` script to skip entries that don't have policy at the end of their name. It also adds cases to be processed in the `painless_to_rename_fields_under_aws_bedrock_groups` script, so that in the output, the naming of the new invocation metrics object matches the surrounding data. --------- Co-authored-by: Dan Kortschak <dan.kortschak@elastic.co>
- Loading branch information
1 parent
5c27e71
commit 1a6fe15
Showing
5 changed files
with
44 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/aws_bedrock/data_stream/invocation/_dev/test/pipeline/test-aws-bedrock.log
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters