{"_id":"@basproul/google-genai","_rev":"9-37c5642e702019c3648d6e641fd157e0","name":"@basproul/google-genai","dist-tags":{"latest":"0.0.15"},"versions":{"0.0.6":{"name":"@basproul/google-genai","version":"0.0.6","description":"Sample integration for LangChain.js","type":"module","engines":{"node":">=18"},"main":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/langchain-ai/langchainjs.git"},"scripts":{"build":"yarn run build:deps && yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts","build:deps":"yarn run turbo:command build --filter=@langchain/core","build:esm":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf dist/tests dist/**/tests","build:cjs":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rm -rf dist-cjs","build:watch":"node scripts/create-entrypoints.js && tsc --outDir dist/ --watch","build:scripts":"node scripts/create-entrypoints.js && node scripts/check-tree-shaking.js","lint":"NODE_OPTIONS=--max-old-space-size=4096 eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts","lint:fix":"yarn lint --fix","clean":"rm -rf dist/ && NODE_OPTIONS=--max-old-space-size=4096 node scripts/create-entrypoints.js pre","prepack":"yarn build","test":"NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%","test:watch":"NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\\.int\\.test.ts","test:single":"NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000","test:int":"NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%","format":"prettier --write \"src\"","format:check":"prettier --check \"src\""},"author":{"name":"LangChain"},"license":"MIT","dependencies":{"@google/generative-ai":"^0.1.0","@langchain/core":"~0.1.3"},"devDependencies":{"@jest/globals":"^29.5.0","@langchain/community":"workspace:*","@swc/core":"^1.3.90","@swc/jest":"^0.2.29","@tsconfig/recommended":"^1.0.3","@typescript-eslint/eslint-plugin":"^6.12.0","@typescript-eslint/parser":"^6.12.0","dotenv":"^16.3.1","dpdm":"^3.12.0","eslint":"^8.33.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^8.6.0","eslint-plugin-import":"^2.27.5","eslint-plugin-no-instanceof":"^1.0.1","eslint-plugin-prettier":"^4.2.1","hnswlib-node":"^1.4.2","jest":"^29.5.0","jest-environment-node":"^29.6.4","prettier":"^2.8.3","release-it":"^15.10.1","rollup":"^4.5.2","ts-jest":"^29.1.0","typescript":"<5.2.0"},"publishConfig":{"access":"public"},"exports":{".":{"types":"./index.d.ts","import":"./index.js","require":"./index.cjs"},"./package.json":"./package.json"},"_id":"@basproul/google-genai@0.0.6","gitHead":"7d21ff7a89de39172cd3e1a3d3915c5dadb0fea3","bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"homepage":"https://github.com/langchain-ai/langchainjs#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-ywNPpYpbjf8/9nc/DvyU0oli3dDREGW7OCETkfkGDJ0qjEyzuinkZJecoE8Wkxe0AeK4NHZ4vQpG42RuIf3J/Q==","shasum":"5d7b73bf96bb2a4c0809fb38566aeda2560213d5","tarball":"https://registry.npmjs.org/@basproul/google-genai/-/google-genai-0.0.6.tgz","fileCount":18,"unpackedSize":53955,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAvP15kKlM6IZBeG9niKWzfzauYFSmbGZBfHamw0+KsUAiASa3NvL11Snbo4ctDdojQ3UgjBi7D4yS46pd57pSr9xA=="}]},"_npmUser":{"name":"basproul","email":"braceasproul@gmail.com"},"directories":{},"maintainers":[{"name":"basproul","email":"braceasproul@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/google-genai_0.0.6_1703183569663_0.09164326444011417"},"_hasShrinkwrap":false},"0.0.7":{"name":"@basproul/google-genai","version":"0.0.7","description":"Sample integration for LangChain.js","type":"module","engines":{"node":">=18"},"main":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/langchain-ai/langchainjs.git"},"scripts":{"build":"yarn run build:deps && yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts","build:deps":"yarn run turbo:command build --filter=@langchain/core","build:esm":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf dist/tests dist/**/tests","build:cjs":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rm -rf dist-cjs","build:watch":"node scripts/create-entrypoints.js && tsc --outDir dist/ --watch","build:scripts":"node scripts/create-entrypoints.js && node scripts/check-tree-shaking.js","lint":"NODE_OPTIONS=--max-old-space-size=4096 eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts","lint:fix":"yarn lint --fix","clean":"rm -rf dist/ && NODE_OPTIONS=--max-old-space-size=4096 node scripts/create-entrypoints.js pre","prepack":"yarn build","test":"NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%","test:watch":"NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\\.int\\.test.ts","test:single":"NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000","test:int":"NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%","format":"prettier --write \"src\"","format:check":"prettier --check \"src\""},"author":{"name":"LangChain"},"license":"MIT","dependencies":{"@google/generative-ai":"^0.1.0","@langchain/core":"~0.1.3"},"devDependencies":{"@jest/globals":"^29.5.0","@langchain/community":"workspace:*","@swc/core":"^1.3.90","@swc/jest":"^0.2.29","@tsconfig/recommended":"^1.0.3","@typescript-eslint/eslint-plugin":"^6.12.0","@typescript-eslint/parser":"^6.12.0","dotenv":"^16.3.1","dpdm":"^3.12.0","eslint":"^8.33.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^8.6.0","eslint-plugin-import":"^2.27.5","eslint-plugin-no-instanceof":"^1.0.1","eslint-plugin-prettier":"^4.2.1","hnswlib-node":"^1.4.2","jest":"^29.5.0","jest-environment-node":"^29.6.4","prettier":"^2.8.3","release-it":"^15.10.1","rollup":"^4.5.2","ts-jest":"^29.1.0","typescript":"<5.2.0"},"publishConfig":{"access":"public"},"exports":{".":{"types":"./index.d.ts","import":"./index.js","require":"./index.cjs"},"./package.json":"./package.json"},"_id":"@basproul/google-genai@0.0.7","gitHead":"3a84f8290325568656f0469b38a72256af85c80d","bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"homepage":"https://github.com/langchain-ai/langchainjs#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-0nqXvUf9FHNXdGlUmFJ1FBdiC/tQivNrTuWADprQeow72xOY4HZIp0QuKD8oJ2d6JMKdG+120nNHPdWmZJAZ3A==","shasum":"e273f40631cd431998269e43a1f31d8fe276948d","tarball":"https://registry.npmjs.org/@basproul/google-genai/-/google-genai-0.0.7.tgz","fileCount":18,"unpackedSize":53955,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAnMYE+lfaqqtH0d2o3IKNmAaFp2JiAm8cANllq1TJ6AAiBVHBhGSP224fPPy5hU8EglX/c/qOCH27vPnYIJdG88vw=="}]},"_npmUser":{"name":"basproul","email":"braceasproul@gmail.com"},"directories":{},"maintainers":[{"name":"basproul","email":"braceasproul@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/google-genai_0.0.7_1703183882062_0.4869780238166237"},"_hasShrinkwrap":false},"0.0.8":{"name":"@basproul/google-genai","version":"0.0.8","description":"Sample integration for LangChain.js","type":"module","engines":{"node":">=18"},"main":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/langchain-ai/langchainjs.git"},"scripts":{"build":"yarn run build:deps && yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts","build:deps":"yarn run turbo:command build --filter=@langchain/core","build:esm":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf dist/tests dist/**/tests","build:cjs":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rm -rf dist-cjs","build:watch":"node scripts/create-entrypoints.js && tsc --outDir dist/ --watch","build:scripts":"node scripts/create-entrypoints.js && node scripts/check-tree-shaking.js","lint":"NODE_OPTIONS=--max-old-space-size=4096 eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts","lint:fix":"yarn lint --fix","clean":"rm -rf dist/ && NODE_OPTIONS=--max-old-space-size=4096 node scripts/create-entrypoints.js pre","prepack":"yarn build","test":"NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%","test:watch":"NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\\.int\\.test.ts","test:single":"NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000","test:int":"NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%","format":"prettier --write \"src\"","format:check":"prettier --check \"src\""},"author":{"name":"LangChain"},"license":"MIT","dependencies":{"@google/generative-ai":"^0.1.0","@langchain/core":"~0.1.3"},"devDependencies":{"@jest/globals":"^29.5.0","@langchain/community":"workspace:*","@swc/core":"^1.3.90","@swc/jest":"^0.2.29","@tsconfig/recommended":"^1.0.3","@typescript-eslint/eslint-plugin":"^6.12.0","@typescript-eslint/parser":"^6.12.0","dotenv":"^16.3.1","dpdm":"^3.12.0","eslint":"^8.33.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^8.6.0","eslint-plugin-import":"^2.27.5","eslint-plugin-no-instanceof":"^1.0.1","eslint-plugin-prettier":"^4.2.1","hnswlib-node":"^1.4.2","jest":"^29.5.0","jest-environment-node":"^29.6.4","prettier":"^2.8.3","release-it":"^15.10.1","rollup":"^4.5.2","ts-jest":"^29.1.0","typescript":"<5.2.0"},"publishConfig":{"access":"public"},"exports":{".":{"types":"./index.d.ts","import":"./index.js","require":"./index.cjs"},"./package.json":"./package.json"},"_id":"@basproul/google-genai@0.0.8","gitHead":"ca27f953720bce1b03648180052091cd94156a59","bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"homepage":"https://github.com/langchain-ai/langchainjs#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-k50tUztZX1Mxou5z0xow7w1uReyZEf18DwH1WxrYpp4BwBV2bGRa6r8KW/UW/zik18tM3n48XVCZgTNH/V5d6Q==","shasum":"4d2e8fe04bab64364f5a88b74f1024704e41f993","tarball":"https://registry.npmjs.org/@basproul/google-genai/-/google-genai-0.0.8.tgz","fileCount":18,"unpackedSize":53955,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTwfBlhIrI4kz3tFCFxC3JWuge8WNVgyGBodsFJ1RiawIhAP/O0slvLoJoQaiehsJBAa/URwM5gyysfYzgxVII4kYZ"}]},"_npmUser":{"name":"basproul","email":"braceasproul@gmail.com"},"directories":{},"maintainers":[{"name":"basproul","email":"braceasproul@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/google-genai_0.0.8_1703184767751_0.2536305580242342"},"_hasShrinkwrap":false},"0.0.9":{"name":"@basproul/google-genai","version":"0.0.9","description":"Sample integration for LangChain.js","type":"module","engines":{"node":">=18"},"main":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/langchain-ai/langchainjs.git"},"scripts":{"build":"yarn run build:deps && yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts","build:deps":"yarn run turbo:command build --filter=@langchain/core","build:esm":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf dist/tests dist/**/tests","build:cjs":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rm -rf dist-cjs","build:watch":"node scripts/create-entrypoints.js && tsc --outDir dist/ --watch","build:scripts":"node scripts/create-entrypoints.js && node scripts/check-tree-shaking.js","lint":"NODE_OPTIONS=--max-old-space-size=4096 eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts","lint:fix":"yarn lint --fix","clean":"rm -rf dist/ && NODE_OPTIONS=--max-old-space-size=4096 node scripts/create-entrypoints.js pre","prepack":"yarn build","test":"NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%","test:watch":"NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\\.int\\.test.ts","test:single":"NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000","test:int":"NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%","format":"prettier --write \"src\"","format:check":"prettier --check \"src\""},"author":{"name":"LangChain"},"license":"MIT","dependencies":{"@google/generative-ai":"^0.1.0","@langchain/core":"~0.1.3"},"devDependencies":{"@jest/globals":"^29.5.0","@langchain/community":"workspace:*","@swc/core":"^1.3.90","@swc/jest":"^0.2.29","@tsconfig/recommended":"^1.0.3","@typescript-eslint/eslint-plugin":"^6.12.0","@typescript-eslint/parser":"^6.12.0","dotenv":"^16.3.1","dpdm":"^3.12.0","eslint":"^8.33.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^8.6.0","eslint-plugin-import":"^2.27.5","eslint-plugin-no-instanceof":"^1.0.1","eslint-plugin-prettier":"^4.2.1","hnswlib-node":"^1.4.2","jest":"^29.5.0","jest-environment-node":"^29.6.4","prettier":"^2.8.3","release-it":"^15.10.1","rollup":"^4.5.2","ts-jest":"^29.1.0","typescript":"<5.2.0"},"publishConfig":{"access":"public"},"exports":{".":{"types":"./index.d.ts","import":"./index.js","require":"./index.cjs"},"./package.json":"./package.json"},"_id":"@basproul/google-genai@0.0.9","gitHead":"5eafec92e120e1661fa9062ce77acdd35f5018d9","bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"homepage":"https://github.com/langchain-ai/langchainjs#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-i1Ac32gesRHzN9YpnQ6k7EuzywOYg5zWeCppOpu3yE2QaBH8VA0/q2rqGKrj+ZqgjN5HgCsA+89ZNikqTC7aww==","shasum":"36bee00cf0962c948ec3c391aa26f076c1db2aaa","tarball":"https://registry.npmjs.org/@basproul/google-genai/-/google-genai-0.0.9.tgz","fileCount":18,"unpackedSize":53955,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD03yzEsOh8QpijM8X16aXYFoAv56e6Wbjgs5Oaa7fJEAIhAITwdRW+I+LGJWnbKtqweZSeKJyTwasU7/SGDVs5iUZg"}]},"_npmUser":{"name":"basproul","email":"braceasproul@gmail.com"},"directories":{},"maintainers":[{"name":"basproul","email":"braceasproul@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/google-genai_0.0.9_1703185976454_0.8885944728647268"},"_hasShrinkwrap":false},"0.0.10":{"name":"@basproul/google-genai","version":"0.0.10","description":"Sample integration for LangChain.js","type":"module","engines":{"node":">=18"},"main":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/langchain-ai/langchainjs.git"},"scripts":{"build":"yarn run build:deps && yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts","build:deps":"yarn run turbo:command build --filter=@langchain/core","build:esm":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf dist/tests dist/**/tests","build:cjs":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rm -rf dist-cjs","build:watch":"node scripts/create-entrypoints.js && tsc --outDir dist/ --watch","build:scripts":"node scripts/create-entrypoints.js && node scripts/check-tree-shaking.js","lint":"NODE_OPTIONS=--max-old-space-size=4096 eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts","lint:fix":"yarn lint --fix","clean":"rm -rf dist/ && NODE_OPTIONS=--max-old-space-size=4096 node scripts/create-entrypoints.js pre","prepack":"yarn build","test":"NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%","test:watch":"NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\\.int\\.test.ts","test:single":"NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000","test:int":"NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%","format":"prettier --write \"src\"","format:check":"prettier --check \"src\""},"author":{"name":"LangChain"},"license":"MIT","dependencies":{"@google/generative-ai":"^0.1.0","@langchain/core":"~0.1.3"},"devDependencies":{"@jest/globals":"^29.5.0","@langchain/community":"workspace:*","@swc/core":"^1.3.90","@swc/jest":"^0.2.29","@tsconfig/recommended":"^1.0.3","@typescript-eslint/eslint-plugin":"^6.12.0","@typescript-eslint/parser":"^6.12.0","dotenv":"^16.3.1","dpdm":"^3.12.0","eslint":"^8.33.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^8.6.0","eslint-plugin-import":"^2.27.5","eslint-plugin-no-instanceof":"^1.0.1","eslint-plugin-prettier":"^4.2.1","hnswlib-node":"^1.4.2","jest":"^29.5.0","jest-environment-node":"^29.6.4","prettier":"^2.8.3","release-it":"^15.10.1","rollup":"^4.5.2","ts-jest":"^29.1.0","typescript":"<5.2.0"},"publishConfig":{"access":"public"},"exports":{".":{"types":"./index.d.ts","import":"./index.js","require":"./index.cjs"},"./package.json":"./package.json"},"_id":"@basproul/google-genai@0.0.10","gitHead":"bd078b49bc2621cd206a5f85742147f7ff529248","bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"homepage":"https://github.com/langchain-ai/langchainjs#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-06ueW0wkJaWnvdriseQhg8AJdfd1YQ/JN8+6r6KSuvgTGd3L5a94gq5Z0iY6CGQxKLY9ngXn77PVHG1G15Y6lA==","shasum":"7c62265d04b9faf07e8d9d051ddeb5a05f2601f8","tarball":"https://registry.npmjs.org/@basproul/google-genai/-/google-genai-0.0.10.tgz","fileCount":18,"unpackedSize":53956,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4RWNcfOHqyMolisbcG5P4VJMRGdrGtehAcv0DKlDqrQIhAOtJ9f2pZCw/5BHr0Iz9xgOPd3d7qmg6vFhh2WQ9LUB0"}]},"_npmUser":{"name":"basproul","email":"braceasproul@gmail.com"},"directories":{},"maintainers":[{"name":"basproul","email":"braceasproul@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/google-genai_0.0.10_1703186117937_0.7568320389170291"},"_hasShrinkwrap":false},"0.0.11":{"name":"@basproul/google-genai","version":"0.0.11","description":"Sample integration for LangChain.js","type":"module","engines":{"node":">=18"},"main":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/langchain-ai/langchainjs.git"},"scripts":{"build":"yarn run build:deps && yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts","build:deps":"yarn run turbo:command build --filter=@langchain/core","build:esm":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf dist/tests dist/**/tests","build:cjs":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rm -rf dist-cjs","build:watch":"node scripts/create-entrypoints.js && tsc --outDir dist/ --watch","build:scripts":"node scripts/create-entrypoints.js && node scripts/check-tree-shaking.js","lint":"NODE_OPTIONS=--max-old-space-size=4096 eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts","lint:fix":"yarn lint --fix","clean":"rm -rf dist/ && NODE_OPTIONS=--max-old-space-size=4096 node scripts/create-entrypoints.js pre","prepack":"yarn build","test":"NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%","test:watch":"NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\\.int\\.test.ts","test:single":"NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000","test:int":"NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%","format":"prettier --write \"src\"","format:check":"prettier --check \"src\""},"author":{"name":"LangChain"},"license":"MIT","dependencies":{"@google/generative-ai":"^0.1.0","@langchain/core":"~0.1.3"},"devDependencies":{"@jest/globals":"^29.5.0","@langchain/community":"workspace:*","@swc/core":"^1.3.90","@swc/jest":"^0.2.29","@tsconfig/recommended":"^1.0.3","@typescript-eslint/eslint-plugin":"^6.12.0","@typescript-eslint/parser":"^6.12.0","dotenv":"^16.3.1","dpdm":"^3.12.0","eslint":"^8.33.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^8.6.0","eslint-plugin-import":"^2.27.5","eslint-plugin-no-instanceof":"^1.0.1","eslint-plugin-prettier":"^4.2.1","hnswlib-node":"^1.4.2","jest":"^29.5.0","jest-environment-node":"^29.6.4","prettier":"^2.8.3","release-it":"^15.10.1","rollup":"^4.5.2","ts-jest":"^29.1.0","typescript":"<5.2.0"},"publishConfig":{"access":"public"},"exports":{".":{"types":"./index.d.ts","import":"./index.js","require":"./index.cjs"},"./package.json":"./package.json"},"_id":"@basproul/google-genai@0.0.11","gitHead":"d356532c0f8b565019e6c1141a7a6f86354c2791","bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"homepage":"https://github.com/langchain-ai/langchainjs#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-7L+vWWC9Rv79BEJS1XGmKUUnhHlUnAWkcyJb+F+14/lYgzf5L/hdQvGz7Lrvml2hB4QKfc910VaFKB9+KHuRXg==","shasum":"1d06453f105af28067c88ef72534d931a6f327f1","tarball":"https://registry.npmjs.org/@basproul/google-genai/-/google-genai-0.0.11.tgz","fileCount":18,"unpackedSize":53956,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqDa5he9WGIOWuBQIZN+ef4XGHDAquUD9s9D0t+s9KLAIhAK4IbXJqmYmI5lcDlvfqYTpSBxW0sxB0n7M7Crrmq7n1"}]},"_npmUser":{"name":"basproul","email":"braceasproul@gmail.com"},"directories":{},"maintainers":[{"name":"basproul","email":"braceasproul@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/google-genai_0.0.11_1703186327365_0.3226047689833158"},"_hasShrinkwrap":false},"0.0.12":{"name":"@basproul/google-genai","version":"0.0.12","description":"Sample integration for LangChain.js","type":"module","engines":{"node":">=18"},"main":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/langchain-ai/langchainjs.git"},"scripts":{"build":"yarn run build:deps && yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts","build:deps":"yarn run turbo:command build --filter=@langchain/core","build:esm":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf dist/tests dist/**/tests","build:cjs":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rm -rf dist-cjs","build:watch":"node scripts/create-entrypoints.js && tsc --outDir dist/ --watch","build:scripts":"node scripts/create-entrypoints.js && node scripts/check-tree-shaking.js","lint":"NODE_OPTIONS=--max-old-space-size=4096 eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts","lint:fix":"yarn lint --fix","clean":"rm -rf dist/ && NODE_OPTIONS=--max-old-space-size=4096 node scripts/create-entrypoints.js pre","prepack":"yarn build","test":"NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%","test:watch":"NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\\.int\\.test.ts","test:single":"NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000","test:int":"NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%","format":"prettier --write \"src\"","format:check":"prettier --check \"src\""},"author":{"name":"LangChain"},"license":"MIT","dependencies":{"@google/generative-ai":"^0.1.0","@langchain/core":"~0.1.3"},"devDependencies":{"@jest/globals":"^29.5.0","@langchain/community":"workspace:*","@swc/core":"^1.3.90","@swc/jest":"^0.2.29","@tsconfig/recommended":"^1.0.3","@typescript-eslint/eslint-plugin":"^6.12.0","@typescript-eslint/parser":"^6.12.0","dotenv":"^16.3.1","dpdm":"^3.12.0","eslint":"^8.33.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^8.6.0","eslint-plugin-import":"^2.27.5","eslint-plugin-no-instanceof":"^1.0.1","eslint-plugin-prettier":"^4.2.1","hnswlib-node":"^1.4.2","jest":"^29.5.0","jest-environment-node":"^29.6.4","prettier":"^2.8.3","release-it":"^15.10.1","rollup":"^4.5.2","ts-jest":"^29.1.0","typescript":"<5.2.0"},"publishConfig":{"access":"public"},"exports":{".":{"types":"./index.d.ts","import":"./index.js","require":"./index.cjs"},"./package.json":"./package.json"},"_id":"@basproul/google-genai@0.0.12","gitHead":"2ceb8fe839e4566b281e30094ee9b97b08394bfe","bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"homepage":"https://github.com/langchain-ai/langchainjs#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-KZUoSsqgwKfSMMQS0I/bfivwKVdV8ILtagovfjNgfHTXPMcSNRj+pg+45hbG2L+AFNvEui80YA8laVF+ayCEag==","shasum":"38262683ba023ef8db28e0c27ddce2f25e110587","tarball":"https://registry.npmjs.org/@basproul/google-genai/-/google-genai-0.0.12.tgz","fileCount":18,"unpackedSize":53956,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTjO4b43ZRxQWW7Sj4oq4uUSejUXS+CA3Do//uTYmBPwIhAIOjC1Po2lSrNS6algqNLQf0xJ6zn5pnjLVjQGtrmu63"}]},"_npmUser":{"name":"basproul","email":"braceasproul@gmail.com"},"directories":{},"maintainers":[{"name":"basproul","email":"braceasproul@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/google-genai_0.0.12_1703186489265_0.2774746909931063"},"_hasShrinkwrap":false},"0.0.13":{"name":"@basproul/google-genai","version":"0.0.13","description":"Sample integration for LangChain.js","type":"module","engines":{"node":">=18"},"main":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/langchain-ai/langchainjs.git"},"scripts":{"build":"yarn run build:deps && yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts","build:deps":"yarn run turbo:command build --filter=@langchain/core","build:esm":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf dist/tests dist/**/tests","build:cjs":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rm -rf dist-cjs","build:watch":"node scripts/create-entrypoints.js && tsc --outDir dist/ --watch","build:scripts":"node scripts/create-entrypoints.js && node scripts/check-tree-shaking.js","lint":"NODE_OPTIONS=--max-old-space-size=4096 eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts","lint:fix":"yarn lint --fix","clean":"rm -rf dist/ && NODE_OPTIONS=--max-old-space-size=4096 node scripts/create-entrypoints.js pre","prepack":"yarn build","test":"NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%","test:watch":"NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\\.int\\.test.ts","test:single":"NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000","test:int":"NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%","format":"prettier --write \"src\"","format:check":"prettier --check \"src\""},"author":{"name":"LangChain"},"license":"MIT","dependencies":{"@google/generative-ai":"^0.1.0","@langchain/core":"~0.1.3"},"devDependencies":{"@jest/globals":"^29.5.0","@langchain/community":"workspace:*","@swc/core":"^1.3.90","@swc/jest":"^0.2.29","@tsconfig/recommended":"^1.0.3","@typescript-eslint/eslint-plugin":"^6.12.0","@typescript-eslint/parser":"^6.12.0","dotenv":"^16.3.1","dpdm":"^3.12.0","eslint":"^8.33.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^8.6.0","eslint-plugin-import":"^2.27.5","eslint-plugin-no-instanceof":"^1.0.1","eslint-plugin-prettier":"^4.2.1","hnswlib-node":"^1.4.2","jest":"^29.5.0","jest-environment-node":"^29.6.4","prettier":"^2.8.3","release-it":"^15.10.1","rollup":"^4.5.2","ts-jest":"^29.1.0","typescript":"<5.2.0"},"publishConfig":{"access":"public"},"exports":{".":{"types":"./index.d.ts","import":"./index.js","require":"./index.cjs"},"./package.json":"./package.json"},"_id":"@basproul/google-genai@0.0.13","gitHead":"48c7c0499358ef8cbbf3d70674f3e009b20b3168","bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"homepage":"https://github.com/langchain-ai/langchainjs#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-hWrc1FkwZmIxu8fF4QYmDCBmhz0K7C0obO3wgsU7+hzlQ2ALcg9vF0qS4LVqVN3ELxAuar7D7Yulvznph+U4nw==","shasum":"fee2d3b97bdc54a804e9162c7d4f38b090a0fd4b","tarball":"https://registry.npmjs.org/@basproul/google-genai/-/google-genai-0.0.13.tgz","fileCount":18,"unpackedSize":53956,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFfMuc/9Lk3nDfbI8Z/ij8BkRECNOJvsPlf7eYTBTsoAIgLs9a5Tmg7F9tkgyipLZ2XDYa070+61v2wJQ0a8neEbQ="}]},"_npmUser":{"name":"basproul","email":"braceasproul@gmail.com"},"directories":{},"maintainers":[{"name":"basproul","email":"braceasproul@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/google-genai_0.0.13_1703187229243_0.841599146345356"},"_hasShrinkwrap":false},"0.0.14":{"name":"@basproul/google-genai","version":"0.0.14","description":"Sample integration for LangChain.js","type":"module","engines":{"node":">=18"},"main":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/langchain-ai/langchainjs.git"},"scripts":{"build":"yarn run build:deps && yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts","build:deps":"yarn run turbo:command build --filter=@langchain/core","build:esm":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf dist/tests dist/**/tests","build:cjs":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rm -rf dist-cjs","build:watch":"node scripts/create-entrypoints.js && tsc --outDir dist/ --watch","build:scripts":"node scripts/create-entrypoints.js && node scripts/check-tree-shaking.js","lint":"NODE_OPTIONS=--max-old-space-size=4096 eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts","lint:fix":"yarn lint --fix","clean":"rm -rf dist/ && NODE_OPTIONS=--max-old-space-size=4096 node scripts/create-entrypoints.js pre","prepack":"yarn build","test":"NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%","test:watch":"NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\\.int\\.test.ts","test:single":"NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000","test:int":"NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%","format":"prettier --write \"src\"","format:check":"prettier --check \"src\""},"author":{"name":"LangChain"},"license":"MIT","dependencies":{"@google/generative-ai":"^0.1.0","@langchain/core":"~0.1.3"},"devDependencies":{"@jest/globals":"^29.5.0","@langchain/community":"workspace:*","@swc/core":"^1.3.90","@swc/jest":"^0.2.29","@tsconfig/recommended":"^1.0.3","@typescript-eslint/eslint-plugin":"^6.12.0","@typescript-eslint/parser":"^6.12.0","dotenv":"^16.3.1","dpdm":"^3.12.0","eslint":"^8.33.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^8.6.0","eslint-plugin-import":"^2.27.5","eslint-plugin-no-instanceof":"^1.0.1","eslint-plugin-prettier":"^4.2.1","hnswlib-node":"^1.4.2","jest":"^29.5.0","jest-environment-node":"^29.6.4","prettier":"^2.8.3","release-it":"^15.10.1","rollup":"^4.5.2","ts-jest":"^29.1.0","typescript":"<5.2.0"},"publishConfig":{"access":"public"},"exports":{".":{"types":"./index.d.ts","import":"./index.js","require":"./index.cjs"},"./package.json":"./package.json"},"_id":"@basproul/google-genai@0.0.14","gitHead":"baa5867012bedf8fd5abcf067bb07a71ee0b4676","bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"homepage":"https://github.com/langchain-ai/langchainjs#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-JOWR5enOJ3euR5Fk3SZR8nTq8DQleORdFU5bZXXyFVXy3E5ipj7jN5IzCwoK2CwwGWTArysM3lMhQ5KVjq3gIg==","shasum":"38388e64a9deb8a83098eeaa550216411e6e4fe6","tarball":"https://registry.npmjs.org/@basproul/google-genai/-/google-genai-0.0.14.tgz","fileCount":18,"unpackedSize":53956,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFWwzAngN9jki44UKDplKMC3Q8WAiNT5fG0ewy7NiMVgAiEAgukJU0HVFCgtY9KsRLmp5eVIzt/Yrm2D85YU0TK84kY="}]},"_npmUser":{"name":"basproul","email":"braceasproul@gmail.com"},"directories":{},"maintainers":[{"name":"basproul","email":"braceasproul@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/google-genai_0.0.14_1703187505945_0.623235276645798"},"_hasShrinkwrap":false},"0.0.15":{"name":"@basproul/google-genai","version":"0.0.15","description":"Sample integration for LangChain.js","type":"module","engines":{"node":">=18"},"main":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/langchain-ai/langchainjs.git"},"scripts":{"build":"yarn run build:deps && yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts","build:deps":"yarn run turbo:command build --filter=@langchain/core","build:esm":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf dist/tests dist/**/tests","build:cjs":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rm -rf dist-cjs","build:watch":"node scripts/create-entrypoints.js && tsc --outDir dist/ --watch","build:scripts":"node scripts/create-entrypoints.js && node scripts/check-tree-shaking.js","lint":"NODE_OPTIONS=--max-old-space-size=4096 eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts","lint:fix":"yarn lint --fix","clean":"rm -rf dist/ && NODE_OPTIONS=--max-old-space-size=4096 node scripts/create-entrypoints.js pre","prepack":"yarn build","test":"NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%","test:watch":"NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\\.int\\.test.ts","test:single":"NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000","test:int":"NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%","format":"prettier --write \"src\"","format:check":"prettier --check \"src\""},"author":{"name":"LangChain"},"license":"MIT","dependencies":{"@google/generative-ai":"^0.1.0","@langchain/core":"~0.1.3"},"devDependencies":{"@jest/globals":"^29.5.0","@langchain/community":"workspace:*","@swc/core":"^1.3.90","@swc/jest":"^0.2.29","@tsconfig/recommended":"^1.0.3","@typescript-eslint/eslint-plugin":"^6.12.0","@typescript-eslint/parser":"^6.12.0","dotenv":"^16.3.1","dpdm":"^3.12.0","eslint":"^8.33.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^8.6.0","eslint-plugin-import":"^2.27.5","eslint-plugin-no-instanceof":"^1.0.1","eslint-plugin-prettier":"^4.2.1","hnswlib-node":"^1.4.2","jest":"^29.5.0","jest-environment-node":"^29.6.4","prettier":"^2.8.3","release-it":"^15.10.1","rollup":"^4.5.2","ts-jest":"^29.1.0","typescript":"<5.2.0"},"publishConfig":{"access":"public"},"exports":{".":{"types":"./index.d.ts","import":"./index.js","require":"./index.cjs"},"./package.json":"./package.json"},"_id":"@basproul/google-genai@0.0.15","gitHead":"0cd6bff0677ecebb6159248b9b72fef21365b874","bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"homepage":"https://github.com/langchain-ai/langchainjs#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-eHZQJmR9luyrhvjyp7ClihcLcS57fPHQzzzuIfTx/ka0v6pjwcO4eb8GWIjXTZDPvsiHYeFq5sofsGTjT/IiIQ==","shasum":"6cc60c992782c2586267f47f1d98280b910fd069","tarball":"https://registry.npmjs.org/@basproul/google-genai/-/google-genai-0.0.15.tgz","fileCount":18,"unpackedSize":53956,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEiPbgpHYZfUzjcD9/ePsBon28TQ2bIsE0c9KDAz2kMYAiBRxB+cYtDYAMj+Na2oAh2wMaWgogAD9Zl7z045KQ3IOA=="}]},"_npmUser":{"name":"basproul","email":"braceasproul@gmail.com"},"directories":{},"maintainers":[{"name":"basproul","email":"braceasproul@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/google-genai_0.0.15_1703187725163_0.2609955636111565"},"_hasShrinkwrap":false}},"time":{"created":"2023-12-21T18:32:49.531Z","0.0.6":"2023-12-21T18:32:49.831Z","modified":"2023-12-21T19:42:05.559Z","0.0.7":"2023-12-21T18:38:02.338Z","0.0.8":"2023-12-21T18:52:47.960Z","0.0.9":"2023-12-21T19:12:56.654Z","0.0.10":"2023-12-21T19:15:18.339Z","0.0.11":"2023-12-21T19:18:47.540Z","0.0.12":"2023-12-21T19:21:29.506Z","0.0.13":"2023-12-21T19:33:49.429Z","0.0.14":"2023-12-21T19:38:26.146Z","0.0.15":"2023-12-21T19:42:05.386Z"},"maintainers":[{"name":"basproul","email":"braceasproul@gmail.com"}],"description":"Sample integration for LangChain.js","homepage":"https://github.com/langchain-ai/langchainjs#readme","repository":{"type":"git","url":"git+ssh://git@github.com/langchain-ai/langchainjs.git"},"author":{"name":"LangChain"},"bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"license":"MIT","readme":"# @langchain/google-genai\n\nThis package contains the LangChain.js integrations for Gemini through their generative-ai SDK.\n\n## Installation\n\n```bash npm2yarn\nnpm install @langchain/google-genai\n```\n\nThis package, along with the main LangChain package, depends on [`@langchain/core`](https://npmjs.com/package/@langchain/core/).\nIf you are using this package with other LangChain packages, you should make sure that all of the packages depend on the same instance of @langchain/core.\nYou can do so by adding appropriate field to your project's `package.json` like this:\n\n```json\n{\n  \"name\": \"your-project\",\n  \"version\": \"0.0.0\",\n  \"dependencies\": {\n    \"@langchain/google-genai\": \"^0.0.0\",\n    \"langchain\": \"0.0.207\"\n  },\n  \"resolutions\": {\n    \"@langchain/core\": \"0.1.2\"\n  },\n  \"overrides\": {\n    \"@langchain/core\": \"0.1.2\"\n  },\n  \"pnpm\": {\n    \"overrides\": {\n      \"@langchain/core\": \"0.1.2\"\n    }\n  }\n}\n```\n\nThe field you need depends on the package manager you're using, but we recommend adding a field for the common `yarn`, `npm`, and `pnpm` to maximize compatibility.\n\n## Chat Models\n\nThis package contains the `ChatGoogleGenerativeAI` class, which is the recommended way to interface with the Google Gemini series of models.\n\nTo use, install the requirements, and configure your environment.\n\n```bash\nexport GOOGLE_API_KEY=your-api-key\n```\n\nThen initialize\n\n```typescript\nimport { ChatGoogleGenerativeAI } from \"@langchain/google-genai\";\n\nconst model = new ChatGoogleGenerativeAI({\n  modelName: \"gemini-pro\",\n  maxOutputTokens: 2048,\n});\nconst response = await mode.invoke(new HumanMessage(\"Hello world!\"));\n```\n\n#### Multimodal inputs\n\nGemini vision model supports image inputs when providing a single chat message. Example:\n\n```bash npm2yarn\nnpm install @langchain/core\n```\n\n```typescript\nimport fs from \"fs\";\nimport { ChatGoogleGenerativeAI } from \"@langchain/google-genai\";\nimport { HumanMessage } from \"@langchain/core/messages\";\n\nconst vision = new ChatGoogleGenerativeAI({\n  modelName: \"gemini-pro-vision\",\n  maxOutputTokens: 2048,\n});\nconst image = fs.readFileSync(\"./hotdog.jpg\").toString(\"base64\");\nconst input = [\n  new HumanMessage({\n    content: [\n      {\n        type: \"text\",\n        text: \"Describe the following image.\",\n      },\n      {\n        type: \"image_url\",\n        image_url: `data:image/png;base64,${image}`,\n      },\n    ],\n  }),\n];\n\nconst res = await vision.invoke(input);\n```\n\nThe value of `image_url` can be any of the following:\n\n- A public image URL\n- An accessible gcs file (e.g., \"gcs://path/to/file.png\")\n- A base64 encoded image (e.g., `data:image/png;base64,abcd124`)\n- A PIL image\n\n## Embeddings\n\nThis package also adds support for google's embeddings models.\n\n```typescript\nimport { GoogleGenerativeAIEmbeddings } from \"@langchain/google-genai\";\nimport { TaskType } from \"@google/generative-ai\";\n\nconst embeddings = new GoogleGenerativeAIEmbeddings({\n  modelName: \"embedding-001\", // 768 dimensions\n  taskType: TaskType.RETRIEVAL_DOCUMENT,\n  title: \"Document title\",\n});\n\nconst res = await embeddings.embedQuery(\"OK Google\");\n```\n\n## Development\n\nTo develop the Google GenAI package, you'll need to follow these instructions:\n\n### Install dependencies\n\n```bash\nyarn install\n```\n\n### Build the package\n\n```bash\nyarn build\n```\n\nOr from the repo root:\n\n```bash\nyarn build --filter=@langchain/google-genai\n```\n\n### Run tests\n\nTest files should live within a `tests/` file in the `src/` folder. Unit tests should end in `.test.ts` and integration tests should\nend in `.int.test.ts`:\n\n```bash\n$ yarn test\n$ yarn test:int\n```\n\n### Lint & Format\n\nRun the linter & formatter to ensure your code is up to standard:\n\n```bash\nyarn lint && yarn format\n```\n\n### Adding new entrypoints\n\nIf you add a new file to be exported, either import & re-export from `src/index.ts`, or add it to `scripts/create-entrypoints.js` and run `yarn build` to generate the new entrypoint.\n","readmeFilename":"README.md"}