openai-api
Advanced tools
Comparing version 1.0.16 to 1.0.17
{ | ||
"name": "openai-api", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"description": "A tiny client module for the openAI API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -20,2 +20,6 @@ # openai-api | ||
```js | ||
const OpenAI = require('openai-api'); | ||
const OPEN_AI_API_KEY = #################### | ||
const openai = new OpenAI(OPEN_AI_API_KEY); | ||
(async () => { | ||
@@ -22,0 +26,0 @@ const gptResponse = await openai.complete({ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5599
52