I’ve noticed an issue while building a custom GPT.
When the GPT retrieves data through an action that delivers the data in JSON format, it seems that the code interpreter cannot directly access these data. Is there a way for the code interpreter to directly reference the data returned by an action?
For example, suppose I have an action/function that returns a list of 200 values, and I want the code interpreter to graphically represent these values. Currently, GPT-4 manually inputs these values when generating the “live code,” which is time-consuming and likely not resource-efficient. A better approach would be for me to return, say, a .csv file with the action/function, and this .csv file would be directly referenced in the Python code by the code interpreter. This way, GPT-4 would have much less work during interactive code generation, and the user would see results faster.
Is there any way to achieve this?