@struct-ai/sdk 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -3
- package/dist/commonjs/core.d.ts +2 -0
- package/dist/commonjs/core.js +53 -7
- package/dist/esm/core.d.ts +2 -0
- package/dist/esm/core.js +54 -8
- package/package.json +21 -21
- package/dist/node_modules/@struct-ai/sdk/dist/commonjs/content-capture.d.ts +0 -10
- package/dist/node_modules/@struct-ai/sdk/dist/commonjs/context.d.ts +0 -30
- package/dist/node_modules/@struct-ai/sdk/dist/commonjs/core.d.ts +0 -120
- package/dist/node_modules/@struct-ai/sdk/dist/commonjs/events.d.ts +0 -12
- package/dist/node_modules/@struct-ai/sdk/dist/commonjs/index.d.ts +0 -6
- package/dist/node_modules/@struct-ai/sdk/dist/commonjs/integrations/anthropic-content.d.ts +0 -24
- package/dist/node_modules/@struct-ai/sdk/dist/commonjs/integrations/anthropic.d.ts +0 -34
- package/dist/node_modules/@struct-ai/sdk/dist/commonjs/integrations/index.d.ts +0 -5
- package/dist/node_modules/@struct-ai/sdk/dist/commonjs/integrations/langchain-callback.d.ts +0 -134
- package/dist/node_modules/@struct-ai/sdk/dist/commonjs/integrations/langchain-content.d.ts +0 -35
- package/dist/node_modules/@struct-ai/sdk/dist/commonjs/integrations/langchain.d.ts +0 -11
- package/dist/node_modules/@struct-ai/sdk/dist/commonjs/package.json +0 -3
- package/dist/node_modules/@struct-ai/sdk/dist/commonjs/semconv.d.ts +0 -54
- package/dist/node_modules/@struct-ai/sdk/dist/commonjs/truncation.d.ts +0 -10
- package/dist/node_modules/@struct-ai/sdk/dist/esm/content-capture.d.ts +0 -10
- package/dist/node_modules/@struct-ai/sdk/dist/esm/context.d.ts +0 -30
- package/dist/node_modules/@struct-ai/sdk/dist/esm/core.d.ts +0 -120
- package/dist/node_modules/@struct-ai/sdk/dist/esm/events.d.ts +0 -12
- package/dist/node_modules/@struct-ai/sdk/dist/esm/index.d.ts +0 -6
- package/dist/node_modules/@struct-ai/sdk/dist/esm/integrations/anthropic-content.d.ts +0 -24
- package/dist/node_modules/@struct-ai/sdk/dist/esm/integrations/anthropic.d.ts +0 -34
- package/dist/node_modules/@struct-ai/sdk/dist/esm/integrations/index.d.ts +0 -5
- package/dist/node_modules/@struct-ai/sdk/dist/esm/integrations/langchain-callback.d.ts +0 -134
- package/dist/node_modules/@struct-ai/sdk/dist/esm/integrations/langchain-content.d.ts +0 -35
- package/dist/node_modules/@struct-ai/sdk/dist/esm/integrations/langchain.d.ts +0 -11
- package/dist/node_modules/@struct-ai/sdk/dist/esm/package.json +0 -3
- package/dist/node_modules/@struct-ai/sdk/dist/esm/semconv.d.ts +0 -54
- package/dist/node_modules/@struct-ai/sdk/dist/esm/truncation.d.ts +0 -10
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/dist/commonjs/package.json +0 -3
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/dist/esm/package.json +0 -3
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/package.json +0 -103
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/@anthropic-ai/sdk/package.json +0 -103
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/anthropic/package.json +0 -118
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/package.json +0 -916
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/langgraph/package.json +0 -188
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/openai/package.json +0 -105
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/@opentelemetry/api/package.json +0 -96
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/@opentelemetry/api-logs/package.json +0 -91
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/@opentelemetry/core/package.json +0 -96
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/@opentelemetry/exporter-logs-otlp-proto/package.json +0 -108
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/@opentelemetry/exporter-trace-otlp-proto/package.json +0 -105
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/@opentelemetry/resources/package.json +0 -100
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/@opentelemetry/sdk-logs/package.json +0 -109
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/@opentelemetry/sdk-trace-base/package.json +0 -100
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/@opentelemetry/sdk-trace-node/package.json +0 -76
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/package.json +0 -140
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/nock/package.json +0 -89
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/tshy/package.json +0 -81
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/tsx/package.json +0 -68
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/typescript/package.json +0 -120
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/vitest/package.json +0 -239
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/node_modules/zod/package.json +0 -135
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/package.json +0 -103
- package/dist/node_modules/@struct-ai/sdk/node_modules/@anthropic-ai/sdk/core.d.ts +0 -244
- package/dist/node_modules/@struct-ai/sdk/node_modules/@anthropic-ai/sdk/error.d.ts +0 -54
- package/dist/node_modules/@struct-ai/sdk/node_modules/@anthropic-ai/sdk/index.d.ts +0 -188
- package/dist/node_modules/@struct-ai/sdk/node_modules/@anthropic-ai/sdk/package.json +0 -103
- package/dist/node_modules/@struct-ai/sdk/node_modules/@anthropic-ai/sdk/pagination.d.ts +0 -26
- package/dist/node_modules/@struct-ai/sdk/node_modules/@anthropic-ai/sdk/resource.d.ts +0 -6
- package/dist/node_modules/@struct-ai/sdk/node_modules/@anthropic-ai/sdk/streaming.d.ts +0 -41
- package/dist/node_modules/@struct-ai/sdk/node_modules/@anthropic-ai/sdk/uploads.d.ts +0 -75
- package/dist/node_modules/@struct-ai/sdk/node_modules/@anthropic-ai/sdk/version.d.ts +0 -2
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/anthropic/experimental.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/anthropic/index.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/anthropic/package.json +0 -118
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/agents.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/caches.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/chat_history.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/context.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/documents.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/embeddings.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/example_selectors.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/index.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/indexing.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/load.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/memory.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/messages.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/output_parsers.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/outputs.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/package.json +0 -916
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/prompt_values.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/prompts.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/retrievers.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/runnables.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/singletons.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/stores.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/structured_query.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/tools.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/core/vectorstores.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/langgraph/index.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/langgraph/package.json +0 -188
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/langgraph/prebuilt.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/langgraph/pregel.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/langgraph/remote.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/langgraph/web.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/langgraph/zod.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/openai/index.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/@langchain/openai/package.json +0 -105
- package/dist/node_modules/@struct-ai/sdk/node_modules/@opentelemetry/api/package.json +0 -96
- package/dist/node_modules/@struct-ai/sdk/node_modules/@opentelemetry/api-logs/package.json +0 -91
- package/dist/node_modules/@struct-ai/sdk/node_modules/@opentelemetry/core/package.json +0 -96
- package/dist/node_modules/@struct-ai/sdk/node_modules/@opentelemetry/exporter-logs-otlp-proto/package.json +0 -108
- package/dist/node_modules/@struct-ai/sdk/node_modules/@opentelemetry/exporter-trace-otlp-proto/package.json +0 -105
- package/dist/node_modules/@struct-ai/sdk/node_modules/@opentelemetry/resources/package.json +0 -100
- package/dist/node_modules/@struct-ai/sdk/node_modules/@opentelemetry/sdk-logs/package.json +0 -109
- package/dist/node_modules/@struct-ai/sdk/node_modules/@opentelemetry/sdk-trace-base/package.json +0 -100
- package/dist/node_modules/@struct-ai/sdk/node_modules/@opentelemetry/sdk-trace-node/package.json +0 -76
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/assert.d.ts +0 -1062
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/async_hooks.d.ts +0 -605
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/buffer.buffer.d.ts +0 -471
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/buffer.d.ts +0 -1936
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/child_process.d.ts +0 -1475
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/cluster.d.ts +0 -577
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/console.d.ts +0 -452
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/constants.d.ts +0 -21
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/crypto.d.ts +0 -4590
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/dgram.d.ts +0 -597
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/dns.d.ts +0 -871
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/domain.d.ts +0 -170
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/events.d.ts +0 -977
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/fs.d.ts +0 -4375
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/globals.d.ts +0 -172
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/globals.typedarray.d.ts +0 -38
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/http.d.ts +0 -2049
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/http2.d.ts +0 -2631
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/https.d.ts +0 -578
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/index.d.ts +0 -93
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/inspector.generated.d.ts +0 -3966
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/module.d.ts +0 -539
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/net.d.ts +0 -1031
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/os.d.ts +0 -506
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/package.json +0 -140
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/path.d.ts +0 -200
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/perf_hooks.d.ts +0 -961
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/process.d.ts +0 -1961
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/punycode.d.ts +0 -117
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/querystring.d.ts +0 -152
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/readline.d.ts +0 -589
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/repl.d.ts +0 -430
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/sea.d.ts +0 -153
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/stream.d.ts +0 -1698
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/test.d.ts +0 -1787
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/timers.d.ts +0 -286
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/tls.d.ts +0 -1259
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/trace_events.d.ts +0 -197
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/tty.d.ts +0 -208
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/url.d.ts +0 -964
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/util.d.ts +0 -2331
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/v8.d.ts +0 -809
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/vm.d.ts +0 -1001
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/wasi.d.ts +0 -181
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/worker_threads.d.ts +0 -715
- package/dist/node_modules/@struct-ai/sdk/node_modules/@types/node/zlib.d.ts +0 -598
- package/dist/node_modules/@struct-ai/sdk/node_modules/nock/package.json +0 -89
- package/dist/node_modules/@struct-ai/sdk/node_modules/tshy/package.json +0 -81
- package/dist/node_modules/@struct-ai/sdk/node_modules/tsx/package.json +0 -68
- package/dist/node_modules/@struct-ai/sdk/node_modules/typescript/package.json +0 -120
- package/dist/node_modules/@struct-ai/sdk/node_modules/vitest/config.d.ts +0 -3
- package/dist/node_modules/@struct-ai/sdk/node_modules/vitest/coverage.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/vitest/environments.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/vitest/globals.d.ts +0 -22
- package/dist/node_modules/@struct-ai/sdk/node_modules/vitest/import-meta.d.ts +0 -5
- package/dist/node_modules/@struct-ai/sdk/node_modules/vitest/importMeta.d.ts +0 -4
- package/dist/node_modules/@struct-ai/sdk/node_modules/vitest/jsdom.d.ts +0 -6
- package/dist/node_modules/@struct-ai/sdk/node_modules/vitest/mocker.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/vitest/node.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/vitest/optional-runtime-types.d.ts +0 -6
- package/dist/node_modules/@struct-ai/sdk/node_modules/vitest/optional-types.d.ts +0 -7
- package/dist/node_modules/@struct-ai/sdk/node_modules/vitest/package.json +0 -239
- package/dist/node_modules/@struct-ai/sdk/node_modules/vitest/reporters.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/vitest/runners.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/vitest/snapshot.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/vitest/suite.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/vitest/worker.d.ts +0 -1
- package/dist/node_modules/@struct-ai/sdk/node_modules/zod/index.d.ts +0 -4
- package/dist/node_modules/@struct-ai/sdk/node_modules/zod/locales/package.json +0 -7
- package/dist/node_modules/@struct-ai/sdk/node_modules/zod/mini/package.json +0 -7
- package/dist/node_modules/@struct-ai/sdk/node_modules/zod/package.json +0 -135
- package/dist/node_modules/@struct-ai/sdk/node_modules/zod/v3/package.json +0 -7
- package/dist/node_modules/@struct-ai/sdk/node_modules/zod/v4/classic/package.json +0 -7
- package/dist/node_modules/@struct-ai/sdk/node_modules/zod/v4/core/package.json +0 -7
- package/dist/node_modules/@struct-ai/sdk/node_modules/zod/v4/locales/package.json +0 -7
- package/dist/node_modules/@struct-ai/sdk/node_modules/zod/v4/mini/package.json +0 -7
- package/dist/node_modules/@struct-ai/sdk/node_modules/zod/v4/package.json +0 -7
- package/dist/node_modules/@struct-ai/sdk/node_modules/zod/v4-mini/package.json +0 -7
- package/dist/node_modules/@struct-ai/sdk/package.json +0 -103
|
@@ -1,916 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@langchain/core",
|
|
3
|
-
"version": "0.3.80",
|
|
4
|
-
"description": "Core LangChain.js abstractions and schemas",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"engines": {
|
|
7
|
-
"node": ">=18"
|
|
8
|
-
},
|
|
9
|
-
"main": "./index.js",
|
|
10
|
-
"types": "./index.d.ts",
|
|
11
|
-
"repository": {
|
|
12
|
-
"type": "git",
|
|
13
|
-
"url": "git@github.com:langchain-ai/langchainjs.git"
|
|
14
|
-
},
|
|
15
|
-
"homepage": "https://github.com/langchain-ai/langchainjs/tree/main/langchain-core/",
|
|
16
|
-
"scripts": {
|
|
17
|
-
"build": "yarn turbo:command build:internal --filter=@langchain/core",
|
|
18
|
-
"build:internal": "yarn lc_build --create-entrypoints --pre --tree-shaking",
|
|
19
|
-
"clean": "rm -rf .turbo dist/",
|
|
20
|
-
"lint:eslint": "NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/",
|
|
21
|
-
"lint:dpdm": "dpdm --skip-dynamic-imports circular --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts",
|
|
22
|
-
"lint": "yarn lint:eslint && yarn lint:dpdm",
|
|
23
|
-
"lint:fix": "yarn lint:eslint --fix && yarn lint:dpdm",
|
|
24
|
-
"prepack": "yarn build",
|
|
25
|
-
"release": "release-it --only-version --config .release-it.json",
|
|
26
|
-
"test": "NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%",
|
|
27
|
-
"test:integration": "NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%",
|
|
28
|
-
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\\.int\\.test.ts",
|
|
29
|
-
"test:single": "NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000",
|
|
30
|
-
"format": "prettier --config .prettierrc --write \"src\"",
|
|
31
|
-
"format:check": "prettier --config .prettierrc --check \"src\""
|
|
32
|
-
},
|
|
33
|
-
"author": "LangChain",
|
|
34
|
-
"license": "MIT",
|
|
35
|
-
"dependencies": {
|
|
36
|
-
"@cfworker/json-schema": "^4.0.2",
|
|
37
|
-
"ansi-styles": "^5.0.0",
|
|
38
|
-
"camelcase": "6",
|
|
39
|
-
"decamelize": "1.2.0",
|
|
40
|
-
"js-tiktoken": "^1.0.12",
|
|
41
|
-
"langsmith": "^0.3.67",
|
|
42
|
-
"mustache": "^4.2.0",
|
|
43
|
-
"p-queue": "^6.6.2",
|
|
44
|
-
"p-retry": "4",
|
|
45
|
-
"uuid": "^10.0.0",
|
|
46
|
-
"zod": "^3.25.32",
|
|
47
|
-
"zod-to-json-schema": "^3.22.3"
|
|
48
|
-
},
|
|
49
|
-
"devDependencies": {
|
|
50
|
-
"@jest/globals": "^29.5.0",
|
|
51
|
-
"@langchain/scripts": ">=0.1.0 <0.2.0",
|
|
52
|
-
"@swc/core": "^1.3.90",
|
|
53
|
-
"@swc/jest": "^0.2.29",
|
|
54
|
-
"@types/decamelize": "^1.2.0",
|
|
55
|
-
"@types/mustache": "^4",
|
|
56
|
-
"dpdm": "^3.14.0",
|
|
57
|
-
"eslint": "^8.33.0",
|
|
58
|
-
"eslint-config-airbnb-base": "^15.0.0",
|
|
59
|
-
"eslint-config-prettier": "^8.6.0",
|
|
60
|
-
"eslint-plugin-import": "^2.27.5",
|
|
61
|
-
"eslint-plugin-jest": "^27.6.0",
|
|
62
|
-
"eslint-plugin-no-instanceof": "^1.0.1",
|
|
63
|
-
"eslint-plugin-prettier": "^4.2.1",
|
|
64
|
-
"jest": "^29.5.0",
|
|
65
|
-
"jest-environment-node": "^29.6.4",
|
|
66
|
-
"ml-matrix": "^6.10.4",
|
|
67
|
-
"prettier": "^2.8.3",
|
|
68
|
-
"release-it": "^18.1.2",
|
|
69
|
-
"rimraf": "^5.0.1",
|
|
70
|
-
"ts-jest": "^29.1.0",
|
|
71
|
-
"typescript": "~5.8.3",
|
|
72
|
-
"web-streams-polyfill": "^4.0.0"
|
|
73
|
-
},
|
|
74
|
-
"publishConfig": {
|
|
75
|
-
"access": "public"
|
|
76
|
-
},
|
|
77
|
-
"keywords": [
|
|
78
|
-
"llm",
|
|
79
|
-
"ai",
|
|
80
|
-
"gpt3",
|
|
81
|
-
"chain",
|
|
82
|
-
"prompt",
|
|
83
|
-
"prompt engineering",
|
|
84
|
-
"chatgpt",
|
|
85
|
-
"machine learning",
|
|
86
|
-
"ml",
|
|
87
|
-
"openai",
|
|
88
|
-
"embeddings",
|
|
89
|
-
"vectorstores"
|
|
90
|
-
],
|
|
91
|
-
"exports": {
|
|
92
|
-
".": {
|
|
93
|
-
"types": {
|
|
94
|
-
"import": "./index.d.ts",
|
|
95
|
-
"require": "./index.d.cts",
|
|
96
|
-
"default": "./index.d.ts"
|
|
97
|
-
},
|
|
98
|
-
"import": "./index.js",
|
|
99
|
-
"require": "./index.cjs"
|
|
100
|
-
},
|
|
101
|
-
"./agents": {
|
|
102
|
-
"types": {
|
|
103
|
-
"import": "./agents.d.ts",
|
|
104
|
-
"require": "./agents.d.cts",
|
|
105
|
-
"default": "./agents.d.ts"
|
|
106
|
-
},
|
|
107
|
-
"import": "./agents.js",
|
|
108
|
-
"require": "./agents.cjs"
|
|
109
|
-
},
|
|
110
|
-
"./caches": {
|
|
111
|
-
"types": {
|
|
112
|
-
"import": "./caches.d.ts",
|
|
113
|
-
"require": "./caches.d.cts",
|
|
114
|
-
"default": "./caches.d.ts"
|
|
115
|
-
},
|
|
116
|
-
"import": "./caches.js",
|
|
117
|
-
"require": "./caches.cjs"
|
|
118
|
-
},
|
|
119
|
-
"./callbacks/base": {
|
|
120
|
-
"types": {
|
|
121
|
-
"import": "./callbacks/base.d.ts",
|
|
122
|
-
"require": "./callbacks/base.d.cts",
|
|
123
|
-
"default": "./callbacks/base.d.ts"
|
|
124
|
-
},
|
|
125
|
-
"import": "./callbacks/base.js",
|
|
126
|
-
"require": "./callbacks/base.cjs"
|
|
127
|
-
},
|
|
128
|
-
"./callbacks/dispatch": {
|
|
129
|
-
"types": {
|
|
130
|
-
"import": "./callbacks/dispatch.d.ts",
|
|
131
|
-
"require": "./callbacks/dispatch.d.cts",
|
|
132
|
-
"default": "./callbacks/dispatch.d.ts"
|
|
133
|
-
},
|
|
134
|
-
"import": "./callbacks/dispatch.js",
|
|
135
|
-
"require": "./callbacks/dispatch.cjs"
|
|
136
|
-
},
|
|
137
|
-
"./callbacks/dispatch/web": {
|
|
138
|
-
"types": {
|
|
139
|
-
"import": "./callbacks/dispatch/web.d.ts",
|
|
140
|
-
"require": "./callbacks/dispatch/web.d.cts",
|
|
141
|
-
"default": "./callbacks/dispatch/web.d.ts"
|
|
142
|
-
},
|
|
143
|
-
"import": "./callbacks/dispatch/web.js",
|
|
144
|
-
"require": "./callbacks/dispatch/web.cjs"
|
|
145
|
-
},
|
|
146
|
-
"./callbacks/manager": {
|
|
147
|
-
"types": {
|
|
148
|
-
"import": "./callbacks/manager.d.ts",
|
|
149
|
-
"require": "./callbacks/manager.d.cts",
|
|
150
|
-
"default": "./callbacks/manager.d.ts"
|
|
151
|
-
},
|
|
152
|
-
"import": "./callbacks/manager.js",
|
|
153
|
-
"require": "./callbacks/manager.cjs"
|
|
154
|
-
},
|
|
155
|
-
"./callbacks/promises": {
|
|
156
|
-
"types": {
|
|
157
|
-
"import": "./callbacks/promises.d.ts",
|
|
158
|
-
"require": "./callbacks/promises.d.cts",
|
|
159
|
-
"default": "./callbacks/promises.d.ts"
|
|
160
|
-
},
|
|
161
|
-
"import": "./callbacks/promises.js",
|
|
162
|
-
"require": "./callbacks/promises.cjs"
|
|
163
|
-
},
|
|
164
|
-
"./chat_history": {
|
|
165
|
-
"types": {
|
|
166
|
-
"import": "./chat_history.d.ts",
|
|
167
|
-
"require": "./chat_history.d.cts",
|
|
168
|
-
"default": "./chat_history.d.ts"
|
|
169
|
-
},
|
|
170
|
-
"import": "./chat_history.js",
|
|
171
|
-
"require": "./chat_history.cjs"
|
|
172
|
-
},
|
|
173
|
-
"./context": {
|
|
174
|
-
"types": {
|
|
175
|
-
"import": "./context.d.ts",
|
|
176
|
-
"require": "./context.d.cts",
|
|
177
|
-
"default": "./context.d.ts"
|
|
178
|
-
},
|
|
179
|
-
"import": "./context.js",
|
|
180
|
-
"require": "./context.cjs"
|
|
181
|
-
},
|
|
182
|
-
"./documents": {
|
|
183
|
-
"types": {
|
|
184
|
-
"import": "./documents.d.ts",
|
|
185
|
-
"require": "./documents.d.cts",
|
|
186
|
-
"default": "./documents.d.ts"
|
|
187
|
-
},
|
|
188
|
-
"import": "./documents.js",
|
|
189
|
-
"require": "./documents.cjs"
|
|
190
|
-
},
|
|
191
|
-
"./document_loaders/base": {
|
|
192
|
-
"types": {
|
|
193
|
-
"import": "./document_loaders/base.d.ts",
|
|
194
|
-
"require": "./document_loaders/base.d.cts",
|
|
195
|
-
"default": "./document_loaders/base.d.ts"
|
|
196
|
-
},
|
|
197
|
-
"import": "./document_loaders/base.js",
|
|
198
|
-
"require": "./document_loaders/base.cjs"
|
|
199
|
-
},
|
|
200
|
-
"./document_loaders/langsmith": {
|
|
201
|
-
"types": {
|
|
202
|
-
"import": "./document_loaders/langsmith.d.ts",
|
|
203
|
-
"require": "./document_loaders/langsmith.d.cts",
|
|
204
|
-
"default": "./document_loaders/langsmith.d.ts"
|
|
205
|
-
},
|
|
206
|
-
"import": "./document_loaders/langsmith.js",
|
|
207
|
-
"require": "./document_loaders/langsmith.cjs"
|
|
208
|
-
},
|
|
209
|
-
"./embeddings": {
|
|
210
|
-
"types": {
|
|
211
|
-
"import": "./embeddings.d.ts",
|
|
212
|
-
"require": "./embeddings.d.cts",
|
|
213
|
-
"default": "./embeddings.d.ts"
|
|
214
|
-
},
|
|
215
|
-
"import": "./embeddings.js",
|
|
216
|
-
"require": "./embeddings.cjs"
|
|
217
|
-
},
|
|
218
|
-
"./example_selectors": {
|
|
219
|
-
"types": {
|
|
220
|
-
"import": "./example_selectors.d.ts",
|
|
221
|
-
"require": "./example_selectors.d.cts",
|
|
222
|
-
"default": "./example_selectors.d.ts"
|
|
223
|
-
},
|
|
224
|
-
"import": "./example_selectors.js",
|
|
225
|
-
"require": "./example_selectors.cjs"
|
|
226
|
-
},
|
|
227
|
-
"./indexing": {
|
|
228
|
-
"types": {
|
|
229
|
-
"import": "./indexing.d.ts",
|
|
230
|
-
"require": "./indexing.d.cts",
|
|
231
|
-
"default": "./indexing.d.ts"
|
|
232
|
-
},
|
|
233
|
-
"import": "./indexing.js",
|
|
234
|
-
"require": "./indexing.cjs"
|
|
235
|
-
},
|
|
236
|
-
"./language_models/base": {
|
|
237
|
-
"types": {
|
|
238
|
-
"import": "./language_models/base.d.ts",
|
|
239
|
-
"require": "./language_models/base.d.cts",
|
|
240
|
-
"default": "./language_models/base.d.ts"
|
|
241
|
-
},
|
|
242
|
-
"import": "./language_models/base.js",
|
|
243
|
-
"require": "./language_models/base.cjs"
|
|
244
|
-
},
|
|
245
|
-
"./language_models/chat_models": {
|
|
246
|
-
"types": {
|
|
247
|
-
"import": "./language_models/chat_models.d.ts",
|
|
248
|
-
"require": "./language_models/chat_models.d.cts",
|
|
249
|
-
"default": "./language_models/chat_models.d.ts"
|
|
250
|
-
},
|
|
251
|
-
"import": "./language_models/chat_models.js",
|
|
252
|
-
"require": "./language_models/chat_models.cjs"
|
|
253
|
-
},
|
|
254
|
-
"./language_models/llms": {
|
|
255
|
-
"types": {
|
|
256
|
-
"import": "./language_models/llms.d.ts",
|
|
257
|
-
"require": "./language_models/llms.d.cts",
|
|
258
|
-
"default": "./language_models/llms.d.ts"
|
|
259
|
-
},
|
|
260
|
-
"import": "./language_models/llms.js",
|
|
261
|
-
"require": "./language_models/llms.cjs"
|
|
262
|
-
},
|
|
263
|
-
"./load": {
|
|
264
|
-
"types": {
|
|
265
|
-
"import": "./load.d.ts",
|
|
266
|
-
"require": "./load.d.cts",
|
|
267
|
-
"default": "./load.d.ts"
|
|
268
|
-
},
|
|
269
|
-
"import": "./load.js",
|
|
270
|
-
"require": "./load.cjs"
|
|
271
|
-
},
|
|
272
|
-
"./load/serializable": {
|
|
273
|
-
"types": {
|
|
274
|
-
"import": "./load/serializable.d.ts",
|
|
275
|
-
"require": "./load/serializable.d.cts",
|
|
276
|
-
"default": "./load/serializable.d.ts"
|
|
277
|
-
},
|
|
278
|
-
"import": "./load/serializable.js",
|
|
279
|
-
"require": "./load/serializable.cjs"
|
|
280
|
-
},
|
|
281
|
-
"./memory": {
|
|
282
|
-
"types": {
|
|
283
|
-
"import": "./memory.d.ts",
|
|
284
|
-
"require": "./memory.d.cts",
|
|
285
|
-
"default": "./memory.d.ts"
|
|
286
|
-
},
|
|
287
|
-
"import": "./memory.js",
|
|
288
|
-
"require": "./memory.cjs"
|
|
289
|
-
},
|
|
290
|
-
"./messages": {
|
|
291
|
-
"types": {
|
|
292
|
-
"import": "./messages.d.ts",
|
|
293
|
-
"require": "./messages.d.cts",
|
|
294
|
-
"default": "./messages.d.ts"
|
|
295
|
-
},
|
|
296
|
-
"import": "./messages.js",
|
|
297
|
-
"require": "./messages.cjs"
|
|
298
|
-
},
|
|
299
|
-
"./messages/tool": {
|
|
300
|
-
"types": {
|
|
301
|
-
"import": "./messages/tool.d.ts",
|
|
302
|
-
"require": "./messages/tool.d.cts",
|
|
303
|
-
"default": "./messages/tool.d.ts"
|
|
304
|
-
},
|
|
305
|
-
"import": "./messages/tool.js",
|
|
306
|
-
"require": "./messages/tool.cjs"
|
|
307
|
-
},
|
|
308
|
-
"./output_parsers": {
|
|
309
|
-
"types": {
|
|
310
|
-
"import": "./output_parsers.d.ts",
|
|
311
|
-
"require": "./output_parsers.d.cts",
|
|
312
|
-
"default": "./output_parsers.d.ts"
|
|
313
|
-
},
|
|
314
|
-
"import": "./output_parsers.js",
|
|
315
|
-
"require": "./output_parsers.cjs"
|
|
316
|
-
},
|
|
317
|
-
"./output_parsers/openai_tools": {
|
|
318
|
-
"types": {
|
|
319
|
-
"import": "./output_parsers/openai_tools.d.ts",
|
|
320
|
-
"require": "./output_parsers/openai_tools.d.cts",
|
|
321
|
-
"default": "./output_parsers/openai_tools.d.ts"
|
|
322
|
-
},
|
|
323
|
-
"import": "./output_parsers/openai_tools.js",
|
|
324
|
-
"require": "./output_parsers/openai_tools.cjs"
|
|
325
|
-
},
|
|
326
|
-
"./output_parsers/openai_functions": {
|
|
327
|
-
"types": {
|
|
328
|
-
"import": "./output_parsers/openai_functions.d.ts",
|
|
329
|
-
"require": "./output_parsers/openai_functions.d.cts",
|
|
330
|
-
"default": "./output_parsers/openai_functions.d.ts"
|
|
331
|
-
},
|
|
332
|
-
"import": "./output_parsers/openai_functions.js",
|
|
333
|
-
"require": "./output_parsers/openai_functions.cjs"
|
|
334
|
-
},
|
|
335
|
-
"./outputs": {
|
|
336
|
-
"types": {
|
|
337
|
-
"import": "./outputs.d.ts",
|
|
338
|
-
"require": "./outputs.d.cts",
|
|
339
|
-
"default": "./outputs.d.ts"
|
|
340
|
-
},
|
|
341
|
-
"import": "./outputs.js",
|
|
342
|
-
"require": "./outputs.cjs"
|
|
343
|
-
},
|
|
344
|
-
"./prompts": {
|
|
345
|
-
"types": {
|
|
346
|
-
"import": "./prompts.d.ts",
|
|
347
|
-
"require": "./prompts.d.cts",
|
|
348
|
-
"default": "./prompts.d.ts"
|
|
349
|
-
},
|
|
350
|
-
"import": "./prompts.js",
|
|
351
|
-
"require": "./prompts.cjs"
|
|
352
|
-
},
|
|
353
|
-
"./prompt_values": {
|
|
354
|
-
"types": {
|
|
355
|
-
"import": "./prompt_values.d.ts",
|
|
356
|
-
"require": "./prompt_values.d.cts",
|
|
357
|
-
"default": "./prompt_values.d.ts"
|
|
358
|
-
},
|
|
359
|
-
"import": "./prompt_values.js",
|
|
360
|
-
"require": "./prompt_values.cjs"
|
|
361
|
-
},
|
|
362
|
-
"./runnables": {
|
|
363
|
-
"types": {
|
|
364
|
-
"import": "./runnables.d.ts",
|
|
365
|
-
"require": "./runnables.d.cts",
|
|
366
|
-
"default": "./runnables.d.ts"
|
|
367
|
-
},
|
|
368
|
-
"import": "./runnables.js",
|
|
369
|
-
"require": "./runnables.cjs"
|
|
370
|
-
},
|
|
371
|
-
"./runnables/graph": {
|
|
372
|
-
"types": {
|
|
373
|
-
"import": "./runnables/graph.d.ts",
|
|
374
|
-
"require": "./runnables/graph.d.cts",
|
|
375
|
-
"default": "./runnables/graph.d.ts"
|
|
376
|
-
},
|
|
377
|
-
"import": "./runnables/graph.js",
|
|
378
|
-
"require": "./runnables/graph.cjs"
|
|
379
|
-
},
|
|
380
|
-
"./runnables/remote": {
|
|
381
|
-
"types": {
|
|
382
|
-
"import": "./runnables/remote.d.ts",
|
|
383
|
-
"require": "./runnables/remote.d.cts",
|
|
384
|
-
"default": "./runnables/remote.d.ts"
|
|
385
|
-
},
|
|
386
|
-
"import": "./runnables/remote.js",
|
|
387
|
-
"require": "./runnables/remote.cjs"
|
|
388
|
-
},
|
|
389
|
-
"./retrievers": {
|
|
390
|
-
"types": {
|
|
391
|
-
"import": "./retrievers.d.ts",
|
|
392
|
-
"require": "./retrievers.d.cts",
|
|
393
|
-
"default": "./retrievers.d.ts"
|
|
394
|
-
},
|
|
395
|
-
"import": "./retrievers.js",
|
|
396
|
-
"require": "./retrievers.cjs"
|
|
397
|
-
},
|
|
398
|
-
"./retrievers/document_compressors": {
|
|
399
|
-
"types": {
|
|
400
|
-
"import": "./retrievers/document_compressors.d.ts",
|
|
401
|
-
"require": "./retrievers/document_compressors.d.cts",
|
|
402
|
-
"default": "./retrievers/document_compressors.d.ts"
|
|
403
|
-
},
|
|
404
|
-
"import": "./retrievers/document_compressors.js",
|
|
405
|
-
"require": "./retrievers/document_compressors.cjs"
|
|
406
|
-
},
|
|
407
|
-
"./singletons": {
|
|
408
|
-
"types": {
|
|
409
|
-
"import": "./singletons.d.ts",
|
|
410
|
-
"require": "./singletons.d.cts",
|
|
411
|
-
"default": "./singletons.d.ts"
|
|
412
|
-
},
|
|
413
|
-
"import": "./singletons.js",
|
|
414
|
-
"require": "./singletons.cjs"
|
|
415
|
-
},
|
|
416
|
-
"./stores": {
|
|
417
|
-
"types": {
|
|
418
|
-
"import": "./stores.d.ts",
|
|
419
|
-
"require": "./stores.d.cts",
|
|
420
|
-
"default": "./stores.d.ts"
|
|
421
|
-
},
|
|
422
|
-
"import": "./stores.js",
|
|
423
|
-
"require": "./stores.cjs"
|
|
424
|
-
},
|
|
425
|
-
"./structured_query": {
|
|
426
|
-
"types": {
|
|
427
|
-
"import": "./structured_query.d.ts",
|
|
428
|
-
"require": "./structured_query.d.cts",
|
|
429
|
-
"default": "./structured_query.d.ts"
|
|
430
|
-
},
|
|
431
|
-
"import": "./structured_query.js",
|
|
432
|
-
"require": "./structured_query.cjs"
|
|
433
|
-
},
|
|
434
|
-
"./tools": {
|
|
435
|
-
"types": {
|
|
436
|
-
"import": "./tools.d.ts",
|
|
437
|
-
"require": "./tools.d.cts",
|
|
438
|
-
"default": "./tools.d.ts"
|
|
439
|
-
},
|
|
440
|
-
"import": "./tools.js",
|
|
441
|
-
"require": "./tools.cjs"
|
|
442
|
-
},
|
|
443
|
-
"./tracers/base": {
|
|
444
|
-
"types": {
|
|
445
|
-
"import": "./tracers/base.d.ts",
|
|
446
|
-
"require": "./tracers/base.d.cts",
|
|
447
|
-
"default": "./tracers/base.d.ts"
|
|
448
|
-
},
|
|
449
|
-
"import": "./tracers/base.js",
|
|
450
|
-
"require": "./tracers/base.cjs"
|
|
451
|
-
},
|
|
452
|
-
"./tracers/console": {
|
|
453
|
-
"types": {
|
|
454
|
-
"import": "./tracers/console.d.ts",
|
|
455
|
-
"require": "./tracers/console.d.cts",
|
|
456
|
-
"default": "./tracers/console.d.ts"
|
|
457
|
-
},
|
|
458
|
-
"import": "./tracers/console.js",
|
|
459
|
-
"require": "./tracers/console.cjs"
|
|
460
|
-
},
|
|
461
|
-
"./tracers/initialize": {
|
|
462
|
-
"types": {
|
|
463
|
-
"import": "./tracers/initialize.d.ts",
|
|
464
|
-
"require": "./tracers/initialize.d.cts",
|
|
465
|
-
"default": "./tracers/initialize.d.ts"
|
|
466
|
-
},
|
|
467
|
-
"import": "./tracers/initialize.js",
|
|
468
|
-
"require": "./tracers/initialize.cjs"
|
|
469
|
-
},
|
|
470
|
-
"./tracers/log_stream": {
|
|
471
|
-
"types": {
|
|
472
|
-
"import": "./tracers/log_stream.d.ts",
|
|
473
|
-
"require": "./tracers/log_stream.d.cts",
|
|
474
|
-
"default": "./tracers/log_stream.d.ts"
|
|
475
|
-
},
|
|
476
|
-
"import": "./tracers/log_stream.js",
|
|
477
|
-
"require": "./tracers/log_stream.cjs"
|
|
478
|
-
},
|
|
479
|
-
"./tracers/run_collector": {
|
|
480
|
-
"types": {
|
|
481
|
-
"import": "./tracers/run_collector.d.ts",
|
|
482
|
-
"require": "./tracers/run_collector.d.cts",
|
|
483
|
-
"default": "./tracers/run_collector.d.ts"
|
|
484
|
-
},
|
|
485
|
-
"import": "./tracers/run_collector.js",
|
|
486
|
-
"require": "./tracers/run_collector.cjs"
|
|
487
|
-
},
|
|
488
|
-
"./tracers/tracer_langchain": {
|
|
489
|
-
"types": {
|
|
490
|
-
"import": "./tracers/tracer_langchain.d.ts",
|
|
491
|
-
"require": "./tracers/tracer_langchain.d.cts",
|
|
492
|
-
"default": "./tracers/tracer_langchain.d.ts"
|
|
493
|
-
},
|
|
494
|
-
"import": "./tracers/tracer_langchain.js",
|
|
495
|
-
"require": "./tracers/tracer_langchain.cjs"
|
|
496
|
-
},
|
|
497
|
-
"./tracers/tracer_langchain_v1": {
|
|
498
|
-
"types": {
|
|
499
|
-
"import": "./tracers/tracer_langchain_v1.d.ts",
|
|
500
|
-
"require": "./tracers/tracer_langchain_v1.d.cts",
|
|
501
|
-
"default": "./tracers/tracer_langchain_v1.d.ts"
|
|
502
|
-
},
|
|
503
|
-
"import": "./tracers/tracer_langchain_v1.js",
|
|
504
|
-
"require": "./tracers/tracer_langchain_v1.cjs"
|
|
505
|
-
},
|
|
506
|
-
"./types/stream": {
|
|
507
|
-
"types": {
|
|
508
|
-
"import": "./types/stream.d.ts",
|
|
509
|
-
"require": "./types/stream.d.cts",
|
|
510
|
-
"default": "./types/stream.d.ts"
|
|
511
|
-
},
|
|
512
|
-
"import": "./types/stream.js",
|
|
513
|
-
"require": "./types/stream.cjs"
|
|
514
|
-
},
|
|
515
|
-
"./utils/async_caller": {
|
|
516
|
-
"types": {
|
|
517
|
-
"import": "./utils/async_caller.d.ts",
|
|
518
|
-
"require": "./utils/async_caller.d.cts",
|
|
519
|
-
"default": "./utils/async_caller.d.ts"
|
|
520
|
-
},
|
|
521
|
-
"import": "./utils/async_caller.js",
|
|
522
|
-
"require": "./utils/async_caller.cjs"
|
|
523
|
-
},
|
|
524
|
-
"./utils/chunk_array": {
|
|
525
|
-
"types": {
|
|
526
|
-
"import": "./utils/chunk_array.d.ts",
|
|
527
|
-
"require": "./utils/chunk_array.d.cts",
|
|
528
|
-
"default": "./utils/chunk_array.d.ts"
|
|
529
|
-
},
|
|
530
|
-
"import": "./utils/chunk_array.js",
|
|
531
|
-
"require": "./utils/chunk_array.cjs"
|
|
532
|
-
},
|
|
533
|
-
"./utils/env": {
|
|
534
|
-
"types": {
|
|
535
|
-
"import": "./utils/env.d.ts",
|
|
536
|
-
"require": "./utils/env.d.cts",
|
|
537
|
-
"default": "./utils/env.d.ts"
|
|
538
|
-
},
|
|
539
|
-
"import": "./utils/env.js",
|
|
540
|
-
"require": "./utils/env.cjs"
|
|
541
|
-
},
|
|
542
|
-
"./utils/event_source_parse": {
|
|
543
|
-
"types": {
|
|
544
|
-
"import": "./utils/event_source_parse.d.ts",
|
|
545
|
-
"require": "./utils/event_source_parse.d.cts",
|
|
546
|
-
"default": "./utils/event_source_parse.d.ts"
|
|
547
|
-
},
|
|
548
|
-
"import": "./utils/event_source_parse.js",
|
|
549
|
-
"require": "./utils/event_source_parse.cjs"
|
|
550
|
-
},
|
|
551
|
-
"./utils/function_calling": {
|
|
552
|
-
"types": {
|
|
553
|
-
"import": "./utils/function_calling.d.ts",
|
|
554
|
-
"require": "./utils/function_calling.d.cts",
|
|
555
|
-
"default": "./utils/function_calling.d.ts"
|
|
556
|
-
},
|
|
557
|
-
"import": "./utils/function_calling.js",
|
|
558
|
-
"require": "./utils/function_calling.cjs"
|
|
559
|
-
},
|
|
560
|
-
"./utils/hash": {
|
|
561
|
-
"types": {
|
|
562
|
-
"import": "./utils/hash.d.ts",
|
|
563
|
-
"require": "./utils/hash.d.cts",
|
|
564
|
-
"default": "./utils/hash.d.ts"
|
|
565
|
-
},
|
|
566
|
-
"import": "./utils/hash.js",
|
|
567
|
-
"require": "./utils/hash.cjs"
|
|
568
|
-
},
|
|
569
|
-
"./utils/hash/insecure": {
|
|
570
|
-
"types": {
|
|
571
|
-
"import": "./utils/hash/insecure.d.ts",
|
|
572
|
-
"require": "./utils/hash/insecure.d.cts",
|
|
573
|
-
"default": "./utils/hash/insecure.d.ts"
|
|
574
|
-
},
|
|
575
|
-
"import": "./utils/hash/insecure.js",
|
|
576
|
-
"require": "./utils/hash/insecure.cjs"
|
|
577
|
-
},
|
|
578
|
-
"./utils/hash/sha256": {
|
|
579
|
-
"types": {
|
|
580
|
-
"import": "./utils/hash/sha256.d.ts",
|
|
581
|
-
"require": "./utils/hash/sha256.d.cts",
|
|
582
|
-
"default": "./utils/hash/sha256.d.ts"
|
|
583
|
-
},
|
|
584
|
-
"import": "./utils/hash/sha256.js",
|
|
585
|
-
"require": "./utils/hash/sha256.cjs"
|
|
586
|
-
},
|
|
587
|
-
"./utils/json_patch": {
|
|
588
|
-
"types": {
|
|
589
|
-
"import": "./utils/json_patch.d.ts",
|
|
590
|
-
"require": "./utils/json_patch.d.cts",
|
|
591
|
-
"default": "./utils/json_patch.d.ts"
|
|
592
|
-
},
|
|
593
|
-
"import": "./utils/json_patch.js",
|
|
594
|
-
"require": "./utils/json_patch.cjs"
|
|
595
|
-
},
|
|
596
|
-
"./utils/json_schema": {
|
|
597
|
-
"types": {
|
|
598
|
-
"import": "./utils/json_schema.d.ts",
|
|
599
|
-
"require": "./utils/json_schema.d.cts",
|
|
600
|
-
"default": "./utils/json_schema.d.ts"
|
|
601
|
-
},
|
|
602
|
-
"import": "./utils/json_schema.js",
|
|
603
|
-
"require": "./utils/json_schema.cjs"
|
|
604
|
-
},
|
|
605
|
-
"./utils/math": {
|
|
606
|
-
"types": {
|
|
607
|
-
"import": "./utils/math.d.ts",
|
|
608
|
-
"require": "./utils/math.d.cts",
|
|
609
|
-
"default": "./utils/math.d.ts"
|
|
610
|
-
},
|
|
611
|
-
"import": "./utils/math.js",
|
|
612
|
-
"require": "./utils/math.cjs"
|
|
613
|
-
},
|
|
614
|
-
"./utils/stream": {
|
|
615
|
-
"types": {
|
|
616
|
-
"import": "./utils/stream.d.ts",
|
|
617
|
-
"require": "./utils/stream.d.cts",
|
|
618
|
-
"default": "./utils/stream.d.ts"
|
|
619
|
-
},
|
|
620
|
-
"import": "./utils/stream.js",
|
|
621
|
-
"require": "./utils/stream.cjs"
|
|
622
|
-
},
|
|
623
|
-
"./utils/testing": {
|
|
624
|
-
"types": {
|
|
625
|
-
"import": "./utils/testing.d.ts",
|
|
626
|
-
"require": "./utils/testing.d.cts",
|
|
627
|
-
"default": "./utils/testing.d.ts"
|
|
628
|
-
},
|
|
629
|
-
"import": "./utils/testing.js",
|
|
630
|
-
"require": "./utils/testing.cjs"
|
|
631
|
-
},
|
|
632
|
-
"./utils/tiktoken": {
|
|
633
|
-
"types": {
|
|
634
|
-
"import": "./utils/tiktoken.d.ts",
|
|
635
|
-
"require": "./utils/tiktoken.d.cts",
|
|
636
|
-
"default": "./utils/tiktoken.d.ts"
|
|
637
|
-
},
|
|
638
|
-
"import": "./utils/tiktoken.js",
|
|
639
|
-
"require": "./utils/tiktoken.cjs"
|
|
640
|
-
},
|
|
641
|
-
"./utils/types": {
|
|
642
|
-
"types": {
|
|
643
|
-
"import": "./utils/types.d.ts",
|
|
644
|
-
"require": "./utils/types.d.cts",
|
|
645
|
-
"default": "./utils/types.d.ts"
|
|
646
|
-
},
|
|
647
|
-
"import": "./utils/types.js",
|
|
648
|
-
"require": "./utils/types.cjs"
|
|
649
|
-
},
|
|
650
|
-
"./vectorstores": {
|
|
651
|
-
"types": {
|
|
652
|
-
"import": "./vectorstores.d.ts",
|
|
653
|
-
"require": "./vectorstores.d.cts",
|
|
654
|
-
"default": "./vectorstores.d.ts"
|
|
655
|
-
},
|
|
656
|
-
"import": "./vectorstores.js",
|
|
657
|
-
"require": "./vectorstores.cjs"
|
|
658
|
-
},
|
|
659
|
-
"./package.json": "./package.json"
|
|
660
|
-
},
|
|
661
|
-
"files": [
|
|
662
|
-
"dist/",
|
|
663
|
-
"index.cjs",
|
|
664
|
-
"index.js",
|
|
665
|
-
"index.d.ts",
|
|
666
|
-
"index.d.cts",
|
|
667
|
-
"agents.cjs",
|
|
668
|
-
"agents.js",
|
|
669
|
-
"agents.d.ts",
|
|
670
|
-
"agents.d.cts",
|
|
671
|
-
"caches.cjs",
|
|
672
|
-
"caches.js",
|
|
673
|
-
"caches.d.ts",
|
|
674
|
-
"caches.d.cts",
|
|
675
|
-
"callbacks/base.cjs",
|
|
676
|
-
"callbacks/base.js",
|
|
677
|
-
"callbacks/base.d.ts",
|
|
678
|
-
"callbacks/base.d.cts",
|
|
679
|
-
"callbacks/dispatch.cjs",
|
|
680
|
-
"callbacks/dispatch.js",
|
|
681
|
-
"callbacks/dispatch.d.ts",
|
|
682
|
-
"callbacks/dispatch.d.cts",
|
|
683
|
-
"callbacks/dispatch/web.cjs",
|
|
684
|
-
"callbacks/dispatch/web.js",
|
|
685
|
-
"callbacks/dispatch/web.d.ts",
|
|
686
|
-
"callbacks/dispatch/web.d.cts",
|
|
687
|
-
"callbacks/manager.cjs",
|
|
688
|
-
"callbacks/manager.js",
|
|
689
|
-
"callbacks/manager.d.ts",
|
|
690
|
-
"callbacks/manager.d.cts",
|
|
691
|
-
"callbacks/promises.cjs",
|
|
692
|
-
"callbacks/promises.js",
|
|
693
|
-
"callbacks/promises.d.ts",
|
|
694
|
-
"callbacks/promises.d.cts",
|
|
695
|
-
"chat_history.cjs",
|
|
696
|
-
"chat_history.js",
|
|
697
|
-
"chat_history.d.ts",
|
|
698
|
-
"chat_history.d.cts",
|
|
699
|
-
"context.cjs",
|
|
700
|
-
"context.js",
|
|
701
|
-
"context.d.ts",
|
|
702
|
-
"context.d.cts",
|
|
703
|
-
"documents.cjs",
|
|
704
|
-
"documents.js",
|
|
705
|
-
"documents.d.ts",
|
|
706
|
-
"documents.d.cts",
|
|
707
|
-
"document_loaders/base.cjs",
|
|
708
|
-
"document_loaders/base.js",
|
|
709
|
-
"document_loaders/base.d.ts",
|
|
710
|
-
"document_loaders/base.d.cts",
|
|
711
|
-
"document_loaders/langsmith.cjs",
|
|
712
|
-
"document_loaders/langsmith.js",
|
|
713
|
-
"document_loaders/langsmith.d.ts",
|
|
714
|
-
"document_loaders/langsmith.d.cts",
|
|
715
|
-
"embeddings.cjs",
|
|
716
|
-
"embeddings.js",
|
|
717
|
-
"embeddings.d.ts",
|
|
718
|
-
"embeddings.d.cts",
|
|
719
|
-
"example_selectors.cjs",
|
|
720
|
-
"example_selectors.js",
|
|
721
|
-
"example_selectors.d.ts",
|
|
722
|
-
"example_selectors.d.cts",
|
|
723
|
-
"indexing.cjs",
|
|
724
|
-
"indexing.js",
|
|
725
|
-
"indexing.d.ts",
|
|
726
|
-
"indexing.d.cts",
|
|
727
|
-
"language_models/base.cjs",
|
|
728
|
-
"language_models/base.js",
|
|
729
|
-
"language_models/base.d.ts",
|
|
730
|
-
"language_models/base.d.cts",
|
|
731
|
-
"language_models/chat_models.cjs",
|
|
732
|
-
"language_models/chat_models.js",
|
|
733
|
-
"language_models/chat_models.d.ts",
|
|
734
|
-
"language_models/chat_models.d.cts",
|
|
735
|
-
"language_models/llms.cjs",
|
|
736
|
-
"language_models/llms.js",
|
|
737
|
-
"language_models/llms.d.ts",
|
|
738
|
-
"language_models/llms.d.cts",
|
|
739
|
-
"load.cjs",
|
|
740
|
-
"load.js",
|
|
741
|
-
"load.d.ts",
|
|
742
|
-
"load.d.cts",
|
|
743
|
-
"load/serializable.cjs",
|
|
744
|
-
"load/serializable.js",
|
|
745
|
-
"load/serializable.d.ts",
|
|
746
|
-
"load/serializable.d.cts",
|
|
747
|
-
"memory.cjs",
|
|
748
|
-
"memory.js",
|
|
749
|
-
"memory.d.ts",
|
|
750
|
-
"memory.d.cts",
|
|
751
|
-
"messages.cjs",
|
|
752
|
-
"messages.js",
|
|
753
|
-
"messages.d.ts",
|
|
754
|
-
"messages.d.cts",
|
|
755
|
-
"messages/tool.cjs",
|
|
756
|
-
"messages/tool.js",
|
|
757
|
-
"messages/tool.d.ts",
|
|
758
|
-
"messages/tool.d.cts",
|
|
759
|
-
"output_parsers.cjs",
|
|
760
|
-
"output_parsers.js",
|
|
761
|
-
"output_parsers.d.ts",
|
|
762
|
-
"output_parsers.d.cts",
|
|
763
|
-
"output_parsers/openai_tools.cjs",
|
|
764
|
-
"output_parsers/openai_tools.js",
|
|
765
|
-
"output_parsers/openai_tools.d.ts",
|
|
766
|
-
"output_parsers/openai_tools.d.cts",
|
|
767
|
-
"output_parsers/openai_functions.cjs",
|
|
768
|
-
"output_parsers/openai_functions.js",
|
|
769
|
-
"output_parsers/openai_functions.d.ts",
|
|
770
|
-
"output_parsers/openai_functions.d.cts",
|
|
771
|
-
"outputs.cjs",
|
|
772
|
-
"outputs.js",
|
|
773
|
-
"outputs.d.ts",
|
|
774
|
-
"outputs.d.cts",
|
|
775
|
-
"prompts.cjs",
|
|
776
|
-
"prompts.js",
|
|
777
|
-
"prompts.d.ts",
|
|
778
|
-
"prompts.d.cts",
|
|
779
|
-
"prompt_values.cjs",
|
|
780
|
-
"prompt_values.js",
|
|
781
|
-
"prompt_values.d.ts",
|
|
782
|
-
"prompt_values.d.cts",
|
|
783
|
-
"runnables.cjs",
|
|
784
|
-
"runnables.js",
|
|
785
|
-
"runnables.d.ts",
|
|
786
|
-
"runnables.d.cts",
|
|
787
|
-
"runnables/graph.cjs",
|
|
788
|
-
"runnables/graph.js",
|
|
789
|
-
"runnables/graph.d.ts",
|
|
790
|
-
"runnables/graph.d.cts",
|
|
791
|
-
"runnables/remote.cjs",
|
|
792
|
-
"runnables/remote.js",
|
|
793
|
-
"runnables/remote.d.ts",
|
|
794
|
-
"runnables/remote.d.cts",
|
|
795
|
-
"retrievers.cjs",
|
|
796
|
-
"retrievers.js",
|
|
797
|
-
"retrievers.d.ts",
|
|
798
|
-
"retrievers.d.cts",
|
|
799
|
-
"retrievers/document_compressors.cjs",
|
|
800
|
-
"retrievers/document_compressors.js",
|
|
801
|
-
"retrievers/document_compressors.d.ts",
|
|
802
|
-
"retrievers/document_compressors.d.cts",
|
|
803
|
-
"singletons.cjs",
|
|
804
|
-
"singletons.js",
|
|
805
|
-
"singletons.d.ts",
|
|
806
|
-
"singletons.d.cts",
|
|
807
|
-
"stores.cjs",
|
|
808
|
-
"stores.js",
|
|
809
|
-
"stores.d.ts",
|
|
810
|
-
"stores.d.cts",
|
|
811
|
-
"structured_query.cjs",
|
|
812
|
-
"structured_query.js",
|
|
813
|
-
"structured_query.d.ts",
|
|
814
|
-
"structured_query.d.cts",
|
|
815
|
-
"tools.cjs",
|
|
816
|
-
"tools.js",
|
|
817
|
-
"tools.d.ts",
|
|
818
|
-
"tools.d.cts",
|
|
819
|
-
"tracers/base.cjs",
|
|
820
|
-
"tracers/base.js",
|
|
821
|
-
"tracers/base.d.ts",
|
|
822
|
-
"tracers/base.d.cts",
|
|
823
|
-
"tracers/console.cjs",
|
|
824
|
-
"tracers/console.js",
|
|
825
|
-
"tracers/console.d.ts",
|
|
826
|
-
"tracers/console.d.cts",
|
|
827
|
-
"tracers/initialize.cjs",
|
|
828
|
-
"tracers/initialize.js",
|
|
829
|
-
"tracers/initialize.d.ts",
|
|
830
|
-
"tracers/initialize.d.cts",
|
|
831
|
-
"tracers/log_stream.cjs",
|
|
832
|
-
"tracers/log_stream.js",
|
|
833
|
-
"tracers/log_stream.d.ts",
|
|
834
|
-
"tracers/log_stream.d.cts",
|
|
835
|
-
"tracers/run_collector.cjs",
|
|
836
|
-
"tracers/run_collector.js",
|
|
837
|
-
"tracers/run_collector.d.ts",
|
|
838
|
-
"tracers/run_collector.d.cts",
|
|
839
|
-
"tracers/tracer_langchain.cjs",
|
|
840
|
-
"tracers/tracer_langchain.js",
|
|
841
|
-
"tracers/tracer_langchain.d.ts",
|
|
842
|
-
"tracers/tracer_langchain.d.cts",
|
|
843
|
-
"tracers/tracer_langchain_v1.cjs",
|
|
844
|
-
"tracers/tracer_langchain_v1.js",
|
|
845
|
-
"tracers/tracer_langchain_v1.d.ts",
|
|
846
|
-
"tracers/tracer_langchain_v1.d.cts",
|
|
847
|
-
"types/stream.cjs",
|
|
848
|
-
"types/stream.js",
|
|
849
|
-
"types/stream.d.ts",
|
|
850
|
-
"types/stream.d.cts",
|
|
851
|
-
"utils/async_caller.cjs",
|
|
852
|
-
"utils/async_caller.js",
|
|
853
|
-
"utils/async_caller.d.ts",
|
|
854
|
-
"utils/async_caller.d.cts",
|
|
855
|
-
"utils/chunk_array.cjs",
|
|
856
|
-
"utils/chunk_array.js",
|
|
857
|
-
"utils/chunk_array.d.ts",
|
|
858
|
-
"utils/chunk_array.d.cts",
|
|
859
|
-
"utils/env.cjs",
|
|
860
|
-
"utils/env.js",
|
|
861
|
-
"utils/env.d.ts",
|
|
862
|
-
"utils/env.d.cts",
|
|
863
|
-
"utils/event_source_parse.cjs",
|
|
864
|
-
"utils/event_source_parse.js",
|
|
865
|
-
"utils/event_source_parse.d.ts",
|
|
866
|
-
"utils/event_source_parse.d.cts",
|
|
867
|
-
"utils/function_calling.cjs",
|
|
868
|
-
"utils/function_calling.js",
|
|
869
|
-
"utils/function_calling.d.ts",
|
|
870
|
-
"utils/function_calling.d.cts",
|
|
871
|
-
"utils/hash.cjs",
|
|
872
|
-
"utils/hash.js",
|
|
873
|
-
"utils/hash.d.ts",
|
|
874
|
-
"utils/hash.d.cts",
|
|
875
|
-
"utils/hash/insecure.cjs",
|
|
876
|
-
"utils/hash/insecure.js",
|
|
877
|
-
"utils/hash/insecure.d.ts",
|
|
878
|
-
"utils/hash/insecure.d.cts",
|
|
879
|
-
"utils/hash/sha256.cjs",
|
|
880
|
-
"utils/hash/sha256.js",
|
|
881
|
-
"utils/hash/sha256.d.ts",
|
|
882
|
-
"utils/hash/sha256.d.cts",
|
|
883
|
-
"utils/json_patch.cjs",
|
|
884
|
-
"utils/json_patch.js",
|
|
885
|
-
"utils/json_patch.d.ts",
|
|
886
|
-
"utils/json_patch.d.cts",
|
|
887
|
-
"utils/json_schema.cjs",
|
|
888
|
-
"utils/json_schema.js",
|
|
889
|
-
"utils/json_schema.d.ts",
|
|
890
|
-
"utils/json_schema.d.cts",
|
|
891
|
-
"utils/math.cjs",
|
|
892
|
-
"utils/math.js",
|
|
893
|
-
"utils/math.d.ts",
|
|
894
|
-
"utils/math.d.cts",
|
|
895
|
-
"utils/stream.cjs",
|
|
896
|
-
"utils/stream.js",
|
|
897
|
-
"utils/stream.d.ts",
|
|
898
|
-
"utils/stream.d.cts",
|
|
899
|
-
"utils/testing.cjs",
|
|
900
|
-
"utils/testing.js",
|
|
901
|
-
"utils/testing.d.ts",
|
|
902
|
-
"utils/testing.d.cts",
|
|
903
|
-
"utils/tiktoken.cjs",
|
|
904
|
-
"utils/tiktoken.js",
|
|
905
|
-
"utils/tiktoken.d.ts",
|
|
906
|
-
"utils/tiktoken.d.cts",
|
|
907
|
-
"utils/types.cjs",
|
|
908
|
-
"utils/types.js",
|
|
909
|
-
"utils/types.d.ts",
|
|
910
|
-
"utils/types.d.cts",
|
|
911
|
-
"vectorstores.cjs",
|
|
912
|
-
"vectorstores.js",
|
|
913
|
-
"vectorstores.d.ts",
|
|
914
|
-
"vectorstores.d.cts"
|
|
915
|
-
]
|
|
916
|
-
}
|