SystemPromptRecommendationResult¶
Structure Class¶
SystemPromptRecommendationResult
dataclass
¶
The result of a system prompt recommendation, containing the optimized prompt.
Attributes¶
configuration_bundle
class-attribute
instance-attribute
¶
configuration_bundle: RecommendationResultConfigurationBundle | None = None
The configuration bundle containing the recommended system prompt, if the input was sourced from a configuration bundle.
error_code
class-attribute
instance-attribute
¶
error_code: str | None = None
The error code if the recommendation failed.
error_message
class-attribute
instance-attribute
¶
error_message: str | None = None
The error message if the recommendation failed.