Good news: I'm back. I'm now instantly catching up and fixing everything I can.
Bad news: The API key that was provided generously by a user has expired, unfortunately. I'm unable to register myself because I have a Hong Kong phone number. If you would like to help me out for a few days by providing me an API key, I'd be extremely grateful. Thank you.
Thank you [edit: name removed on request] and @AyProductions for kindly sharing with me the API keys. Couldn't do it without you two!
Sorry for the late reply. I have finally updated this extension to version 4, with bug fixes, new features and new blocks!
New features
Fixed the image generation error! It now should work as usual.
Updated the Chat block to the latest GPT 3.5 and GPT 4. You will no longer be able to use the GPT 3 models if you update this extension. Unfortunately, because of naming conventions and naming issues (no dots and hyphens allowed) I'm unable to put a helper block for this. The Model helper block should disappear; please now use this list for the model parameter. For example, if I want to use the model gpt-4, I would enter B1 as the model parameter.
The moderation API is a service provided by OpenAI that allows you to check whether a text contains inappropriate or offensive information. Put the text that you want to analyze in the input parameter, and supply the block with an API key.
Parameters: input = text, apiKey = text
ModeratedText
This event is fired when OpenAI has moderated the text you inputted in the ModerateText block! 'flagged' refers to whether the text contains indecent information in general.
categoryFlags includes a dictionary of 7 types of inappropriate information (hate, hate/threatening, self-harm, sexual, sexual/minors, violence, violence/graphic). These 7 are the keys of the dictionary. Corresponding to them are boolean values for whether the text has this type of inappropriate information. Sample response:
categoryScores includes the same 7 types as the keys, but corresponding to them are decimals from 0 to 1. Values closer to 0 mean that the text violates less in this category; vice versa.
Hello! Is there an option for me to make it automatically check something about the system and then get the tokens I have spent, because my friends could also just reach the limit of my account and then I would need to pay for it?
Is there a way to use system role with it's dedicated content that would be predefined (not for mobile app end users to change)?. I am refering to Chat option, and I see that currently only user role is supported.