Discourse as knowledge base for a chat bot

You would need to hire a programmer here, it would be a very complicated project, nothing exists out of the box to solve this.