diff --git a/package-lock.json b/package-lock.json index 8994885..32f65e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,16 +12,16 @@ "cheerio": "^1.0.0-rc.12", "dotenv": "^16.3.1", "html-to-text": "^9.0.5", - "langchain": "^0.0.184", + "langchain": "^0.0.203", "nodemon": "^3.0.1", "openai": "^4.17.0", "pdf-parse": "^1.1.1" } }, "node_modules/@anthropic-ai/sdk": { - "version": "0.6.8", - "resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-0.6.8.tgz", - "integrity": "sha512-z4gDFrBf+W2wOVvwA3CA+5bfKOxQhPeXQo7+ITWj3r3XPulIMEasVT0KrD41G+anr5Yc3d2PKvXKB6b1LSon5w==", + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-0.9.1.tgz", + "integrity": "sha512-wa1meQ2WSfoY8Uor3EdrJq0jTiZJoKoSii2ZVWRY1oN4Tlr5s59pADg9T79FTbPe1/se5c3pBeZgJL63wmuoBA==", "dependencies": { "@types/node": "^18.11.18", "@types/node-fetch": "^2.6.4", @@ -34,6 +34,26 @@ "web-streams-polyfill": "^3.2.1" } }, + "node_modules/@langchain/core": { + "version": "0.0.11", + "resolved": "https://registry.npmjs.org/@langchain/core/-/core-0.0.11.tgz", + "integrity": "sha512-tiESyyHM1KO1gRTduKcznWbEmE7z/ayPLWZ4+AUXF47qOtdV6lymnlMPzz+MGwnpaSaamzyYkBIxqeMPar256Q==", + "dependencies": { + "ansi-styles": "^5.0.0", + "camelcase": "6", + "decamelize": "1.2.0", + "js-tiktoken": "^1.0.8", + "langsmith": "~0.0.48", + "ml-distance": "^4.0.0", + "p-queue": "^6.6.2", + "p-retry": "4", + "uuid": "^9.0.0", + "zod": "^3.22.3" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/@selderee/plugin-htmlparser2": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@selderee/plugin-htmlparser2/-/plugin-htmlparser2-0.11.0.tgz", @@ -754,9 +774,9 @@ } }, "node_modules/js-tiktoken": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/js-tiktoken/-/js-tiktoken-1.0.7.tgz", - "integrity": "sha512-biba8u/clw7iesNEWLOLwrNGoBP2lA+hTaBLs/D45pJdUPFXyxD6nhcDVtADChghv4GgyAiMKYMiRx7x6h7Biw==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/js-tiktoken/-/js-tiktoken-1.0.8.tgz", + "integrity": "sha512-r7XK3E9/I+SOrbAGqb39pyO/rHAS1diAOSRAvaaLfHgXjkUSK9AiSd+r84Vn2f/GvXJYRAxKj8NHrUvqlaH5qg==", "dependencies": { "base64-js": "^1.5.1" } @@ -781,15 +801,13 @@ } }, "node_modules/langchain": { - "version": "0.0.184", - "resolved": "https://registry.npmjs.org/langchain/-/langchain-0.0.184.tgz", - "integrity": "sha512-/v0zl1yGeivGRaPXKr9AuIxV/Yt2Muc8UWxCk3Z4GzC5A/T5/0uOAgd6/ingcg3XoSF9fjupoSn1/UNarKUH7g==", + "version": "0.0.203", + "resolved": "https://registry.npmjs.org/langchain/-/langchain-0.0.203.tgz", + "integrity": "sha512-H41ik99zXVuqe6CqYoySE4p8TpeqB41KTSkHDf5xNBDG7Hvh1Oq1JyWKs4PaxkO04MagXdN21gIGz+E5djsEXA==", "dependencies": { - "@anthropic-ai/sdk": "^0.6.2", - "ansi-styles": "^5.0.0", + "@anthropic-ai/sdk": "^0.9.1", + "@langchain/core": "~0.0.10", "binary-extensions": "^2.2.0", - "camelcase": "6", - "decamelize": "^1.2.0", "expr-eval": "^2.0.2", "flat": "^5.0.2", "js-tiktoken": "^1.0.7", @@ -798,14 +816,13 @@ "langchainhub": "~0.0.6", "langsmith": "~0.0.48", "ml-distance": "^4.0.0", - "openai": "^4.16.1", + "openai": "^4.19.0", "openapi-types": "^12.1.3", - "p-queue": "^6.6.2", "p-retry": "4", "uuid": "^9.0.0", "yaml": "^2.2.1", "zod": "^3.22.3", - "zod-to-json-schema": "^3.20.4" + "zod-to-json-schema": "3.20.3" }, "engines": { "node": ">=18" @@ -821,16 +838,17 @@ "@aws-sdk/client-sfn": "^3.310.0", "@aws-sdk/credential-provider-node": "^3.388.0", "@azure/storage-blob": "^12.15.0", - "@clickhouse/client": "^0.0.14", + "@clickhouse/client": "^0.2.5", "@cloudflare/ai": "^1.0.12", "@elastic/elasticsearch": "^8.4.0", "@getmetal/metal-sdk": "*", "@getzep/zep-js": "^0.9.0", - "@gomomento/sdk": "^1.44.1", - "@gomomento/sdk-core": "^1.44.1", - "@gomomento/sdk-web": "^1.44.1", + "@gomomento/sdk": "^1.51.1", + "@gomomento/sdk-core": "^1.51.1", + "@gomomento/sdk-web": "^1.51.1", "@google-ai/generativelanguage": "^0.2.1", "@google-cloud/storage": "^6.10.1", + "@gradientai/nodejs-sdk": "^1.2.0", "@huggingface/inference": "^2.6.4", "@mozilla/readability": "*", "@notionhq/client": "^2.2.10", @@ -839,6 +857,7 @@ "@planetscale/database": "^1.8.0", "@qdrant/js-client-rest": "^1.2.0", "@raycast/api": "^1.55.2", + "@rockset/client": "^0.9.1", "@smithy/eventstream-codec": "^2.0.5", "@smithy/protocol-http": "^3.0.6", "@smithy/signature-v4": "^2.0.10", @@ -852,7 +871,7 @@ "@vercel/kv": "^0.2.3", "@vercel/postgres": "^0.5.0", "@writerai/writer-sdk": "^0.40.2", - "@xata.io/client": "^0.25.1", + "@xata.io/client": "^0.28.0", "@xenova/transformers": "^2.5.4", "@zilliz/milvus2-sdk-node": ">=2.2.7", "apify-client": "^2.7.1", @@ -878,7 +897,7 @@ "ignore": "^5.2.0", "ioredis": "^5.3.2", "jsdom": "*", - "llmonitor": "^0.5.8", + "llmonitor": "^0.5.9", "lodash": "^4.17.21", "mammoth": "*", "mongodb": "^5.2.0", @@ -886,6 +905,7 @@ "neo4j-driver": "*", "node-llama-cpp": "*", "notion-to-md": "^3.1.0", + "officeparser": "^4.0.4", "pdf-parse": "1.1.1", "peggy": "^3.0.2", "pg": "^8.11.0", @@ -894,6 +914,7 @@ "playwright": "^1.32.1", "portkey-ai": "^0.1.11", "puppeteer": "^19.7.2", + "pyodide": "^0.24.1", "redis": "^4.6.4", "replicate": "^0.18.0", "sonix-speech-recognition": "^2.1.1", @@ -970,6 +991,9 @@ "@google-cloud/storage": { "optional": true }, + "@gradientai/nodejs-sdk": { + "optional": true + }, "@huggingface/inference": { "optional": true }, @@ -994,6 +1018,9 @@ "@raycast/api": { "optional": true }, + "@rockset/client": { + "optional": true + }, "@smithy/eventstream-codec": { "optional": true }, @@ -1135,6 +1162,9 @@ "notion-to-md": { "optional": true }, + "officeparser": { + "optional": true + }, "pdf-parse": { "optional": true }, @@ -1159,6 +1189,9 @@ "puppeteer": { "optional": true }, + "pyodide": { + "optional": true + }, "redis": { "optional": true }, @@ -1203,6 +1236,14 @@ } } }, + "node_modules/langchain/node_modules/zod-to-json-schema": { + "version": "3.20.3", + "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.20.3.tgz", + "integrity": "sha512-/Q3wnyxAfCt94ZcrGiXXoiAfRqasxl9CX64LZ9fj+4dKH68zulUtU0uk1WMxQPfAxQ0ZI70dKzcoW7hHj+DwSQ==", + "peerDependencies": { + "zod": "^3.20.0" + } + }, "node_modules/langchainhub": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/langchainhub/-/langchainhub-0.0.6.tgz", @@ -1441,9 +1482,9 @@ } }, "node_modules/openai": { - "version": "4.17.0", - "resolved": "https://registry.npmjs.org/openai/-/openai-4.17.0.tgz", - "integrity": "sha512-fJUdfOzKE49L2oitQ+L8oCYcTDI2oLOYmQvnPjklFrmH7M+8w65/8Ag9120ky1A3Xr3lCivALs2oBmNaZIvTgg==", + "version": "4.20.1", + "resolved": "https://registry.npmjs.org/openai/-/openai-4.20.1.tgz", + "integrity": "sha512-Dd3q8EvINfganZFtg6V36HjrMaihqRgIcKiHua4Nq9aw/PxOP48dhbsk8x5klrxajt5Lpnc1KTOG5i1S6BKAJA==", "dependencies": { "@types/node": "^18.11.18", "@types/node-fetch": "^2.6.4", @@ -1807,14 +1848,6 @@ "funding": { "url": "https://github.com/sponsors/colinhacks" } - }, - "node_modules/zod-to-json-schema": { - "version": "3.21.4", - "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.21.4.tgz", - "integrity": "sha512-fjUZh4nQ1s6HMccgIeE0VP4QG/YRGPmyjO9sAh890aQKPEk3nqbfUXhMFaC+Dr5KvYBm8BCyvfpZf2jY9aGSsw==", - "peerDependencies": { - "zod": "^3.21.4" - } } } } diff --git a/package.json b/package.json index db3ef46..c6a2262 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "cheerio": "^1.0.0-rc.12", "dotenv": "^16.3.1", "html-to-text": "^9.0.5", - "langchain": "^0.0.184", + "langchain": "^0.0.203", "nodemon": "^3.0.1", "openai": "^4.17.0", "pdf-parse": "^1.1.1"