edsl
edsl copied to clipboard
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.
Code to reproduce error: ```python from edsl.questions import QuestionMultipleChoice, QuestionLinearScale, QuestionTopK from edsl import Survey q1 = QuestionMultipleChoice( question_name = "color", question_text = "What is your favorite color?", question_options =...
We should be able to efficiently store changes in edsl objects, like so: ```python from edsl import QuestionFreeText q1 = QuestionFreeText.example() q2 = QuestionFreeText.example() q2.question_text = "Here is some new...
It is fairly easy to create a multiple choice question where the model can reasonably want to not select a given option, but this question type throws an error if...
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...
`QuestionFunctional` allows the user to have a Python function that can generate an answer in response to scenario and agent attributes. However, this makes it not safely serializable. This example...
This would be useful for ensuring that the lists are identical in length, eg for comparing responses among agents item by item.
For example, if I want to prompt an agent to pick a random number 5 times in a row I can do this with `QuestionList`, but if I want to...