Hi Guys, I have a question about prompting the AI (specifically through the assistants API, but any answer should be applicable). I am working on a project where I pass in some json data into the assistant and tell it to populate some values from the json data file (without touching the other values) and then outputting the entire json file with the modifications. My current setup for this is with 2 different assistants, one assistant gets the json data uploaded through file search and gives the output, and the other assistant is in json mode and I pipe the output of the first assistant into the second assistant to ensure that the json data is in the correct format because without that the first assistant likes to get creative and output malformed json data 😆
Anyway, my actual problem with this setup is that when dealing with very large json data being passed in through file upload, the AI like to delete a bunch of data and only do it's prompted work on about half the data and completely omits the rest from the output. Is there any way I can get the assistant to comply and populate the required data for the entire json file rather than on some json entries? I was thinking maybe this is something to do with token limit, but I really have no ideas right now. One solution I was thinking could work is if I chunk the json data and pass it slowly to the assistant but I would like to avoid this route as it can cause problems later down the line.
TLDR; I want the AI to populate large json data files without omitting any data or skip any parts.