Skip to content

API Reference

The API reference is generated from the docstrings in the source code. The configuration file format is described in the Configuration Reference.

Page Contents
Experiment ExperimentDocument, ExperimentCollection and their mixins (running, models, personas, prompt, export)
Loading experiment_from_file, experiment_from_dict, experiments_from_files, experiments_from_dicts, the loader, the example experiment and utility functions
Data Models Pydantic models of the configuration (questionnaire, parameters, prompts, models)
Parsers Cleaners, validators and judges
Callbacks Answer-saving callbacks
Postprocessing PostprocessingPipeline
Scoring Item and scale scores from judged answers
Seeding How seeds reach each model back-end