Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chatgpt-optimized-official

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chatgpt-optimized-official - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

2

examples/chat.js

@@ -9,3 +9,3 @@ import { ChatGPT, Assistant } from "../dist/index.js";

let bot = new ChatGPT("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", {
let bot = new ChatGPT(process.env.OPENAI_API_KEY, {
temperature: 0.7, // OpenAI parameter

@@ -12,0 +12,0 @@ max_tokens: 256, // OpenAI parameter [Max response size by tokens]

{
"name": "chatgpt-optimized-official",
"version": "1.3.0",
"version": "1.3.1",
"description": "ChatGPT Client using official OpenAI API",

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc