Howdy;
Would this be a good place for questions related to using the API via web requests? I apologize if not, and would love to be pointed in the right direction if i may otherwise.
I have a couple questions about using it as I'm not using any common languages to create AI requests; I'm constructing my scripts via what's called DenizenScript and I specifically can only make web requests. I can specify headers, send data, and i can typically use any web method such as patch/post/etc;
but my first actual question is regarding the Moderation Content Policy endpoint. I know to:
- make a request to
https://api.openai.com/v1/moderationsvia aPOSTmethod - provide my headers as required,
- submit my prompt to be analyzed in a map with the key
input, an example of what i'm capable and most familiar with is:
{"input":"message to be analyzed here"}
should i be submitting several requests? or is there a format that I can cram this all into one request? My first idea was just to send them all separated by new-lines
does this endpoint have any specified costs towards my token allowance? if so, what can i expect to pay?
i'm proficient in only the language i'm working with and i'm trying kind of hard to restrict myself from using other APIs because i have all this configured through a ton of my discord interactions