How can I hide the request parameters on the page?

Hello, I’m working on a game plugin, and after calling a few interfaces, I can see the request parameters on the page. Is there any way to prevent these parameters from being displayed?

1 Like

what do you mean by request parameters on the page ? you can white list only openai’s ip address range

1 Like

I’m guessing you are referring to something like this?
image

Don’t think there’s a way to prevent it. If you really want to hide implementation details, your best bet is making your API endpoint take just one param - “prompt”, and force ChatGPT to pass the entire user prompt to you.

2 Likes