YamlValidationException: Failed to validate ‘D:\Work\PycharmProjects\ChitChat2.0\DialogueService\domain.yml’. Please make sure the file is correct and all mandatory parameters are specified. Here are the errors found during va
lidation:
in D:\Work\PycharmProjects\ChitChat2.0\DialogueService\domain.yml:22:
Value ‘ordereddict([(‘date’, ordereddict([(‘roles’, [‘departure’, ‘destination’])]))])’ is not of type ‘str’. Path: ‘/entities/1’
You need to use at least version 2.1. Before that version we did not allow entity roles and groups to be listed in the domain file. Please update to 2.1 and try again.
I use kubernetes environement and rasa x pod said :
File “/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/default.py”, line 608, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.ProgrammingError: (psycopg2.ProgrammingError) can’t adapt type ‘dict’
[SQL: INSERT INTO domain_entity (domain_id, entity) VALUES (%(domain_id)s, %(entity)s) RETURNING domain_entity.entity_id]
[parameters: {‘domain_id’: 67, ‘entity’: {‘discipline’: {‘roles’: [‘liked’, ‘disliked’, ‘expected’]}}}]
(Background on this error at: Error Messages — SQLAlchemy 1.3 Documentation)