ChatGPT with a database