expectedparrot / edsl

Design, conduct and analyze results of AI-powered surveys and experiments. Simulate social science and market research with large numbers of AI agents and LLMs.
https://docs.expectedparrot.com
MIT License
176 stars 18 forks source link

Consider adding optional parameter to `QuestionList` that lets the user specify the format of the items in the list #478

Open rbyh opened 4 months ago

rbyh commented 4 months ago

This could be useful where I want the responses to be numerical, but I don't want to manually put this instruction in the question text (and risk doing a bad job with the instruction).

Eg, this list of integers as strings is annoying to deal with and could be missed by the user:

image
johnjosephhorton commented 4 months ago

Would two options - "string" and "numerical" - capture most of the use cases?

rbyh commented 4 months ago

Yes I think that's sufficient