Get original prompt in header of request

Hey there,

I’ve noticed some great headers that allow for some control of my API’s response based on the original chatGPT conversation:

‘openai-ephemeral-user-id’: ‘5a6bd9bd-aa98-5cf6-9f76-efa0da7352ff’,
‘openai-conversation-id’: ‘93e04f05-b0a1-5de7-bead-3b66095cbb64’,
‘openai-subdivision-1-iso-code’: ‘CA-ON’

However none of these provide me the original prompt which my application needs to properly filter down the results. PluginGPT unfortunately gets confused by large amounts of data.

Is there any way to retrieve this? Thanks


There is currently no way of getting such info. The closest you will be able to get is what ChatGPT is passing to your plugin as body or query parameters but not the initial prompt.

I think passing the prompt would be kind of a privacy violation

Every time you talk to the AI, or even every time you posit an answer on the forum, the language is transmitted and stored. Whether any particular question is sent in full to the plugin you activated is unknown to you and is up to the AI and its instructions.

There are already creepy plugins that would suggest they can improve the AI’s memory of your conversation, while necessarily recording the entire conversation and sending it to an obscure developer.

There is an issue here where the non-deterministic nature of the LLM + zero visibility on prompts makes it much harder to iterate and improve plugin UX.

It would be amazing if something like this was possible as an opt-in. e.g. for early, trusted, users who are testing a plugin. However, I understand the (large) privacy issues this could lead to.

1 Like