Looking at the code it seems the comments from the schema are stripped. Wouldn't comments be beneficial as a source of context for the AI? In our case the model is having difficulty differentiating between a couple similar fields which could possibly be resolved with some additional context. No question this would increase the prompt length and would have to be taken into consideration by the user.