openai-streams
Advanced tools
Comparing version 1.0.14 to 1.0.15
@@ -1,2 +0,2 @@ | ||
import type { CreateCompletionRequest, CreateEditRequest, CreateEmbeddingRequest, CreateFineTuneRequest, CreateImageRequest } from "openai"; | ||
import type { CreateCompletionRequest, CreateEditRequest, CreateEmbeddingRequest, CreateFineTuneRequest, CreateImageRequest } from "./pinned"; | ||
export type StreamMode = "raw" | "tokens"; | ||
@@ -6,2 +6,2 @@ export type OpenAIAPIEndpoint = "completions" | "edits" | "embeddings" | "images" | "fine-tunes"; | ||
export type OpenAIAPI = <T extends OpenAIAPIEndpoint>(endpoint: T, args: OpenAICreateArgs<T>, mode?: StreamMode) => Promise<ReadableStream<Uint8Array>>; | ||
export type { CreateCompletionRequest, CreateEditRequest, CreateEmbeddingRequest, CreateFineTuneRequest, CreateImageRequest, } from "openai"; | ||
export * from "./pinned"; |
{ | ||
"name": "openai-streams", | ||
"description": "Streams-first OpenAI API client, written in TypeScript.", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"license": "MIT", | ||
@@ -37,3 +37,2 @@ "type": "module", | ||
"eslint": "^8.34.0", | ||
"openai": "^3.1.0", | ||
"typedoc": "^0.23.25", | ||
@@ -49,3 +48,3 @@ "typescript": "^4.9.5" | ||
"openai", | ||
"openai-ts", | ||
"typescript", | ||
"streams", | ||
@@ -52,0 +51,0 @@ "gpt-3" |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
62302
8
26
1821
2