Questioning a chatbot that has been trained on bestselling books from a particular decade can give researchers a measure of the social biases of that era