Comparing version 1.1.0 to 1.1.1
@@ -1,2 +0,3 @@ | ||
export declare type EngineId = 'davinci' | 'curie' | 'babbage' | 'ada' | string; | ||
declare type LiteralUnion<T extends U, U = string> = T | (U & {}); | ||
export declare type EngineId = LiteralUnion<'davinci' | 'curie' | 'babbage' | 'ada'>; | ||
export interface Engine { | ||
@@ -30,3 +31,3 @@ id: EngineId; | ||
best_of?: number; | ||
logit_bias?: Record<string, unknown>; | ||
logit_bias?: Record<string, number>; | ||
user?: string; | ||
@@ -80,3 +81,3 @@ } | ||
max_examples?: number; | ||
logit_bias?: Record<string, unknown>; | ||
logit_bias?: Record<string, number>; | ||
return_prompt?: boolean; | ||
@@ -113,3 +114,3 @@ return_metadata?: boolean; | ||
n?: number; | ||
logit_bias?: Record<string, unknown>; | ||
logit_bias?: Record<string, number>; | ||
return_metadata?: boolean; | ||
@@ -188,1 +189,2 @@ return_prompt?: boolean; | ||
} | ||
export {}; |
{ | ||
"name": "openai", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Tiny OpenAI API wrapper", | ||
@@ -5,0 +5,0 @@ "type": "module", |
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
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
19721
407
1