langchain 0.0.143 → 0.0.144
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/callbacks/handlers/llmonitor.cjs +1 -0
- package/callbacks/handlers/llmonitor.d.ts +1 -0
- package/callbacks/handlers/llmonitor.js +1 -0
- package/dist/agents/mrkl/outputParser.cjs +1 -1
- package/dist/agents/mrkl/outputParser.js +1 -1
- package/dist/base_language/index.cjs +2 -1
- package/dist/base_language/index.d.ts +7 -2
- package/dist/base_language/index.js +2 -1
- package/dist/callbacks/handlers/llmonitor.cjs +223 -0
- package/dist/callbacks/handlers/llmonitor.d.ts +35 -0
- package/dist/callbacks/handlers/llmonitor.js +215 -0
- package/dist/chains/openai_functions/extraction.d.ts +4 -4
- package/dist/chains/openai_functions/openapi.d.ts +3 -3
- package/dist/chains/openai_functions/structured_output.d.ts +5 -4
- package/dist/chains/openai_functions/tagging.d.ts +4 -4
- package/dist/chains/openai_moderation.cjs +1 -0
- package/dist/chains/openai_moderation.js +1 -0
- package/dist/chat_models/base.cjs +4 -3
- package/dist/chat_models/base.d.ts +3 -3
- package/dist/chat_models/base.js +5 -4
- package/dist/chat_models/minimax.d.ts +6 -28
- package/dist/chat_models/openai.d.ts +2 -3
- package/dist/document_loaders/fs/openai_whisper_audio.cjs +32 -0
- package/dist/document_loaders/fs/openai_whisper_audio.d.ts +11 -0
- package/dist/document_loaders/fs/openai_whisper_audio.js +28 -0
- package/dist/document_loaders/web/github.cjs +210 -24
- package/dist/document_loaders/web/github.d.ts +44 -1
- package/dist/document_loaders/web/github.js +210 -24
- package/dist/document_loaders/web/recursive_url.cjs +13 -0
- package/dist/document_loaders/web/recursive_url.js +13 -0
- package/dist/embeddings/hf_transformers.cjs +71 -0
- package/dist/embeddings/hf_transformers.d.ts +29 -0
- package/dist/embeddings/hf_transformers.js +67 -0
- package/dist/experimental/chat_models/anthropic_functions.d.ts +2 -5
- package/dist/load/import_constants.cjs +3 -0
- package/dist/load/import_constants.js +3 -0
- package/dist/prompts/chat.cjs +27 -1
- package/dist/prompts/chat.d.ts +3 -2
- package/dist/prompts/chat.js +28 -2
- package/dist/schema/index.cjs +44 -1
- package/dist/schema/index.d.ts +10 -0
- package/dist/schema/index.js +41 -0
- package/dist/tools/serpapi.cjs +108 -13
- package/dist/tools/serpapi.js +108 -13
- package/dist/vectorstores/redis.cjs +12 -4
- package/dist/vectorstores/redis.d.ts +8 -0
- package/dist/vectorstores/redis.js +12 -4
- package/dist/vectorstores/tigris.cjs +2 -0
- package/dist/vectorstores/tigris.d.ts +2 -3
- package/dist/vectorstores/tigris.js +2 -0
- package/dist/vectorstores/vectara.cjs +30 -12
- package/dist/vectorstores/vectara.d.ts +1 -1
- package/dist/vectorstores/vectara.js +30 -12
- package/document_loaders/fs/openai_whisper_audio.cjs +1 -0
- package/document_loaders/fs/openai_whisper_audio.d.ts +1 -0
- package/document_loaders/fs/openai_whisper_audio.js +1 -0
- package/embeddings/hf_transformers.cjs +1 -0
- package/embeddings/hf_transformers.d.ts +1 -0
- package/embeddings/hf_transformers.js +1 -0
- package/package.json +36 -6
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { VectorDocumentStore as VectorDocumentStoreT } from "@tigrisdata/vector";
|
|
2
1
|
import { Embeddings } from "../embeddings/base.js";
|
|
3
2
|
import { VectorStore } from "./base.js";
|
|
4
3
|
import { Document } from "../document.js";
|
|
@@ -7,14 +6,14 @@ import { Document } from "../document.js";
|
|
|
7
6
|
* TigrisVectorStore instance.
|
|
8
7
|
*/
|
|
9
8
|
export type TigrisLibArgs = {
|
|
10
|
-
index:
|
|
9
|
+
index: any;
|
|
11
10
|
};
|
|
12
11
|
/**
|
|
13
12
|
* Class for managing and operating vector search applications with
|
|
14
13
|
* Tigris, an open-source Serverless NoSQL Database and Search Platform.
|
|
15
14
|
*/
|
|
16
15
|
export declare class TigrisVectorStore extends VectorStore {
|
|
17
|
-
index?:
|
|
16
|
+
index?: any;
|
|
18
17
|
_vectorstoreType(): string;
|
|
19
18
|
constructor(embeddings: Embeddings, args: TigrisLibArgs);
|
|
20
19
|
/**
|
|
@@ -11,6 +11,7 @@ export class TigrisVectorStore extends VectorStore {
|
|
|
11
11
|
}
|
|
12
12
|
constructor(embeddings, args) {
|
|
13
13
|
super(embeddings, args);
|
|
14
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
14
15
|
Object.defineProperty(this, "index", {
|
|
15
16
|
enumerable: true,
|
|
16
17
|
configurable: true,
|
|
@@ -72,6 +73,7 @@ export class TigrisVectorStore extends VectorStore {
|
|
|
72
73
|
if (!result) {
|
|
73
74
|
return [];
|
|
74
75
|
}
|
|
76
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
75
77
|
return result.map(([document, score]) => [
|
|
76
78
|
new Document({
|
|
77
79
|
pageContent: document.content,
|
|
@@ -72,11 +72,26 @@ class VectaraStore extends base_js_1.VectorStore {
|
|
|
72
72
|
throw new Error("Vectara api key is not provided.");
|
|
73
73
|
}
|
|
74
74
|
this.apiKey = apiKey;
|
|
75
|
-
const corpusId = args.corpusId ??
|
|
75
|
+
const corpusId = args.corpusId ??
|
|
76
|
+
(0, env_js_1.getEnvironmentVariable)("VECTARA_CORPUS_ID")
|
|
77
|
+
?.split(",")
|
|
78
|
+
.map((id) => {
|
|
79
|
+
const num = Number(id);
|
|
80
|
+
if (Number.isNaN(num))
|
|
81
|
+
throw new Error("Vectara corpus id is not a number.");
|
|
82
|
+
return num;
|
|
83
|
+
});
|
|
76
84
|
if (!corpusId) {
|
|
77
85
|
throw new Error("Vectara corpus id is not provided.");
|
|
78
86
|
}
|
|
79
|
-
|
|
87
|
+
if (typeof corpusId === "number") {
|
|
88
|
+
this.corpusId = [corpusId];
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
if (corpusId.length === 0)
|
|
92
|
+
throw new Error("Vectara corpus id is not provided.");
|
|
93
|
+
this.corpusId = corpusId;
|
|
94
|
+
}
|
|
80
95
|
const customerId = args.customerId ?? (0, env_js_1.getEnvironmentVariable)("VECTARA_CUSTOMER_ID");
|
|
81
96
|
if (!customerId) {
|
|
82
97
|
throw new Error("Vectara customer id is not provided.");
|
|
@@ -113,12 +128,14 @@ class VectaraStore extends base_js_1.VectorStore {
|
|
|
113
128
|
* @returns A Promise that resolves when the documents have been added.
|
|
114
129
|
*/
|
|
115
130
|
async addDocuments(documents) {
|
|
131
|
+
if (this.corpusId.length > 1)
|
|
132
|
+
throw new Error("addDocuments does not support multiple corpus ids");
|
|
116
133
|
const headers = await this.getJsonHeader();
|
|
117
134
|
let countAdded = 0;
|
|
118
135
|
for (const [index, document] of documents.entries()) {
|
|
119
136
|
const data = {
|
|
120
137
|
customer_id: this.customerId,
|
|
121
|
-
corpus_id: this.corpusId,
|
|
138
|
+
corpus_id: this.corpusId[0],
|
|
122
139
|
document: {
|
|
123
140
|
document_id: document.metadata?.document_id ?? `${Date.now()}${index}`,
|
|
124
141
|
title: document.metadata?.title ?? "",
|
|
@@ -173,6 +190,8 @@ class VectaraStore extends base_js_1.VectorStore {
|
|
|
173
190
|
* @returns A Promise that resolves to the number of successfully uploaded files.
|
|
174
191
|
*/
|
|
175
192
|
async addFiles(filePaths, metadatas = undefined) {
|
|
193
|
+
if (this.corpusId.length > 1)
|
|
194
|
+
throw new Error("addFiles does not support multiple corpus ids");
|
|
176
195
|
let numDocs = 0;
|
|
177
196
|
for (const [index, fileBlob] of filePaths.entries()) {
|
|
178
197
|
const md = metadatas ? metadatas[index] : {};
|
|
@@ -180,7 +199,7 @@ class VectaraStore extends base_js_1.VectorStore {
|
|
|
180
199
|
data.append("file", fileBlob, `file_${index}`);
|
|
181
200
|
data.append("doc-metadata", JSON.stringify(md));
|
|
182
201
|
try {
|
|
183
|
-
const response = await fetch(`https://api.vectara.io/v1/upload?c=${this.customerId}&o=${this.corpusId}`, {
|
|
202
|
+
const response = await fetch(`https://api.vectara.io/v1/upload?c=${this.customerId}&o=${this.corpusId[0]}`, {
|
|
184
203
|
method: "POST",
|
|
185
204
|
headers: {
|
|
186
205
|
"x-api-key": this.apiKey,
|
|
@@ -215,6 +234,12 @@ class VectaraStore extends base_js_1.VectorStore {
|
|
|
215
234
|
*/
|
|
216
235
|
async similaritySearchWithScore(query, k = 10, filter = undefined) {
|
|
217
236
|
const headers = await this.getJsonHeader();
|
|
237
|
+
const corpusKeys = this.corpusId.map((corpusId) => ({
|
|
238
|
+
customerId: this.customerId,
|
|
239
|
+
corpusId,
|
|
240
|
+
metadataFilter: filter?.filter ?? "",
|
|
241
|
+
lexicalInterpolationConfig: { lambda: filter?.lambda ?? 0.025 },
|
|
242
|
+
}));
|
|
218
243
|
const data = {
|
|
219
244
|
query: [
|
|
220
245
|
{
|
|
@@ -224,14 +249,7 @@ class VectaraStore extends base_js_1.VectorStore {
|
|
|
224
249
|
sentencesAfter: filter?.contextConfig?.sentencesAfter ?? 2,
|
|
225
250
|
sentencesBefore: filter?.contextConfig?.sentencesBefore ?? 2,
|
|
226
251
|
},
|
|
227
|
-
corpusKey:
|
|
228
|
-
{
|
|
229
|
-
customerId: this.customerId,
|
|
230
|
-
corpusId: this.corpusId,
|
|
231
|
-
metadataFilter: filter?.filter ?? "",
|
|
232
|
-
lexicalInterpolationConfig: { lambda: filter?.lambda ?? 0.025 },
|
|
233
|
-
},
|
|
234
|
-
],
|
|
252
|
+
corpusKey: corpusKeys,
|
|
235
253
|
},
|
|
236
254
|
],
|
|
237
255
|
};
|
|
@@ -69,11 +69,26 @@ export class VectaraStore extends VectorStore {
|
|
|
69
69
|
throw new Error("Vectara api key is not provided.");
|
|
70
70
|
}
|
|
71
71
|
this.apiKey = apiKey;
|
|
72
|
-
const corpusId = args.corpusId ??
|
|
72
|
+
const corpusId = args.corpusId ??
|
|
73
|
+
getEnvironmentVariable("VECTARA_CORPUS_ID")
|
|
74
|
+
?.split(",")
|
|
75
|
+
.map((id) => {
|
|
76
|
+
const num = Number(id);
|
|
77
|
+
if (Number.isNaN(num))
|
|
78
|
+
throw new Error("Vectara corpus id is not a number.");
|
|
79
|
+
return num;
|
|
80
|
+
});
|
|
73
81
|
if (!corpusId) {
|
|
74
82
|
throw new Error("Vectara corpus id is not provided.");
|
|
75
83
|
}
|
|
76
|
-
|
|
84
|
+
if (typeof corpusId === "number") {
|
|
85
|
+
this.corpusId = [corpusId];
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
if (corpusId.length === 0)
|
|
89
|
+
throw new Error("Vectara corpus id is not provided.");
|
|
90
|
+
this.corpusId = corpusId;
|
|
91
|
+
}
|
|
77
92
|
const customerId = args.customerId ?? getEnvironmentVariable("VECTARA_CUSTOMER_ID");
|
|
78
93
|
if (!customerId) {
|
|
79
94
|
throw new Error("Vectara customer id is not provided.");
|
|
@@ -110,12 +125,14 @@ export class VectaraStore extends VectorStore {
|
|
|
110
125
|
* @returns A Promise that resolves when the documents have been added.
|
|
111
126
|
*/
|
|
112
127
|
async addDocuments(documents) {
|
|
128
|
+
if (this.corpusId.length > 1)
|
|
129
|
+
throw new Error("addDocuments does not support multiple corpus ids");
|
|
113
130
|
const headers = await this.getJsonHeader();
|
|
114
131
|
let countAdded = 0;
|
|
115
132
|
for (const [index, document] of documents.entries()) {
|
|
116
133
|
const data = {
|
|
117
134
|
customer_id: this.customerId,
|
|
118
|
-
corpus_id: this.corpusId,
|
|
135
|
+
corpus_id: this.corpusId[0],
|
|
119
136
|
document: {
|
|
120
137
|
document_id: document.metadata?.document_id ?? `${Date.now()}${index}`,
|
|
121
138
|
title: document.metadata?.title ?? "",
|
|
@@ -170,6 +187,8 @@ export class VectaraStore extends VectorStore {
|
|
|
170
187
|
* @returns A Promise that resolves to the number of successfully uploaded files.
|
|
171
188
|
*/
|
|
172
189
|
async addFiles(filePaths, metadatas = undefined) {
|
|
190
|
+
if (this.corpusId.length > 1)
|
|
191
|
+
throw new Error("addFiles does not support multiple corpus ids");
|
|
173
192
|
let numDocs = 0;
|
|
174
193
|
for (const [index, fileBlob] of filePaths.entries()) {
|
|
175
194
|
const md = metadatas ? metadatas[index] : {};
|
|
@@ -177,7 +196,7 @@ export class VectaraStore extends VectorStore {
|
|
|
177
196
|
data.append("file", fileBlob, `file_${index}`);
|
|
178
197
|
data.append("doc-metadata", JSON.stringify(md));
|
|
179
198
|
try {
|
|
180
|
-
const response = await fetch(`https://api.vectara.io/v1/upload?c=${this.customerId}&o=${this.corpusId}`, {
|
|
199
|
+
const response = await fetch(`https://api.vectara.io/v1/upload?c=${this.customerId}&o=${this.corpusId[0]}`, {
|
|
181
200
|
method: "POST",
|
|
182
201
|
headers: {
|
|
183
202
|
"x-api-key": this.apiKey,
|
|
@@ -212,6 +231,12 @@ export class VectaraStore extends VectorStore {
|
|
|
212
231
|
*/
|
|
213
232
|
async similaritySearchWithScore(query, k = 10, filter = undefined) {
|
|
214
233
|
const headers = await this.getJsonHeader();
|
|
234
|
+
const corpusKeys = this.corpusId.map((corpusId) => ({
|
|
235
|
+
customerId: this.customerId,
|
|
236
|
+
corpusId,
|
|
237
|
+
metadataFilter: filter?.filter ?? "",
|
|
238
|
+
lexicalInterpolationConfig: { lambda: filter?.lambda ?? 0.025 },
|
|
239
|
+
}));
|
|
215
240
|
const data = {
|
|
216
241
|
query: [
|
|
217
242
|
{
|
|
@@ -221,14 +246,7 @@ export class VectaraStore extends VectorStore {
|
|
|
221
246
|
sentencesAfter: filter?.contextConfig?.sentencesAfter ?? 2,
|
|
222
247
|
sentencesBefore: filter?.contextConfig?.sentencesBefore ?? 2,
|
|
223
248
|
},
|
|
224
|
-
corpusKey:
|
|
225
|
-
{
|
|
226
|
-
customerId: this.customerId,
|
|
227
|
-
corpusId: this.corpusId,
|
|
228
|
-
metadataFilter: filter?.filter ?? "",
|
|
229
|
-
lexicalInterpolationConfig: { lambda: filter?.lambda ?? 0.025 },
|
|
230
|
-
},
|
|
231
|
-
],
|
|
249
|
+
corpusKey: corpusKeys,
|
|
232
250
|
},
|
|
233
251
|
],
|
|
234
252
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../dist/document_loaders/fs/openai_whisper_audio.cjs');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/fs/openai_whisper_audio.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/fs/openai_whisper_audio.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../dist/embeddings/hf_transformers.cjs');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/embeddings/hf_transformers.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/embeddings/hf_transformers.js'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "langchain",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.144",
|
|
4
4
|
"description": "Typescript bindings for langchain",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -94,6 +94,9 @@
|
|
|
94
94
|
"embeddings/hf.cjs",
|
|
95
95
|
"embeddings/hf.js",
|
|
96
96
|
"embeddings/hf.d.ts",
|
|
97
|
+
"embeddings/hf_transformers.cjs",
|
|
98
|
+
"embeddings/hf_transformers.js",
|
|
99
|
+
"embeddings/hf_transformers.d.ts",
|
|
97
100
|
"embeddings/googlevertexai.cjs",
|
|
98
101
|
"embeddings/googlevertexai.js",
|
|
99
102
|
"embeddings/googlevertexai.d.ts",
|
|
@@ -364,6 +367,9 @@
|
|
|
364
367
|
"document_loaders/fs/unstructured.cjs",
|
|
365
368
|
"document_loaders/fs/unstructured.js",
|
|
366
369
|
"document_loaders/fs/unstructured.d.ts",
|
|
370
|
+
"document_loaders/fs/openai_whisper_audio.cjs",
|
|
371
|
+
"document_loaders/fs/openai_whisper_audio.js",
|
|
372
|
+
"document_loaders/fs/openai_whisper_audio.d.ts",
|
|
367
373
|
"document_transformers/html_to_text.cjs",
|
|
368
374
|
"document_transformers/html_to_text.js",
|
|
369
375
|
"document_transformers/html_to_text.d.ts",
|
|
@@ -427,6 +433,9 @@
|
|
|
427
433
|
"callbacks.cjs",
|
|
428
434
|
"callbacks.js",
|
|
429
435
|
"callbacks.d.ts",
|
|
436
|
+
"callbacks/handlers/llmonitor.cjs",
|
|
437
|
+
"callbacks/handlers/llmonitor.js",
|
|
438
|
+
"callbacks/handlers/llmonitor.d.ts",
|
|
430
439
|
"output_parsers.cjs",
|
|
431
440
|
"output_parsers.js",
|
|
432
441
|
"output_parsers.d.ts",
|
|
@@ -655,7 +664,6 @@
|
|
|
655
664
|
"@tensorflow/tfjs-backend-cpu": "^4.4.0",
|
|
656
665
|
"@tensorflow/tfjs-converter": "^4.4.0",
|
|
657
666
|
"@tensorflow/tfjs-core": "^4.4.0",
|
|
658
|
-
"@tigrisdata/vector": "^1.1.0",
|
|
659
667
|
"@tsconfig/recommended": "^1.0.2",
|
|
660
668
|
"@types/d3-dsv": "^2",
|
|
661
669
|
"@types/decamelize": "^1.2.0",
|
|
@@ -674,6 +682,7 @@
|
|
|
674
682
|
"@upstash/redis": "^1.20.6",
|
|
675
683
|
"@writerai/writer-sdk": "^0.40.2",
|
|
676
684
|
"@xata.io/client": "^0.25.1",
|
|
685
|
+
"@xenova/transformers": "^2.5.4",
|
|
677
686
|
"@zilliz/milvus2-sdk-node": ">=2.2.11",
|
|
678
687
|
"apify-client": "^2.7.1",
|
|
679
688
|
"axios": "^0.26.0",
|
|
@@ -700,7 +709,9 @@
|
|
|
700
709
|
"ignore": "^5.2.0",
|
|
701
710
|
"ioredis": "^5.3.2",
|
|
702
711
|
"jest": "^29.5.0",
|
|
712
|
+
"jest-environment-node": "^29.6.4",
|
|
703
713
|
"jsdom": "^22.1.0",
|
|
714
|
+
"llmonitor": "^0.5.4",
|
|
704
715
|
"mammoth": "^1.5.1",
|
|
705
716
|
"ml-matrix": "^6.10.4",
|
|
706
717
|
"mongodb": "^5.2.0",
|
|
@@ -767,10 +778,10 @@
|
|
|
767
778
|
"@tensorflow-models/universal-sentence-encoder": "*",
|
|
768
779
|
"@tensorflow/tfjs-converter": "*",
|
|
769
780
|
"@tensorflow/tfjs-core": "*",
|
|
770
|
-
"@tigrisdata/vector": "^1.1.0",
|
|
771
781
|
"@upstash/redis": "^1.20.6",
|
|
772
782
|
"@writerai/writer-sdk": "^0.40.2",
|
|
773
783
|
"@xata.io/client": "^0.25.1",
|
|
784
|
+
"@xenova/transformers": "^2.5.4",
|
|
774
785
|
"@zilliz/milvus2-sdk-node": ">=2.2.7",
|
|
775
786
|
"apify-client": "^2.7.1",
|
|
776
787
|
"axios": "*",
|
|
@@ -788,6 +799,7 @@
|
|
|
788
799
|
"ignore": "^5.2.0",
|
|
789
800
|
"ioredis": "^5.3.2",
|
|
790
801
|
"jsdom": "*",
|
|
802
|
+
"llmonitor": "^0.5.4",
|
|
791
803
|
"mammoth": "*",
|
|
792
804
|
"mongodb": "^5.2.0",
|
|
793
805
|
"mysql2": "^3.3.3",
|
|
@@ -912,9 +924,6 @@
|
|
|
912
924
|
"@tensorflow/tfjs-core": {
|
|
913
925
|
"optional": true
|
|
914
926
|
},
|
|
915
|
-
"@tigrisdata/vector": {
|
|
916
|
-
"optional": true
|
|
917
|
-
},
|
|
918
927
|
"@upstash/redis": {
|
|
919
928
|
"optional": true
|
|
920
929
|
},
|
|
@@ -924,6 +933,9 @@
|
|
|
924
933
|
"@xata.io/client": {
|
|
925
934
|
"optional": true
|
|
926
935
|
},
|
|
936
|
+
"@xenova/transformers": {
|
|
937
|
+
"optional": true
|
|
938
|
+
},
|
|
927
939
|
"@zilliz/milvus2-sdk-node": {
|
|
928
940
|
"optional": true
|
|
929
941
|
},
|
|
@@ -975,6 +987,9 @@
|
|
|
975
987
|
"jsdom": {
|
|
976
988
|
"optional": true
|
|
977
989
|
},
|
|
990
|
+
"llmonitor": {
|
|
991
|
+
"optional": true
|
|
992
|
+
},
|
|
978
993
|
"mammoth": {
|
|
979
994
|
"optional": true
|
|
980
995
|
},
|
|
@@ -1234,6 +1249,11 @@
|
|
|
1234
1249
|
"import": "./embeddings/hf.js",
|
|
1235
1250
|
"require": "./embeddings/hf.cjs"
|
|
1236
1251
|
},
|
|
1252
|
+
"./embeddings/hf_transformers": {
|
|
1253
|
+
"types": "./embeddings/hf_transformers.d.ts",
|
|
1254
|
+
"import": "./embeddings/hf_transformers.js",
|
|
1255
|
+
"require": "./embeddings/hf_transformers.cjs"
|
|
1256
|
+
},
|
|
1237
1257
|
"./embeddings/googlevertexai": {
|
|
1238
1258
|
"types": "./embeddings/googlevertexai.d.ts",
|
|
1239
1259
|
"import": "./embeddings/googlevertexai.js",
|
|
@@ -1690,6 +1710,11 @@
|
|
|
1690
1710
|
"import": "./document_loaders/fs/unstructured.js",
|
|
1691
1711
|
"require": "./document_loaders/fs/unstructured.cjs"
|
|
1692
1712
|
},
|
|
1713
|
+
"./document_loaders/fs/openai_whisper_audio": {
|
|
1714
|
+
"types": "./document_loaders/fs/openai_whisper_audio.d.ts",
|
|
1715
|
+
"import": "./document_loaders/fs/openai_whisper_audio.js",
|
|
1716
|
+
"require": "./document_loaders/fs/openai_whisper_audio.cjs"
|
|
1717
|
+
},
|
|
1693
1718
|
"./document_transformers/html_to_text": {
|
|
1694
1719
|
"types": "./document_transformers/html_to_text.d.ts",
|
|
1695
1720
|
"import": "./document_transformers/html_to_text.js",
|
|
@@ -1797,6 +1822,11 @@
|
|
|
1797
1822
|
"import": "./callbacks.js",
|
|
1798
1823
|
"require": "./callbacks.cjs"
|
|
1799
1824
|
},
|
|
1825
|
+
"./callbacks/handlers/llmonitor": {
|
|
1826
|
+
"types": "./callbacks/handlers/llmonitor.d.ts",
|
|
1827
|
+
"import": "./callbacks/handlers/llmonitor.js",
|
|
1828
|
+
"require": "./callbacks/handlers/llmonitor.cjs"
|
|
1829
|
+
},
|
|
1800
1830
|
"./output_parsers": {
|
|
1801
1831
|
"types": "./output_parsers.d.ts",
|
|
1802
1832
|
"import": "./output_parsers.js",
|