Enable custom test description output structure

validmind-library
2.9.5
enhancement
Published

October 7, 2025

This update offers enhanced customization for LLM-generated test descriptions in the ValidMind Library. You can now manage test descriptions using a new context parameter in run_test(). This parameter accepts a dictionary with three optional keys:

These options provide detailed control over creating LLM-generated test descriptions. While the existing environment variable approach (VALIDMIND_LLM_DESCRIPTIONS_CONTEXT) is still supported for backward compatibility, the instructions parameter will take precedence if both are used.

The environment variable approach will be deprecated in future releases. It is recommended to migrate to the new parameter-based approach.