New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@langchain/openai

Package Overview
Dependencies
Maintainers
11
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@langchain/openai - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

1

dist/azure/chat_models.d.ts

@@ -435,2 +435,3 @@ import { type ClientOptions } from "openai";

} | undefined;
get lc_serializable_keys(): string[];
constructor(fields?: Partial<OpenAIChatInput> & Partial<AzureOpenAIInput> & {

@@ -437,0 +438,0 @@ openAIApiKey?: string;

@@ -440,2 +440,16 @@ import { AzureOpenAI as AzureOpenAIClient } from "openai";

}
get lc_serializable_keys() {
return [
...super.lc_serializable_keys,
"azureOpenAIApiKey",
"azureOpenAIApiVersion",
"azureOpenAIBasePath",
"azureOpenAIEndpoint",
"azureOpenAIApiInstanceName",
"azureOpenAIApiDeploymentName",
"deploymentName",
"openAIApiKey",
"openAIApiVersion",
];
}
constructor(fields) {

@@ -442,0 +456,0 @@ super(fields);

@@ -658,2 +658,3 @@ import { type ClientOptions, OpenAI as OpenAIClient } from "openai";

get lc_aliases(): Record<string, string>;
get lc_serializable_keys(): string[];
temperature?: number;

@@ -660,0 +661,0 @@ topP?: number;

@@ -680,2 +680,40 @@ import { OpenAI as OpenAIClient } from "openai";

}
get lc_serializable_keys() {
return [
"configuration",
"logprobs",
"topLogprobs",
"prefixMessages",
"supportsStrictToolCalling",
"modalities",
"audio",
"reasoningEffort",
"temperature",
"maxTokens",
"topP",
"frequencyPenalty",
"presencePenalty",
"n",
"logitBias",
"user",
"streaming",
"streamUsage",
"modelName",
"model",
"modelKwargs",
"stop",
"stopSequences",
"timeout",
"openAIApiKey",
"apiKey",
"cache",
"maxConcurrency",
"maxRetries",
"verbose",
"callbacks",
"tags",
"metadata",
"disableStreaming",
];
}
constructor(fields) {

@@ -682,0 +720,0 @@ super(fields ?? {});

4

package.json
{
"name": "@langchain/openai",
"version": "0.4.2",
"version": "0.4.3",
"description": "OpenAI integrations for LangChain.js",

@@ -44,3 +44,3 @@ "type": "module",

"peerDependencies": {
"@langchain/core": ">=0.3.29 <0.4.0"
"@langchain/core": ">=0.3.39 <0.4.0"
},

@@ -47,0 +47,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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