Coder Social home page Coder Social logo

gpt-price's Introduction


price.gpt ๐Ÿ’ต

A quick and convenient pricing calculator for using ChatGPT.

License License

Key Features โ€ข Usage โ€ข Development

Price.gpt is a Google Chrome extension that calculates the approximate price of inputting a prompt to ChatGPT.

Key Features

  • Factors in the following when calculating price
    • Base model or fine-tuned model
    • If fine-tuned model, training mode or not
    • Model (Ada, Babbage, Curie or Davinci)
    • Length of input
  • Right-click to add selected text to the input textbox
  • Persistence of form fields

Usage

This has not yet been published as a Google Chrome extension as it's still a work in progress.

Development

First, clone this Github repo using the following command:

git clone https://github.com/jwnicholas99/gpt-price.git 

Next, go into your Chrome extension settings under "Manage Extensions". Click on "Load unpacked" and choose the repo folder. The extension should now be loaded into your extension menu.

The three main files to focus on are popup.html, popup.css and popup.js.

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.