chatbot phd thesis essay our flag