I am trying to utilize the and commands in combination with each other. I want my chatbot to take info gathered from one topic and apply it to another topic. For instance, lets say I have a topic named cats. In this topic, I use to teach the chatbot that I have a light brown cat with white spots. Now lets say I am now in a new topic called pets. In this topic, I want the chatbot to use the information it learned from the cats topic and reference it in this new topic called pets. I have been trying to combine the learn and topic commands to achieve this. For instance, I made a topic within a learn command so I can reference the topic within the learn command. However, I'm unable to get the chatbot to cross reference.
My goal is to make a chatbot that can conversate about a topic in AI ethics. I want to be able to teach it new information and have it use said information in a live conversation. I want whatever code I make to be capable of receiving, storing, and using information at will no matter what the topic is. This way, if I mention information that is in a different topic, the chatbot will already understand it and can use it in the conversation.
Am I approaching this problem correctly? Or is there another approach I could take instead?
You can use predicates rather than the learn tag for this.
This will allow the following conversation: