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
194 stars 19 forks source link

Serialization issue with `include_comment=False` #1277

Closed rbyh closed 2 hours ago

rbyh commented 2 weeks ago

If you add include_comment=False to a question it should not retrieve a cached response where the comment field was included:

https://www.expectedparrot.com/content/36331333-48f7-497a-af6c-527f80d52fe5

rbyh commented 2 weeks ago

Showing it is likely a serialization issue: https://www.expectedparrot.com/content/2e017b7b-0c22-4478-9695-6f1481cd379d

rbyh commented 2 weeks ago

Local is also adding // to comment field: https://www.expectedparrot.com/content/c0265bd6-d5bc-4424-adc6-589f90f12eca

johnjosephhorton commented 2 weeks ago

Thanks - good catch. It's not getting serialized & if it's not getting serialized, it will not work for remote inference

Screenshot 2024-11-14 at 12 03 48 PM Screenshot 2024-11-14 at 12 04 02 PM