Open rbyh opened 4 months ago
Using QuestionList to return a list of dicts is workable option:
"Return the dict as a single item in a list" is hacky use of QuestionList that works:
Another approach is to do something like this where you break in into steps:
It can be useful to have the agent return a dictionary (eg agent traits) but this is not addressed with existing question type prompts. Eg trying to manipulate QuestionFreeText to do this throws an error because the response is not a string: