Socket
Socket
Sign inDemoInstall

openai

Package Overview
Dependencies
Maintainers
1
Versions
190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openai - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

10

dist/types.d.ts

@@ -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 {};

2

package.json
{
"name": "openai",
"version": "1.1.0",
"version": "1.1.1",
"description": "Tiny OpenAI API wrapper",

@@ -5,0 +5,0 @@ "type": "module",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc