Create a Custom Test
Learn how to create and upload custom tests using the SDK
While Galtea can automatically generate tests from a knowledge file, you can also create custom Tests by providing your own set of Test Cases.
Creating Tests with the SDK
Tests can be generated automatically by Galtea providing a knowledge file via the sdk or the dashboard.
The Galtea SDK provides methods to create both Quality Tests and Red Teaming Tests.
If you have a prepared test file in CSV format, you can upload it directly.
The test file must follow the structure specified for Quality Tests or Red Teaming Tests. If the file is not correctly formatted, test cases will not be created automatically, but you can still add them manually.
If you have a prepared test file in CSV format, you can upload it directly.
The test file must follow the structure specified for Quality Tests or Red Teaming Tests. If the file is not correctly formatted, test cases will not be created automatically, but you can still add them manually.
You can provide a knowledge base file (e.g., PDF, TXT) and have Galtea generate the test cases for you. This is a powerful feature for creating comprehensive tests with minimal effort.
The variants
parameter instructs Galtea to create evolved versions of the base test cases. See the Quality Test Evolutions documentation for more details. For Red Teaming, variants
specify threats and you can also add strategies
.