How to implement content filter

Please how do I implement the content filter for this call?

What do I have to add below?

Thanks a mil in advance

curl https://api.openai.com/v1/engines/davinci-instruct-beta/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -d '{
  "prompt": "Write a long introductory blog paragraph for: Learn to code as a complete beginner.\n\nIntroductory paragraph:",
  "temperature": 0.7,
  "max_tokens": 150,
  "top_p": 1,
  "frequency_penalty": 0.49,
  "presence_penalty": 0.52
}'
1 Like

Thanks @m-a.schenk !

I’ll get my dev to take a look.

Best Regard.

1 Like