openai-streams
Advanced tools
Comparing version 1.0.22-canary.16 to 2.0.0
{ | ||
"name": "openai-streams", | ||
"description": "Tools for working with OpenAI streams in Node.js and TypeScript.", | ||
"version": "1.0.22-canary.16", | ||
"version": "2.0.0", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "type": "module", |
@@ -10,13 +10,13 @@ # OpenAI Streams | ||
Now supports WHATWG *and* Node.js streams for full Next.js API Route support. | ||
Now supports WHATWG *and* Node.js streams in order to provide full support for | ||
all Next.js API Routes. | ||
It simplifies the following: | ||
1. Prioritizing streaming and type inference. | ||
2. Auto-loads `OPENAI_API_KEY` from `process.env`. | ||
3. Uses the same function for all endpoints, and switches the type based on the | ||
- Prioritizes streams, so you can display a completion as it arrives. | ||
- Auto-loads `OPENAI_API_KEY` from `process.env`. | ||
- Uses the same function for all endpoints, and switches the type based on the | ||
`OpenAI(endpoint, ...)` signature. | ||
Overall, the library aims to make it as simple to call the API as possible and | ||
stream updates in. | ||
get access to a `ReadableStream` (or `NodeJS.Readable` from | ||
`openai-streams/node`). | ||
@@ -23,0 +23,0 @@ ### Installation |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
65000
0