Gemini disallowed content

Gemini disallowed content 1.0

No permission to buy ($35.00)
Compatible XF 2.x versions
  1. 2.3
Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $35.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

Description:

Disallows specific content in posts using Gemini AI.

(Example of Error message)

pic001.webp


(Example of Options page)

pic002.webp


Features:

All phrases start with geminidisallowedcontent_ for your convenience.

How it works:

When a user creates a new thread or post, or is editing a post, when they save the message it will be sent to Gemini AI for evaluation. Gemini AI will return a Yes or No depending if the message meets the instructions criteria. If Gemini AI comes back with Yes, the thread or post will not be allowed to be saved. The user will need to edit the message to remove the disallowed content.

Setup step 1:

Go to Google AI studio and click the Get API link.

https://aistudio.google.com/

Once you get your API key, you will also need to provide a credit card so that Google can charge you for usage. Don't worry it is very inexpensive, average cost per explanation is a small fraction of 1 cent.

Setup step 2:

Enter your API link into the options page.

Setup step 3:

Enter Instruction into the options page. Note that you will want to include "Answer Yes or No" so that the add-on will disallow the post if Gemini AI comes back with Yes.
Author
AndyB
Views
21
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from AndyB

Back
Top Bottom