Giter Club home page Giter Club logo

chatgpt2scratch's Introduction

ChatGPT2Scratch

日本語

ChatGPT2Scratch is a Scratch extension that allows you to develop applications using OpenAI's ChatGPT through Scratch blocks.

https://ichiroc.github.io/chatgpt2scratch/

Usage

To use ChatGPT2Scratch:

  1. You need to obtain an API Key from the OpenAI website in advance.
  2. Open the official website.
  3. Open the "Choose an Extension" screen and select "ChatGPT2Scratch".
  4. Execute the "Set API Key" block first and set the API Key obtained from the OpenAI website.
  5. When you execute the "Get answer to ~" block, you can get a response from ChatGPT.

About API usage fees

ChatGPT2Scratch uses the gpt-3.5-turbo model of OpenAI's API.

There is a fee for using OpenAI's API. Each input and output string is broken down into units called tokens, and a fee is charged per token.

For more information, please see the following page

https://openai.com/pricing

To find out how many tokens a given string will be, the following tool is useful.

https://platform.openai.com/tokenizer

For Developers

To run the ChatGPT2Scratch extension on your computer, follow these steps:

  1. Clone the scratch-gui repository:
git clone --depth 1 [email protected]:LLK/scratch-gui.git
cd scratch-gui
npm install
  1. Clone the chatgpt2scratch repository (this repository):

Run the following commands in the scratch-gui directory.

git clone [email protected]:ichiroc/chatgpt2scratch.git
sh chatgpt2scratch/install.sh
  1. Run npm start:
npm start

You can access it at http://localhost:8601.

Release Notes

https://github.com/ichiroc/chatgpt2scratch/releases

chatgpt2scratch's People

Contributors

champierre avatar ichiroc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

chatgpt2scratch's Issues

pls help

After I've entered the API key from OpenAi, whenever I press the answer block it says "[null:insufficient_quota] You exceeded your current quota, please check your plan and billing details". Please help urgently

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.