get_content_safety_annotations(
msg: BaseMessage,
) -> List[ContentSafetyAnnotationPayload]| Name | Type | Description |
|---|---|---|
msg* | BaseMessage | A LangChain message to inspect. |
Extract content-safety annotation payloads from a message.
Inspects the message's content for non_standard_annotation
blocks whose value contains provider == "azure_content_safety".