Skip to content

Bedrock  >  Structures  >  InvocationLogsConfig

InvocationLogsConfig

Structure Class

InvocationLogsConfig dataclass

Settings for using invocation logs to customize a model.

Attributes

invocation_log_source instance-attribute
invocation_log_source: InvocationLogSource

The source of the invocation logs.

request_metadata_filters class-attribute instance-attribute
request_metadata_filters: RequestMetadataFilters | None = None

Rules for filtering invocation logs based on request metadata.

use_prompt_response class-attribute instance-attribute
use_prompt_response: bool = False

Whether to use the model's response for training, or just the prompt. The default value is False.