Socket
Socket
Sign inDemoInstall

@langchain/openai

Package Overview
Dependencies
Maintainers
4
Versions
69
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.0.7 to 0.0.8

dist/azure/chat_models.cjs

2

dist/embeddings.js
import { OpenAI as OpenAIClient } from "openai";
import { getEnvironmentVariable } from "@langchain/core/utils/env";
import { Embeddings } from "@langchain/core/embeddings";
import { chunkArray } from "./utils/chunk.js";
import { chunkArray } from "@langchain/core/utils/chunk_array";
import { getEndpoint } from "./utils/azure.js";

@@ -6,0 +6,0 @@ import { wrapOpenAIClientError } from "./utils/openai.js";

export { OpenAI as OpenAIClient, type ClientOptions, toFile } from "openai";
export * from "./chat_models.js";
export * from "./azure/chat_models.js";
export * from "./llms.js";
export * from "./azure/llms.js";
export * from "./embeddings.js";

@@ -5,0 +7,0 @@ export * from "./types.js";

export { OpenAI as OpenAIClient, toFile } from "openai";
export * from "./chat_models.js";
export * from "./azure/chat_models.js";
export * from "./llms.js";
export * from "./azure/llms.js";
export * from "./embeddings.js";

@@ -5,0 +7,0 @@ export * from "./types.js";

@@ -6,4 +6,4 @@ import { OpenAI as OpenAIClient } from "openai";

import { BaseLLM, } from "@langchain/core/language_models/llms";
import { chunkArray } from "@langchain/core/utils/chunk_array";
import { getEndpoint } from "./utils/azure.js";
import { chunkArray } from "./utils/chunk.js";
import { OpenAIChat } from "./legacy.js";

@@ -10,0 +10,0 @@ import { wrapOpenAIClientError } from "./utils/openai.js";

{
"name": "@langchain/openai",
"version": "0.0.7",
"version": "0.0.8",
"description": "OpenAI integrations for LangChain.js",

@@ -28,6 +28,6 @@ "type": "module",

"prepack": "yarn build",
"release": "release-it --only-version --config .release-it.json",
"test": "yarn run build:deps && NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%",
"test:watch": "yarn run build:deps && NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\\.int\\.test.ts",
"test:single": "yarn run build:deps && NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000",
"test:int": "NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%",
"format": "prettier --write \"src\"",

@@ -34,0 +34,0 @@ "format:check": "prettier --check \"src\""

Sorry, the diff of this file is not supported yet

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