Skip to content

LambdaEvaluatorConfig

Structure Class

LambdaEvaluatorConfig dataclass

Bases: _SerdeShape

Configuration for a Lambda function used as a code-based evaluator.

Attributes

lambda_arn instance-attribute
lambda_arn: str

The Amazon Resource Name (ARN) of the Lambda function that implements the evaluation logic.

lambda_timeout_in_seconds class-attribute instance-attribute
lambda_timeout_in_seconds: int | None = ...

The timeout in seconds for the Lambda function invocation. Defaults to 60. Must be between 1 and 300.