I have a prompt like this which I’m parsing (eval) using PHP :
Act like a business advisor and advise regarding how much it will cost in US dollars ($) to {$B7} a {$B1} business in {$D2}.
....
Give me the name of the investment and amount of investment in an HTML table without showing Markdown code like ```html.
Only include the HTML table in your response.
In the HTML table, first have a header stating “Capital Investments” and list the capital investments and their amounts below that.
Then have a header stating “Non-Capital Investments” and list the non-capital investments and their amounts below that.
But I want to read the content of the table too - as in the key:value pairs in each row of the table.
How do I go about getting ChatGPT API to return the HTML for display and also the HTML’s content as CSV for me to parse internally ?