Slightly off topic but is there recommended advice on how to tune / train not for document retrieval but for consistent JSON output with specific enums?
i.e given a text, always return back a certain set of fields. For some keys here is the possible set of enums etc. One shot prompting does work but curious how others approach this if you have training data on hand.