Skip to content

InvocationLogsConfig

Source code in docs_src/capo_bedrock/types/invocation_logs_config.py
class InvocationLogsConfig(TypedDict, closed=True):
    use_prompt_response: "capo_bedrock.types.use_prompt_response.UsePromptResponse"
    """<p>Whether to use the model's response for training, or just the prompt. The default value is <code>False</code>.</p>"""
    invocation_log_source: (
        "capo_bedrock.types.invocation_log_source.InvocationLogSource"
    )
    """<p>The source of the invocation logs.</p>"""
    request_metadata_filters: NotRequired[
        "capo_bedrock.types.request_metadata_filters.RequestMetadataFilters"
    ]
    """<p>Rules for filtering invocation logs based on request metadata.</p>"""

invocation_log_source instance-attribute

invocation_log_source: InvocationLogSource

The source of the invocation logs.

request_metadata_filters instance-attribute

request_metadata_filters: NotRequired[RequestMetadataFilters]

Rules for filtering invocation logs based on request metadata.

use_prompt_response instance-attribute

use_prompt_response: UsePromptResponse

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