@langchain/openai
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -16,5 +16,5 @@ import { type ClientOptions } from "openai"; | ||
}); | ||
protected getLsParams(options: this["ParsedCallOptions"]): LangSmithParams; | ||
getLsParams(options: this["ParsedCallOptions"]): LangSmithParams; | ||
protected _getClientOptions(options: OpenAICoreRequestOptions | undefined): OpenAICoreRequestOptions; | ||
toJSON(): any; | ||
} |
@@ -109,3 +109,3 @@ import { type ClientOptions, OpenAI as OpenAIClient } from "openai"; | ||
configuration?: ClientOptions & LegacyOpenAIInput); | ||
protected getLsParams(options: this["ParsedCallOptions"]): LangSmithParams; | ||
getLsParams(options: this["ParsedCallOptions"]): LangSmithParams; | ||
bindTools(tools: (Record<string, unknown> | StructuredToolInterface)[], kwargs?: Partial<CallOptions>): Runnable<BaseLanguageModelInput, AIMessageChunk, CallOptions>; | ||
@@ -112,0 +112,0 @@ /** |
{ | ||
"name": "@langchain/openai", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "OpenAI integrations for LangChain.js", | ||
@@ -19,7 +19,2 @@ "type": "module", | ||
"build:internal": "yarn lc-build:v2 --create-entrypoints --pre --tree-shaking", | ||
"build:deps": "yarn run turbo:command build --filter=@langchain/core", | ||
"build:esm": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/", | ||
"build:cjs": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && yarn move-cjs-to-dist && rimraf dist-cjs", | ||
"build:watch": "yarn create-entrypoints && tsc --outDir dist/ --watch", | ||
"build:scripts": "yarn create-entrypoints && yarn check-tree-shaking", | ||
"lint:eslint": "NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/", | ||
@@ -31,11 +26,11 @@ "lint:dpdm": "dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts", | ||
"prepack": "yarn build", | ||
"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": "NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%", | ||
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\\.int\\.test.ts", | ||
"test:single": "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%", | ||
"test:standard:unit": "NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.standard\\.test.ts --testTimeout 100000 --maxWorkers=50%", | ||
"test:standard:int": "NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.standard\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%", | ||
"test:standard": "yarn test:standard:unit && yarn test:standard:int", | ||
"format": "prettier --config .prettierrc --write \"src\"", | ||
"format:check": "prettier --config .prettierrc --check \"src\"", | ||
"move-cjs-to-dist": "yarn lc-build --config ./langchain.config.js --move-cjs-dist", | ||
"create-entrypoints": "yarn lc-build --config ./langchain.config.js --create-entrypoints", | ||
"check-tree-shaking": "yarn lc-build --config ./langchain.config.js --tree-shaking" | ||
"format:check": "prettier --config .prettierrc --check \"src\"" | ||
}, | ||
@@ -55,2 +50,3 @@ "author": "LangChain", | ||
"@langchain/scripts": "~0.0.14", | ||
"@langchain/standard-tests": "workspace:*", | ||
"@swc/core": "^1.3.90", | ||
@@ -57,0 +53,0 @@ "@swc/jest": "^0.2.29", |
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
264388
20