DSL for AI-powered surveys, experiments, and data labeling
Top 98.6% on sourcepulse
This library enables researchers to design, conduct, and analyze AI-powered surveys and experiments, simulating social science and market research with large language models and AI agents. It targets computational social scientists and market researchers, offering reproducible results and built-in analysis tools.
How It Works
EDSL provides a declarative Python API for defining survey questions, agent personas, and experimental parameters. It leverages parameterized prompts and scenario lists to automate data input from various sources (CSV, PDF, etc.). Users can define AI agent traits to generate diverse responses and easily switch between different LLMs, either using their own API keys or a provided Expected Parrot key. The system automatically caches API calls for cost-free reproducibility and offers features like piping and skip-logic for complex data labeling workflows.
Quick Start & Requirements
pip install edsl
Highlighted Details
QuestionMultipleChoice
) ensure consistent results without explicit schemas.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The README does not specify the open-source license, which is crucial for commercial use or closed-source integration. While API keys are managed, explicit details on data privacy and security practices beyond key management are not provided.
1 day ago
1 day