New
Maxim Workflows now offer powerful scripting capabilities, allowing you to tailor API interactions to your exact needs. Use Scripts to modify requests, process response data, and manage multi-turn conversations, giving you full control over your AI agent evaluations.
Key features:
Request Modification: Use the
prescript
function to modify request parameters, add headers, or transform data before sending requests to your API.Response Processing: Use the
postscriptV2
function to transform the response returned by the API, extract specific fields, and map them to evaluation parameters based on your needs.Simulation: Use the
preSimulation
andpostSimulation
functions to clean up data and set up evaluations on your desired output parameters.
Customize your test runs directly from the UI using Scripts. Learn more.