-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChatGPT idea generator function #817
base: main
Are you sure you want to change the base?
Conversation
We need this |
Dont use .innerHTML!!! |
And how do we know that api can be trusted? |
yes... i use mubilop's API that is in popular gpt extension for turbowarp and penguinmod |
Just because its popular in another mod doesnt mean it can be trusted And btw
|
ok so... |
"https://scratch.mit.edu/users/justablock", | ||
"https://scratch.mit.edu/users/mubilop/" | ||
], | ||
"file": "gpt-ideas", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be changed to gpt-ideas.js
and should be nested under scripts, in which case it's also a good idea to include a runOn
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but other projects have without .js and my code works fine(I tested it by downloading extension localy)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ive just realised, this should be using v2, please read docs
|
||
function generategpt() { | ||
const prompt = "make me 1 idea for scratch game... WITHOUT ANY CONTEXT! JUST IDEA AND NOTHING ELSE. AND DO NOT USE SWEAR WORDS OR BAD THEMES!"; | ||
const api_url = "https://reverse.mubi.tech/v1/chat/completions" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How trustworthy is this?
"title": "ChatGPT Ideas", | ||
"description": "Get ideas for projects with ChatGPT on /ideas page!", | ||
"credits": ["justablock", "MubiLop"], | ||
"urls": [ | ||
"https://scratch.mit.edu/users/justablock", | ||
"https://scratch.mit.edu/users/mubilop/" | ||
], | ||
"file": "gpt-ideas", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should be using Feature v2, not the old version.
So i made Idea generator with chagpt... I made so it cant swear. This code is based on "idea generator" feature