Update human fields (not in utterance)

Hello Deep Pavlov team and users,

Great tool for build, like a lot, thank you for this work.

I see that there are human and bot info inside dialog and thought to use it as a way to describe person of bot and at same time general info about human, and seems that it exactly for this purpose. But could not find any method in state manager that allow to edit human. Checked methods and only add_bot_utterance updates human data. Maybe I missed something and there is way to do it right way? IN worse case think to use add_bot_utterance.

Thank you and have a great day!!

Hi! Yes, it’s correct. You can see in this line how you can update human_attributes. You can create your own method for state manager, which will call update_human or update_bot methods.

Have a nice day!