Full AWS Practitioner Certification Question

You are building a chatbot. You need to configure the chatbot to query a knowledge base. Which dialog class should you use?