Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
A simple NodeJS wrapper library and CLI to interface with OpenAI's Beta API. Written in Typescript.
When using the CLI, the API key and secret key must be defined in your environment under OPENAI_KEY
and OPENAI_SECRET_KEY
respectively.
When using this package as a library, you may either provide the keys in the environment as above, or provide them as a final auth
parameter.
If CLI:
npm i -g gpt3
If programmatic:
npm i gpt3
You pass in the starter text as the first parameter, and the tool returns the completion.
> gpt3 "Once upon a time, there was a thing..."
"Once upon a time, there was a thing that did this, etc, foobar."
import { getCompletion } from "gpt3";
const result = await getCompletion("Once upon a time, ");
// etc.
Features not supported, but which I eventually plan to:
FAQs
A simple CLI tool to interface with OpenAI's beta API
We found that gpt3 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.