Setting an experiment with messages list

Hi! I’m trying to set up an experiment where my input consists of a list of messages. This is perfectly possible from the playground. In fact there is an editor as well for this kind of input. BUT when I get into Evaluate mode there it’s no longer possible to add messages in this format.

I don’t know how to create Langchain base messages from the UI.

I don’t know how to set up a dataset like this from the Datasets & Experiments section either.

Any help?

Looks like your dict is missing the } closing tag.

[{“role”:“human”, “content”:“hi”}]

Kindly confirm if that could be the issue
else convert the messages objects eg HumanMessage

Nope, this doesn’t work. Apparently it is expecting a BaseMessage object but it won’t instantiate one with my string. Note the difference between the Evaluate Mode and the playground mode where an interface like this pops up:

I don’t think I can convert the messages objects either because my strings won’t run as code. Probably I could set up a valid dataset from Python but I’d love to this from the GUI as well.