Sentence reordering

Are there any models that will take a group of words and some entities and produce syntactically correct sentences? What I mean is, if I have an answer from a question answer model, and I have some entities I’m using, can I use a model to combine these, or do I need to do it programmatically?