Build AI chatbot with custom knowledge base using OpenAI API and GPT Index