v1

latestOpenAPI 3.0.02026-07-1325041.3 KB

Compare multiple prompts against a dataset

post/compare_prompts

Request body

system_promptsstring[] required
seed_data_idstring

ID of seed dataset to use (either this or synthetic_data_id is required)

synthetic_data_idstring

ID of synthetic dataset to use (either this or seed_data_id is required)

metrics_idstring
model_namestring required
model_providerstring required

Response

Prompts successfully compared