iai-group / DialogueKit

DialogueKit
https://iai-group.github.io/DialogueKit/main/
Apache License 2.0
9 stars 3 forks source link

Participant is not initialised correctly when loading from JSON #260

Closed NoB0 closed 1 month ago

NoB0 commented 1 month ago

When loading dialogues from JSON, the utterance participant is initialized as a string instead of a DialogueParticipant.

https://github.com/iai-group/DialogueKit/blob/5e82b0ccafd23fb817864b29d782ea3a5bdf7639/dialoguekit/utils/dialogue_reader.py#L61