Class: DatadogAPIClient::V2::AIGuardMeta
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AIGuardMeta
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/ai_guard_meta.rb
Overview
Metadata about the evaluated conversation, used to select the policy and evaluator behavior.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#coding_agent ⇒ Object
The coding agent that produced the conversation.
-
#confidence_threshold ⇒ Object
Request-only confidence threshold override.
-
#env ⇒ Object
The environment the conversation belongs to.
-
#is_sds_enabled_override ⇒ Object
Whether to run the Sensitive Data Scanner for this request, overriding the stored policy.
-
#service ⇒ Object
The name of the service the conversation belongs to.
-
#tool_policies ⇒ Object
A non-empty map replaces stored tool policies for this request only, keyed by tool name.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
52 53 54 |
# File 'lib/datadog_api_client/v2/models/ai_guard_meta.rb', line 52 def additional_properties @additional_properties end |
#coding_agent ⇒ Object
The coding agent that produced the conversation. By default, a non-empty
value selects the coding-agent evaluator profile, while an omitted or empty
value selects the default profile. Known identifiers include claude-code,
codex, cursor, and github-copilot; other identifiers are accepted.
The coding-agent profile assumes the caller can ask the user to confirm
Supply Chain Firewall warnings; the default profile assumes it cannot.
30 31 32 |
# File 'lib/datadog_api_client/v2/models/ai_guard_meta.rb', line 30 def coding_agent @coding_agent end |
#confidence_threshold ⇒ Object
Request-only confidence threshold override. A number sets the threshold for every threat category; an object supplies a global threshold and optional per-category overrides. Omit this field to use the stored sensitivity policy. This field is not returned in evaluation responses.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/ai_guard_meta.rb', line 36 def confidence_threshold @confidence_threshold end |
#env ⇒ Object
The environment the conversation belongs to.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/ai_guard_meta.rb', line 39 def env @env end |
#is_sds_enabled_override ⇒ Object
Whether to run the Sensitive Data Scanner for this request, overriding the stored policy.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/ai_guard_meta.rb', line 42 def is_sds_enabled_override @is_sds_enabled_override end |
#service ⇒ Object
The name of the service the conversation belongs to.
45 46 47 |
# File 'lib/datadog_api_client/v2/models/ai_guard_meta.rb', line 45 def service @service end |
#tool_policies ⇒ Object
A non-empty map replaces stored tool policies for this request only, keyed by tool name. Any called tool not present resolves to EVALUATE. Only takes effect when tool policies are enabled for the organization.
50 51 52 |
# File 'lib/datadog_api_client/v2/models/ai_guard_meta.rb', line 50 def tool_policies @tool_policies end |