Assistant - function calling with code interpeter

Hi guys,

I was wondering if you could share your experience/ the best approach for a UC scenario where the Assistant can access a tool that pulls data from SQL database + code interpreter turned on and how to pass data.
This is the scenario:
The user asks for a set of data and to output that as pptx.

Assistant calls SQL retrieval function that returns 10,000 records. As it is too much data to be sent back to AI, we take that output, create an XLSX file and upload it to OpenAi file system. The next call that Assistant makes is to call the code interpret to create actual pptx. How to pass the fileID so code interpret is able to work with it? In the .net library we use for accessing OpenAI, list of fileIds available to code interpert is read-only and can be added only during assistant creation.

Thanks in advance

Just prompt a postgresql extension that accepts natural languageā€¦ Although I would be surprised if nobody released one already.