File size: 2,417 Bytes
c2b7eb3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
  "name": "@langchain/openai",
  "version": "1.4.5",
  "description": "OpenAI integrations for LangChain.js",
  "author": "LangChain",
  "license": "MIT",
  "type": "module",
  "engines": {
    "node": ">=20"
  },
  "repository": {
    "type": "git",
    "url": "git@github.com:langchain-ai/langchainjs.git"
  },
  "homepage": "https://github.com/langchain-ai/langchainjs/tree/main/libs/providers/langchain-openai/",
  "dependencies": {
    "js-tiktoken": "^1.0.12",
    "openai": "^6.34.0",
    "zod": "^3.25.76 || ^4"
  },
  "peerDependencies": {
    "@langchain/core": "^1.1.42"
  },
  "devDependencies": {
    "@azure/identity": "^4.2.1",
    "@cfworker/json-schema": "^4.1.1",
    "@tsconfig/recommended": "^1.0.10",
    "@types/node": "^25.5.0",
    "@vitest/coverage-v8": "^3.2.4",
    "dotenv": "^17.4.0",
    "dpdm": "^3.14.0",
    "rimraf": "^6.1.3",
    "typescript": "~5.8.3",
    "vitest": "^4.1.2",
    "zod-to-json-schema": "^3.25.2",
    "@langchain/core": "^1.1.42",
    "@langchain/standard-tests": "0.0.23",
    "@langchain/tsconfig": "0.0.1"
  },
  "publishConfig": {
    "access": "public"
  },
  "keywords": [
    "llm",
    "ai",
    "gpt3",
    "chain",
    "prompt",
    "prompt engineering",
    "chatgpt",
    "machine learning",
    "ml",
    "openai",
    "embeddings",
    "vectorstores"
  ],
  "main": "./dist/index.cjs",
  "types": "./dist/index.d.cts",
  "exports": {
    ".": {
      "input": "./src/index.ts",
      "require": {
        "types": "./dist/index.d.cts",
        "default": "./dist/index.cjs"
      },
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      }
    },
    "./package.json": "./package.json"
  },
  "files": [
    "dist/",
    "CHANGELOG.md",
    "README.md",
    "LICENSE"
  ],
  "module": "./dist/index.js",
  "scripts": {
    "build": "turbo build:compile --filter @langchain/openai --output-logs new-only",
    "build:compile": "tsdown",
    "clean": "rm -rf .turbo dist/",
    "test": "vitest run",
    "test:watch": "vitest",
    "test:int": "vitest run --mode int",
    "test:standard:unit": "vitest run --mode standard-unit",
    "test:standard:int": "vitest run --mode standard-int",
    "test:standard": "pnpm test:standard:unit && pnpm test:standard:int",
    "typegen": "pnpm run typegen:profiles",
    "typegen:profiles": "pnpm --filter @langchain/model-profiles make --config profiles.toml"
  }
}