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

Conjure: `survey.questions` should have a rich format default display #666

Open rbyh opened 3 months ago

rbyh commented 3 months ago

This needs to be easily readable for reviewing the import to make any edits:

image
rbyh commented 3 months ago

We should also add methods for straightforwardly retrieving lists of the question names, types, etc

johnjosephhorton commented 3 months ago

Agreed. It's a little kludgy, but you can do this:

Screenshot 2024-06-22 at 9 12 24 AM

Longer-term, I think what we really want & need is just an HTML editing / constructing interface ala what we had with textual. As an interim step, we could do this with textual: you do like survey.edit() and it could launch a textual session that will save edited object...thoughts @zer0dss ?

zer0dss commented 3 months ago

@johnjosephhorton I think we should do it directly in HTML (it will be faster to code and to add edits by each of us)).

johnjosephhorton commented 3 months ago

Yeah - add to coop?

zer0dss commented 3 months ago

Yes

johnjosephhorton commented 3 months ago

Relatedly - I'm creating a general "Diff" object that will capture the differences between any two edsl objects of the same type. When a user edit an object, we should record that diff. The diffs themselves will ultimately be coop-able objects. Reason: we want to make it very easy for users to see earlier versions of an object, compare how responses differ based on differences in the object & so on.