If a json file is imported, at the moment the order of messages can be different to the JSON fle. A use need to read the json file twice, once to get the PromptEngineeringMessages and once to get the right message order.
Tasks:
from_pydantic function should be able to create an PromptEngineeringMessages instance with the right message order
If a json file is imported, at the moment the order of messages can be different to the JSON fle. A use need to read the json file twice, once to get the PromptEngineeringMessages and once to get the right message order.
Tasks: