0 votes

I'm building a chatbot for one of my games, and I've run into a few problems. My chatbot works by checking user input (in LineEdit), and matching each word to a tag in a dictionary (like hi would be tagged to greeting, why would be tagged to question). Hypothetically, the tags would be appended to an empty list (greeting question), which would then be checked against another dictionary, which would have combinations of tags matched to responses. The problem with this is that the tags being appended to the list are appended at different times, since Godot does not support the .extend() feature, and the whole chatbot doesn't work. I know this is a big ask, but does anyone have any ideas on either how to fix this or to change it completely? I'm open to any suggestions and thanks in advance.

asked Jul 20, 2018 in Projects by aagoldberg (46 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.