Usage
Learn how to use the SDK in your codebases
Below are some examples of how to use the SDK to interact with the Galtea platform.
Importing the SDK
To initialize the Galtea
class, you need to provide your API key obtained in the settings page of the Galtea platform.
Registering a Product
Registering a product is the first step to start using the Galtea platform. In this case, we don’t allow to create a product from the sdk, therefore you need to do this from the platform.
Creating a Version
With a version, you can track changes to your product over time and compare different implementations.
More information about creating a version can be found here.
Creating a Test
With a Test you define the test cases to evaluate your product. You can create quality or red teaming tests depending on your evaluation needs.
More information about creating a test can be found here.
Creating a Metric Type
Metric Types help you define the criteria for evaluating the performance of your product. You can create custom Metric Types tailored to your specific use cases.
More information about creating a metric can be found here.
Launching an Evaluation
Evaluations link a specific version of a product with a test. You can then execute evaluation tasks to assess the performance of the product version against the test cases using a specific metric type criteria.
More information about creating an evaluation can be found here.
More information about launching an evaluation task can be found here.
Retrieving Evaluation Results
Once the evaluation tasks are completed, you can retrieve them to analyze the results.