There have been a number of artificial intelligence machine learning systems over the last few years which have been given samples of artwork and music and have produced new creative works. I haven't come across any systems that have done the same with literature yet, but I am guessing it is only a matter of time before we have a machine generated murder mystery.
I was thinking it would be interesting to feed a similar system sample Divrei Torah and see what it could produce. Hypothetically it could be connected up to Sefaria and similar data sources for drawing on pesukim etc as textual sources to base the Dvar on. This does raise some interesting questions though. Is there any reason that such a project would present problems from the perspective of halacha (or perhaps hashkafa etc)? Would any results produced from the system be necessarily inherently problematic (eg. as long as a sufficiently qualified human reviews it to ensure there is nothing that would be problematic if a human wrote it)?