langchain 0.0.154 → 0.0.155
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/dist/callbacks/base.d.ts +42 -28
- package/dist/callbacks/handlers/log_stream.cjs +283 -0
- package/dist/callbacks/handlers/log_stream.d.ts +99 -0
- package/dist/callbacks/handlers/log_stream.js +277 -0
- package/dist/callbacks/handlers/tracer.cjs +34 -18
- package/dist/callbacks/handlers/tracer.d.ts +18 -16
- package/dist/callbacks/handlers/tracer.js +34 -18
- package/dist/document_loaders/web/notionapi.cjs +8 -4
- package/dist/document_loaders/web/notionapi.js +8 -4
- package/dist/document_loaders/web/searchapi.cjs +134 -0
- package/dist/document_loaders/web/searchapi.d.ts +65 -0
- package/dist/document_loaders/web/searchapi.js +130 -0
- package/dist/load/import_constants.cjs +1 -0
- package/dist/load/import_constants.js +1 -0
- package/dist/load/import_map.cjs +3 -2
- package/dist/load/import_map.d.ts +1 -0
- package/dist/load/import_map.js +1 -0
- package/dist/schema/runnable/base.cjs +64 -5
- package/dist/schema/runnable/base.d.ts +13 -0
- package/dist/schema/runnable/base.js +64 -5
- package/dist/tools/index.cjs +3 -1
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/index.js +1 -0
- package/dist/tools/searchapi.cjs +139 -0
- package/dist/tools/searchapi.d.ts +64 -0
- package/dist/tools/searchapi.js +135 -0
- package/dist/util/fast-json-patch/index.cjs +48 -0
- package/dist/util/fast-json-patch/index.d.ts +21 -0
- package/dist/util/fast-json-patch/index.js +15 -0
- package/dist/util/fast-json-patch/src/core.cjs +469 -0
- package/dist/util/fast-json-patch/src/core.d.ts +111 -0
- package/dist/util/fast-json-patch/src/core.js +459 -0
- package/dist/util/fast-json-patch/src/helpers.cjs +194 -0
- package/dist/util/fast-json-patch/src/helpers.d.ts +36 -0
- package/dist/util/fast-json-patch/src/helpers.js +181 -0
- package/dist/util/googlevertexai-webauth.cjs +6 -2
- package/dist/util/googlevertexai-webauth.d.ts +1 -0
- package/dist/util/googlevertexai-webauth.js +6 -2
- package/dist/util/stream.cjs +2 -40
- package/dist/util/stream.d.ts +1 -2
- package/dist/util/stream.js +1 -38
- package/dist/vectorstores/pgvector.cjs +1 -1
- package/dist/vectorstores/pgvector.js +1 -1
- package/dist/vectorstores/vercel_postgres.cjs +300 -0
- package/dist/vectorstores/vercel_postgres.d.ts +145 -0
- package/dist/vectorstores/vercel_postgres.js +296 -0
- package/document_loaders/web/searchapi.cjs +1 -0
- package/document_loaders/web/searchapi.d.ts +1 -0
- package/document_loaders/web/searchapi.js +1 -0
- package/package.json +22 -1
- package/vectorstores/vercel_postgres.cjs +1 -0
- package/vectorstores/vercel_postgres.d.ts +1 -0
- package/vectorstores/vercel_postgres.js +1 -0
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
import { createPool, } from "@vercel/postgres";
|
|
2
|
+
import { VectorStore } from "./base.js";
|
|
3
|
+
import { Document } from "../document.js";
|
|
4
|
+
import { getEnvironmentVariable } from "../util/env.js";
|
|
5
|
+
/**
|
|
6
|
+
* Class that provides an interface to a Vercel Postgres vector database. It
|
|
7
|
+
* extends the `VectorStore` base class and implements methods for adding
|
|
8
|
+
* documents and vectors and performing similarity searches.
|
|
9
|
+
*/
|
|
10
|
+
export class VercelPostgres extends VectorStore {
|
|
11
|
+
_vectorstoreType() {
|
|
12
|
+
return "vercel";
|
|
13
|
+
}
|
|
14
|
+
constructor(embeddings, config) {
|
|
15
|
+
super(embeddings, config);
|
|
16
|
+
Object.defineProperty(this, "tableName", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
configurable: true,
|
|
19
|
+
writable: true,
|
|
20
|
+
value: void 0
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(this, "idColumnName", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
configurable: true,
|
|
25
|
+
writable: true,
|
|
26
|
+
value: void 0
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(this, "vectorColumnName", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
configurable: true,
|
|
31
|
+
writable: true,
|
|
32
|
+
value: void 0
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(this, "contentColumnName", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
configurable: true,
|
|
37
|
+
writable: true,
|
|
38
|
+
value: void 0
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(this, "metadataColumnName", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
configurable: true,
|
|
43
|
+
writable: true,
|
|
44
|
+
value: void 0
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(this, "filter", {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
configurable: true,
|
|
49
|
+
writable: true,
|
|
50
|
+
value: void 0
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(this, "_verbose", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
configurable: true,
|
|
55
|
+
writable: true,
|
|
56
|
+
value: void 0
|
|
57
|
+
});
|
|
58
|
+
Object.defineProperty(this, "pool", {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
configurable: true,
|
|
61
|
+
writable: true,
|
|
62
|
+
value: void 0
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(this, "client", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
configurable: true,
|
|
67
|
+
writable: true,
|
|
68
|
+
value: void 0
|
|
69
|
+
});
|
|
70
|
+
this.tableName = config.tableName ?? "langchain_vectors";
|
|
71
|
+
this.filter = config.filter;
|
|
72
|
+
this.vectorColumnName = config.columns?.vectorColumnName ?? "embedding";
|
|
73
|
+
this.contentColumnName = config.columns?.contentColumnName ?? "text";
|
|
74
|
+
this.idColumnName = config.columns?.idColumnName ?? "id";
|
|
75
|
+
this.metadataColumnName = config.columns?.metadataColumnName ?? "metadata";
|
|
76
|
+
this.pool = config.pool;
|
|
77
|
+
this.client = config.client;
|
|
78
|
+
this._verbose =
|
|
79
|
+
getEnvironmentVariable("LANGCHAIN_VERBOSE") === "true" ??
|
|
80
|
+
!!config.verbose;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Static method to create a new `VercelPostgres` instance from a
|
|
84
|
+
* connection. It creates a table if one does not exist, and calls
|
|
85
|
+
* `connect` to return a new instance of `VercelPostgres`.
|
|
86
|
+
*
|
|
87
|
+
* @param embeddings - Embeddings instance.
|
|
88
|
+
* @param fields - `VercelPostgres` configuration options.
|
|
89
|
+
* @returns A new instance of `VercelPostgres`.
|
|
90
|
+
*/
|
|
91
|
+
static async initialize(embeddings, config) {
|
|
92
|
+
// Default maxUses to 1 for edge environments:
|
|
93
|
+
// https://github.com/vercel/storage/tree/main/packages/postgres#a-note-on-edge-environments
|
|
94
|
+
const pool = config?.pool ??
|
|
95
|
+
createPool({ maxUses: 1, ...config?.postgresConnectionOptions });
|
|
96
|
+
const client = config?.client ?? (await pool.connect());
|
|
97
|
+
const postgresqlVectorStore = new VercelPostgres(embeddings, {
|
|
98
|
+
...config,
|
|
99
|
+
pool,
|
|
100
|
+
client,
|
|
101
|
+
});
|
|
102
|
+
await postgresqlVectorStore.ensureTableInDatabase();
|
|
103
|
+
return postgresqlVectorStore;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Method to add documents to the vector store. It converts the documents into
|
|
107
|
+
* vectors, and adds them to the store.
|
|
108
|
+
*
|
|
109
|
+
* @param documents - Array of `Document` instances.
|
|
110
|
+
* @returns Promise that resolves when the documents have been added.
|
|
111
|
+
*/
|
|
112
|
+
async addDocuments(documents, options) {
|
|
113
|
+
const texts = documents.map(({ pageContent }) => pageContent);
|
|
114
|
+
return this.addVectors(await this.embeddings.embedDocuments(texts), documents, options);
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Generates the SQL placeholders for a specific row at the provided index.
|
|
118
|
+
*
|
|
119
|
+
* @param index - The index of the row for which placeholders need to be generated.
|
|
120
|
+
* @returns The SQL placeholders for the row values.
|
|
121
|
+
*/
|
|
122
|
+
generatePlaceholderForRowAt(
|
|
123
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
124
|
+
row, index) {
|
|
125
|
+
const base = index * row.length;
|
|
126
|
+
return `(${row.map((_, j) => `$${base + 1 + j}`)})`;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Constructs the SQL query for inserting rows into the specified table.
|
|
130
|
+
*
|
|
131
|
+
* @param rows - The rows of data to be inserted, consisting of values and records.
|
|
132
|
+
* @param chunkIndex - The starting index for generating query placeholders based on chunk positioning.
|
|
133
|
+
* @returns The complete SQL INSERT INTO query string.
|
|
134
|
+
*/
|
|
135
|
+
async runInsertQuery(
|
|
136
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
137
|
+
rows, useIdColumn) {
|
|
138
|
+
const values = rows.map((row, j) => this.generatePlaceholderForRowAt(row, j));
|
|
139
|
+
const flatValues = rows.flat();
|
|
140
|
+
return this.client.query(`
|
|
141
|
+
INSERT INTO ${this.tableName} (
|
|
142
|
+
${useIdColumn ? `${this.idColumnName},` : ""}
|
|
143
|
+
${this.contentColumnName},
|
|
144
|
+
${this.vectorColumnName},
|
|
145
|
+
${this.metadataColumnName}
|
|
146
|
+
) VALUES ${values.join(", ")}
|
|
147
|
+
ON CONFLICT (${this.idColumnName})
|
|
148
|
+
DO UPDATE
|
|
149
|
+
SET
|
|
150
|
+
${this.contentColumnName} = EXCLUDED.${this.contentColumnName},
|
|
151
|
+
${this.vectorColumnName} = EXCLUDED.${this.vectorColumnName},
|
|
152
|
+
${this.metadataColumnName} = EXCLUDED.${this.metadataColumnName}
|
|
153
|
+
RETURNING ${this.idColumnName}`, flatValues);
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Method to add vectors to the vector store. It converts the vectors into
|
|
157
|
+
* rows and inserts them into the database.
|
|
158
|
+
*
|
|
159
|
+
* @param vectors - Array of vectors.
|
|
160
|
+
* @param documents - Array of `Document` instances.
|
|
161
|
+
* @returns Promise that resolves when the vectors have been added.
|
|
162
|
+
*/
|
|
163
|
+
async addVectors(vectors, documents, options) {
|
|
164
|
+
if (options?.ids !== undefined && options?.ids.length !== vectors.length) {
|
|
165
|
+
throw new Error(`If provided, the length of "ids" must be the same as the number of vectors.`);
|
|
166
|
+
}
|
|
167
|
+
const rows = vectors.map((embedding, idx) => {
|
|
168
|
+
const embeddingString = `[${embedding.join(",")}]`;
|
|
169
|
+
const row = [
|
|
170
|
+
documents[idx].pageContent,
|
|
171
|
+
embeddingString,
|
|
172
|
+
documents[idx].metadata,
|
|
173
|
+
];
|
|
174
|
+
if (options?.ids) {
|
|
175
|
+
return [options.ids[idx], ...row];
|
|
176
|
+
}
|
|
177
|
+
return row;
|
|
178
|
+
});
|
|
179
|
+
const chunkSize = 500;
|
|
180
|
+
const ids = [];
|
|
181
|
+
for (let i = 0; i < rows.length; i += chunkSize) {
|
|
182
|
+
const chunk = rows.slice(i, i + chunkSize);
|
|
183
|
+
try {
|
|
184
|
+
const result = await this.runInsertQuery(chunk, options?.ids !== undefined);
|
|
185
|
+
ids.push(...result.rows.map((row) => row[this.idColumnName]));
|
|
186
|
+
}
|
|
187
|
+
catch (e) {
|
|
188
|
+
console.error(e);
|
|
189
|
+
throw new Error(`Error inserting: ${e.message}`);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
return ids;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Method to perform a similarity search in the vector store. It returns
|
|
196
|
+
* the `k` most similar documents to the query vector, along with their
|
|
197
|
+
* similarity scores.
|
|
198
|
+
*
|
|
199
|
+
* @param query - Query vector.
|
|
200
|
+
* @param k - Number of most similar documents to return.
|
|
201
|
+
* @param filter - Optional filter to apply to the search.
|
|
202
|
+
* @returns Promise that resolves with an array of tuples, each containing a `Document` and its similarity score.
|
|
203
|
+
*/
|
|
204
|
+
async similaritySearchVectorWithScore(query, k, filter) {
|
|
205
|
+
const embeddingString = `[${query.join(",")}]`;
|
|
206
|
+
const _filter = filter ?? "{}";
|
|
207
|
+
const queryString = `
|
|
208
|
+
SELECT *, ${this.vectorColumnName} <=> $1 as "_distance"
|
|
209
|
+
FROM ${this.tableName}
|
|
210
|
+
WHERE ${this.metadataColumnName} @> $2
|
|
211
|
+
ORDER BY "_distance" ASC
|
|
212
|
+
LIMIT $3;`;
|
|
213
|
+
const documents = (await this.client.query(queryString, [embeddingString, _filter, k])).rows;
|
|
214
|
+
const results = [];
|
|
215
|
+
for (const doc of documents) {
|
|
216
|
+
if (doc._distance != null && doc[this.contentColumnName] != null) {
|
|
217
|
+
const document = new Document({
|
|
218
|
+
pageContent: doc[this.contentColumnName],
|
|
219
|
+
metadata: doc[this.metadataColumnName],
|
|
220
|
+
});
|
|
221
|
+
results.push([document, doc._distance]);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
return results;
|
|
225
|
+
}
|
|
226
|
+
async delete(params) {
|
|
227
|
+
if (params.ids !== undefined) {
|
|
228
|
+
await this.client.query(`DELETE FROM ${this.tableName} WHERE ${this.idColumnName} IN (${params.ids.map((_, idx) => `$${idx + 1}`)})`, params.ids);
|
|
229
|
+
}
|
|
230
|
+
else if (params.deleteAll) {
|
|
231
|
+
await this.client.query(`TRUNCATE TABLE ${this.tableName}`);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Method to ensure the existence of the table in the database. It creates
|
|
236
|
+
* the table if it does not already exist.
|
|
237
|
+
*
|
|
238
|
+
* @returns Promise that resolves when the table has been ensured.
|
|
239
|
+
*/
|
|
240
|
+
async ensureTableInDatabase() {
|
|
241
|
+
await this.client.query(`CREATE EXTENSION IF NOT EXISTS vector;`);
|
|
242
|
+
await this.client.query(`CREATE EXTENSION IF NOT EXISTS "uuid-ossp";`);
|
|
243
|
+
await this.client.query(`CREATE TABLE IF NOT EXISTS "${this.tableName}" (
|
|
244
|
+
"${this.idColumnName}" uuid NOT NULL DEFAULT uuid_generate_v4() PRIMARY KEY,
|
|
245
|
+
"${this.contentColumnName}" text,
|
|
246
|
+
"${this.metadataColumnName}" jsonb,
|
|
247
|
+
"${this.vectorColumnName}" vector
|
|
248
|
+
);`);
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Static method to create a new `VercelPostgres` instance from an
|
|
252
|
+
* array of texts and their metadata. It converts the texts into
|
|
253
|
+
* `Document` instances and adds them to the store.
|
|
254
|
+
*
|
|
255
|
+
* @param texts - Array of texts.
|
|
256
|
+
* @param metadatas - Array of metadata objects or a single metadata object.
|
|
257
|
+
* @param embeddings - Embeddings instance.
|
|
258
|
+
* @param fields - `VercelPostgres` configuration options.
|
|
259
|
+
* @returns Promise that resolves with a new instance of `VercelPostgres`.
|
|
260
|
+
*/
|
|
261
|
+
static async fromTexts(texts, metadatas, embeddings, dbConfig) {
|
|
262
|
+
const docs = [];
|
|
263
|
+
for (let i = 0; i < texts.length; i += 1) {
|
|
264
|
+
const metadata = Array.isArray(metadatas) ? metadatas[i] : metadatas;
|
|
265
|
+
const newDoc = new Document({
|
|
266
|
+
pageContent: texts[i],
|
|
267
|
+
metadata,
|
|
268
|
+
});
|
|
269
|
+
docs.push(newDoc);
|
|
270
|
+
}
|
|
271
|
+
return this.fromDocuments(docs, embeddings, dbConfig);
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Static method to create a new `VercelPostgres` instance from an
|
|
275
|
+
* array of `Document` instances. It adds the documents to the store.
|
|
276
|
+
*
|
|
277
|
+
* @param docs - Array of `Document` instances.
|
|
278
|
+
* @param embeddings - Embeddings instance.
|
|
279
|
+
* @param fields - `VercelPostgres` configuration options.
|
|
280
|
+
* @returns Promise that resolves with a new instance of `VercelPostgres`.
|
|
281
|
+
*/
|
|
282
|
+
static async fromDocuments(docs, embeddings, dbConfig) {
|
|
283
|
+
const instance = await this.initialize(embeddings, dbConfig);
|
|
284
|
+
await instance.addDocuments(docs);
|
|
285
|
+
return instance;
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* Closes all the clients in the pool and terminates the pool.
|
|
289
|
+
*
|
|
290
|
+
* @returns Promise that resolves when all clients are closed and the pool is terminated.
|
|
291
|
+
*/
|
|
292
|
+
async end() {
|
|
293
|
+
await this.client?.release();
|
|
294
|
+
return this.pool.end();
|
|
295
|
+
}
|
|
296
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../../dist/document_loaders/web/searchapi.cjs');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/searchapi.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/searchapi.js'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "langchain",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.155",
|
|
4
4
|
"description": "Typescript bindings for langchain",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -247,6 +247,9 @@
|
|
|
247
247
|
"vectorstores/vectara.cjs",
|
|
248
248
|
"vectorstores/vectara.js",
|
|
249
249
|
"vectorstores/vectara.d.ts",
|
|
250
|
+
"vectorstores/vercel_postgres.cjs",
|
|
251
|
+
"vectorstores/vercel_postgres.js",
|
|
252
|
+
"vectorstores/vercel_postgres.d.ts",
|
|
250
253
|
"vectorstores/voy.cjs",
|
|
251
254
|
"vectorstores/voy.js",
|
|
252
255
|
"vectorstores/voy.d.ts",
|
|
@@ -331,6 +334,9 @@
|
|
|
331
334
|
"document_loaders/web/confluence.cjs",
|
|
332
335
|
"document_loaders/web/confluence.js",
|
|
333
336
|
"document_loaders/web/confluence.d.ts",
|
|
337
|
+
"document_loaders/web/searchapi.cjs",
|
|
338
|
+
"document_loaders/web/searchapi.js",
|
|
339
|
+
"document_loaders/web/searchapi.d.ts",
|
|
334
340
|
"document_loaders/web/serpapi.cjs",
|
|
335
341
|
"document_loaders/web/serpapi.js",
|
|
336
342
|
"document_loaders/web/serpapi.d.ts",
|
|
@@ -702,6 +708,7 @@
|
|
|
702
708
|
"@typescript-eslint/eslint-plugin": "^5.58.0",
|
|
703
709
|
"@typescript-eslint/parser": "^5.58.0",
|
|
704
710
|
"@upstash/redis": "^1.20.6",
|
|
711
|
+
"@vercel/postgres": "^0.5.0",
|
|
705
712
|
"@writerai/writer-sdk": "^0.40.2",
|
|
706
713
|
"@xata.io/client": "^0.25.1",
|
|
707
714
|
"@xenova/transformers": "^2.5.4",
|
|
@@ -804,6 +811,7 @@
|
|
|
804
811
|
"@tensorflow/tfjs-converter": "*",
|
|
805
812
|
"@tensorflow/tfjs-core": "*",
|
|
806
813
|
"@upstash/redis": "^1.20.6",
|
|
814
|
+
"@vercel/postgres": "^0.5.0",
|
|
807
815
|
"@writerai/writer-sdk": "^0.40.2",
|
|
808
816
|
"@xata.io/client": "^0.25.1",
|
|
809
817
|
"@xenova/transformers": "^2.5.4",
|
|
@@ -957,6 +965,9 @@
|
|
|
957
965
|
"@upstash/redis": {
|
|
958
966
|
"optional": true
|
|
959
967
|
},
|
|
968
|
+
"@vercel/postgres": {
|
|
969
|
+
"optional": true
|
|
970
|
+
},
|
|
960
971
|
"@writerai/writer-sdk": {
|
|
961
972
|
"optional": true
|
|
962
973
|
},
|
|
@@ -1533,6 +1544,11 @@
|
|
|
1533
1544
|
"import": "./vectorstores/vectara.js",
|
|
1534
1545
|
"require": "./vectorstores/vectara.cjs"
|
|
1535
1546
|
},
|
|
1547
|
+
"./vectorstores/vercel_postgres": {
|
|
1548
|
+
"types": "./vectorstores/vercel_postgres.d.ts",
|
|
1549
|
+
"import": "./vectorstores/vercel_postgres.js",
|
|
1550
|
+
"require": "./vectorstores/vercel_postgres.cjs"
|
|
1551
|
+
},
|
|
1536
1552
|
"./vectorstores/voy": {
|
|
1537
1553
|
"types": "./vectorstores/voy.d.ts",
|
|
1538
1554
|
"import": "./vectorstores/voy.js",
|
|
@@ -1673,6 +1689,11 @@
|
|
|
1673
1689
|
"import": "./document_loaders/web/confluence.js",
|
|
1674
1690
|
"require": "./document_loaders/web/confluence.cjs"
|
|
1675
1691
|
},
|
|
1692
|
+
"./document_loaders/web/searchapi": {
|
|
1693
|
+
"types": "./document_loaders/web/searchapi.d.ts",
|
|
1694
|
+
"import": "./document_loaders/web/searchapi.js",
|
|
1695
|
+
"require": "./document_loaders/web/searchapi.cjs"
|
|
1696
|
+
},
|
|
1676
1697
|
"./document_loaders/web/serpapi": {
|
|
1677
1698
|
"types": "./document_loaders/web/serpapi.d.ts",
|
|
1678
1699
|
"import": "./document_loaders/web/serpapi.js",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../dist/vectorstores/vercel_postgres.cjs');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/vectorstores/vercel_postgres.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/vectorstores/vercel_postgres.js'
|