Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

chatgpt-api-free

Package Overview
Dependencies
6
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "chatgpt-api-free",
"version": "1.0.3",
"version": "1.0.4",
"description": "JS Library for https://github.com/PawanOsman/ChatGPT \n\n Note: this is not compattible with the image generation api, it is only compattible with the text completion and chat completion api",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -15,5 +15,7 @@ ## Getting an API key

3. Run `npm i gpt-proxy`
4. Add `import gpt from 'gpt-proxy'` to your index.js file
4. Add `import { gpt } from 'chatgpt-api-free'` to your index.js file
Note: Step 2 will make you not able to use require() instead you will have to switch to import/export so try to start new projects with this library instead of adding it to big projects
## Creating gpt instance

@@ -73,2 +75,2 @@

### Whisper model
### Fine tuning (maybe)<br>
### Fine tuning (maybe)<br>
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc