{"_id":"@drobs/ai-api","_rev":"27-91c54d0a9f5ca3f111ebd8bd64c20aa3","name":"@drobs/ai-api","dist-tags":{"latest":"1.7.5"},"versions":{"1.0.0":{"name":"@drobs/ai-api","version":"1.0.0","keywords":["ai","api","openai","gpt","gemini","vertexai","google ai","generative ai","models","text","image"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.0.0","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"9c3226ce5aba2c015d77fa0bab22bacd6b7a3650","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.0.0.tgz","fileCount":23,"integrity":"sha512-0icXMUgXxTK44ennQZR0IKjwOYSxBwCmC6HCehRmMk4n62/GcEi4ZtqJS6M+a3J731t8bkBwfoIR0Fz8NJTVDw==","signatures":[{"sig":"MEYCIQCA7hooW4oLd272CPaM/rrsoqo/ygLY3vCsnJmWtPKcswIhAIUe7vxMy1gbqmISBFPAsf9wAr43rNw4rr+8UEFDPHEm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28522},"main":"index.js","gitHead":"992bc119296e8f2f90e1fff0d336fce2561f9040","private":false,"scripts":{"test":"runnode ./src/text.js"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"^16.4.5","openai":"4.0.0","punycode":"^2.3.1","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.0.0_1723819785335_0.1588093340947514","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@drobs/ai-api","version":"1.0.1","keywords":["ai","api","openai","gpt","gemini","vertexai","google ai","generative ai","models","text","image"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.0.1","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"3a0e6735e07ca1023bc04609ef2a2f9ded50191b","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.0.1.tgz","fileCount":23,"integrity":"sha512-r5ZG4hDOki69ky0bG8QfRVOIAPEoTpGwCWSZwCTQ0LH19oBOKRrjS6b9duwIwYJtUzjCi0kuOZvmIvlSVnqOew==","signatures":[{"sig":"MEUCIHGTomODNH9SCtIqOjm4C75cuk1WWJ9YXa5Sp3WBSxt1AiEA/JtZafe8eYFLThG9MEfQ5OLkqw+GJO3S9k9KP9KtqVs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28533},"main":"./dist/src/index.js","gitHead":"992bc119296e8f2f90e1fff0d336fce2561f9040","private":false,"scripts":{"test":"runnode ./src/text.js"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"^16.4.5","openai":"4.0.0","punycode":"^2.3.1","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.0.1_1723820354066_0.7423694314252451","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@drobs/ai-api","version":"1.0.2","keywords":["ai","api","openai","gpt","gemini","vertexai","google ai","generative ai","models","text","image"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.0.2","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"d9bbbf7975b559d4c55e15b609bf3f0de357c0ee","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.0.2.tgz","fileCount":23,"integrity":"sha512-+ol61F+OW5WS1VTZWf8LKMLkMPMhnA1sIE/oAtW2uvl4BDi4C0G0pr5VC5EBOpwMGT86n9/6ftzEoGdShR2p+A==","signatures":[{"sig":"MEUCIBYqST7ag4mNubhOJGkjOhymdSqK3rHtJwIzowSJIia7AiEAq3EMNrmNf3sdge7WQMTrZ2jTQ1SeqsL+GA/mcrx5xik=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29092},"main":"./dist/src/index.js","gitHead":"992bc119296e8f2f90e1fff0d336fce2561f9040","private":false,"scripts":{"test":"node ./src/test.js"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"^16.4.5","openai":"4.0.0","punycode":"^2.3.1","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.0.2_1723873337482_0.427654177723116","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@drobs/ai-api","version":"1.0.3","keywords":["ai","api","openai","gpt","gemini","vertexai","google ai","generative ai","models","text","image"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.0.3","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"ecae02e6eb03502fcd57a90aa99c0009c705ae4a","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.0.3.tgz","fileCount":23,"integrity":"sha512-DPnmSLJ9xy2Olt8OnO2p0IdJMxEeo10pVp01EbUgR7r3q35naWiTvAtDU8q684om/vMdksNkn2vBdEgrRlJw6g==","signatures":[{"sig":"MEUCIQDjedgP+8/7kUkW4D8tPtocXfNDMTh/gAKSsqedNam6SAIgXkNhDRHd5TL0rsmdC7vj64BPM3S89OboZimD3Tx1NUI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28924},"main":"./dist/src/index.js","gitHead":"992bc119296e8f2f90e1fff0d336fce2561f9040","private":false,"scripts":{"test":"node ./src/test.js"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"^16.4.5","openai":"4.0.0","punycode":"^2.3.1","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.0.3_1723906730708_0.6689105858997333","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@drobs/ai-api","version":"1.0.4","keywords":["ai","api","openai","gpt","gemini","vertexai","google ai","generative ai","models","text","image"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.0.4","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"10dc2b467fb833be1cb89c00876b145f6667628c","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.0.4.tgz","fileCount":11,"integrity":"sha512-0xbsc+huwB49Gtn+HDQfVJZY20GD92BYIUpxjpDiIMedgn4Zspj6sdEh5PmZBGufUtzC0JvucawBg4HyfTN7EQ==","signatures":[{"sig":"MEUCIA/JU2s6/Lp0bZiY8kFx1lwKcrawmVBSh2DDCPt/Mdl9AiEA/LIEeGKqld8ta9dnA0Xeu5CQmJ1Rud6G2W+uxAvwRV4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13642},"main":"./dist/src/index.js","gitHead":"334d94c3b76ce76895d68addc0d0ffa00cef4af7","private":false,"scripts":{"test":"node ./src/test.js"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.56.0","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.0.4_1723912617987_0.46372520340662415","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@drobs/ai-api","version":"1.1.0","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation","image"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.1.0","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"c928409f48b741d36e14f9b48a686a664b022200","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.1.0.tgz","fileCount":11,"integrity":"sha512-dLLZP6NAi46IO5ZNLmGsVYeBTCxrfBNbAw4WrnqMI+oOcxEMMqCMXB/o/ajQmx0DqSkx339hLUfHeqee/LXMzQ==","signatures":[{"sig":"MEQCIDam6snpt4BvJ+XSC7oX2UoVqPtA6nxOAOL7xlWHwyExAiAv49+UDgygE/bJAr8dxUQz3HBPLJqPp2OYQ1Ft4qcRfQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13611},"main":"./dist/src/index.js","type":"module","gitHead":"334d94c3b76ce76895d68addc0d0ffa00cef4af7","private":false,"scripts":{"test":"node ./dist/src/test.js"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.56.0","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.1.0_1723995037373_0.3802235869573667","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@drobs/ai-api","version":"1.1.1","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation","image"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.1.1","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"9ff645c7f43e253dfa7683a6d38b8ce21fcf5fbc","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.1.1.tgz","fileCount":11,"integrity":"sha512-Bujg6vxVB2xsDGRWDOy1bHu4xNkudLHA4D0kL2e1oyYp2sUfSiS5We8I82x/4xdlppMkG3EqZSLx6CmXOtZrrA==","signatures":[{"sig":"MEUCIE1FwWooAbjAnIoWiEXYkk4mpHtEKF4EnOR+RS4mmmYAAiEAxOJHRCNyMzttGNXl6FfGQlJJfA29/PgDGA+hrhmgRTA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13590},"main":"./dist/src/index.js","gitHead":"4dc0e37d82a8b870b5c0b31add0b70540fba0a05","private":false,"scripts":{"test":"node ./dist/src/test.js"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.56.0","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.1.1_1723997226759_0.8405220178756365","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@drobs/ai-api","version":"1.1.2","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation","image"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.1.2","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"aefdf45b78f0027b367ed24c0c87100becf71ee3","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.1.2.tgz","fileCount":23,"integrity":"sha512-QpvUZXR9UVvJ9Khfj8oG0r1FHCbQDhMRp9WW49LButsDZ8NdOH1NA93DfrRzWEAc/HRZ4k3olv1Ry9vhDe3omg==","signatures":[{"sig":"MEUCIAo8ujlXJNt2kk7G7pc55X+759g5cNt+VF0lz/ix9JpSAiEAhV2WrRlPtGNLwmHB8VqP/yve1MlSbehK1CC7cQdHYFU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28372},"main":"./dist/src/index.js","type":"module","gitHead":"4dc0e37d82a8b870b5c0b31add0b70540fba0a05","private":false,"scripts":{"test":"node ./dist/src/test.js"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.56.0","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.1.2_1723997501741_0.7602755895658317","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@drobs/ai-api","version":"1.2.0","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.2.0","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"9b850e637eda084944fab50601d4876d2a236e27","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.2.0.tgz","fileCount":30,"integrity":"sha512-kXWB7vKxzqrIX/IX42z6rxlZgyVlMopmijO99t10PYrVezTB665YDUwyUizV7l5DrkGTyvtQXDsVSVQBXonLOQ==","signatures":[{"sig":"MEUCIHrb65UJRQTk3RoiyOrHg2P8Ta4UAMwGnitAS1nZ4TvOAiEA3A9UcLnFhJTYeQwASPVf/oIcvHUxPnMdVFeJJprtQ5I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49179},"main":"./dist/src/index.js","type":"module","gitHead":"4dc0e37d82a8b870b5c0b31add0b70540fba0a05","private":false,"scripts":{"test":"tsc && node ./dist/src/test.js","build":"tsc"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.56.0","@google/generative-ai":"0.17.0","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.2.0_1724406217731_0.362024905409593","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@drobs/ai-api","version":"1.2.1","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.2.1","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"a4b3ce7fd05f8662b90764532cbc43211e37eac2","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.2.1.tgz","fileCount":30,"integrity":"sha512-ToYvwR9QO4DaW2kMTdswOK+fWD/5zcI/Eu4JlMGIKoFbxtTEBbli9zP1r9vlRUp+i3+WOwnRabfn1Z3/+BfdNA==","signatures":[{"sig":"MEUCIA7PpmzPBXpmmQl84QG+feJWXbfd3Cvls1AUQAAiGxXuAiEAqAMc2/tyWNTnzosi8B5+WtqjkJwyv3p16YjWj659KeU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49540},"main":"./dist/src/index.js","type":"module","gitHead":"ed35d247da26fd8216aebd498e5b186057de1aa0","private":false,"scripts":{"test":"tsc && node ./dist/src/test.js","build":"tsc"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.56.0","@google/generative-ai":"0.17.0","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.2.1_1724427798019_0.19041716222421723","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"@drobs/ai-api","version":"1.2.2","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.2.2","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"b8a58fe42eaef1fd51ee50e864aadfcc8a8e2a60","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.2.2.tgz","fileCount":30,"integrity":"sha512-hydoQmO0snXc+cEeYTHQNqbyR0pd2omRixaDlbkEq2F8rDw8rD7/Lp1mQKQqcBfSJjnMgwlOOE/vlFjjYbmqag==","signatures":[{"sig":"MEYCIQC6PVG/D5U6ecJMQnhuxkq7VngYEXxf5ix0gaTZgB6sDgIhAN3ymi7p4tw5CUW/nhvCAGIgmDRiI02vsuUhKQGATDLN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46917},"main":"./dist/src/index.js","type":"module","gitHead":"3a12072cf97e5c032d485c6e2e30e4d7803180a9","private":false,"scripts":{"test":"tsc && node ./dist/src/test.js","build":"tsc"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.56.0","@google/generative-ai":"0.17.0","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.2.2_1724427888500_0.41636656390955706","host":"s3://npm-registry-packages"}},"1.2.3":{"name":"@drobs/ai-api","version":"1.2.3","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.2.3","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"39cce73b18c52313cd92e69552fa35e8cabc8e20","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.2.3.tgz","fileCount":30,"integrity":"sha512-oWq850GqOhDKGCow4BfiegWES2J9oUXf7aDZnvjxH62KGJ13Dj/Xzqu0DTiFAHJFU6t2OgqX3EXRD4foUjs4Mw==","signatures":[{"sig":"MEQCIB7x9fcjTDwcYT/QnNvVXCl/osjd4aLr2qzW97zsVjuKAiAC1e4DwIrOqrpujlHZm0Hk/uOHuKFSwdk0S+WrpZAsTw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46992},"main":"./dist/src/index.js","type":"module","gitHead":"db19e07d05cb53bd79810fe62309584b844f4a51","private":false,"scripts":{"test":"tsc && node ./dist/src/test.js","build":"tsc"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.56.0","@google/generative-ai":"0.17.0","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.2.3_1724428272879_0.6534336709878783","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@drobs/ai-api","version":"1.3.0","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.3.0","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"d29b3900893d946a5a4effea3929d8df5df613bd","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.3.0.tgz","fileCount":33,"integrity":"sha512-FxYzCAgb7AgGlNo6z+rHf6E0qASJspy8+UjkU/izdr9dg83Wa6aBdEteDPnpgY72bkMJgRd9OMIfL8zlWKmxHQ==","signatures":[{"sig":"MEUCIQClww+Yu6vjcf17sJwUpRUTyGODaEalonQmzk5nU98zJQIgPxo51GC0C7HZs20foRD8HhJam2WsV31p6ed2+iGYYVY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51567},"main":"./dist/src/index.js","type":"module","gitHead":"1f3db4c2c51fc60ea99d8b741466cbe01d67ff94","private":false,"scripts":{"test":"tsc && node ./dist/src/test.js","build":"tsc"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.56.0","@google/generative-ai":"0.17.0","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.3.0_1724432518128_0.3617583479332098","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"@drobs/ai-api","version":"1.3.1","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.3.1","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"ae0852308f9e2e00256df9ed788246c989da6078","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.3.1.tgz","fileCount":33,"integrity":"sha512-AxA4KazdVLPjybPKP88zmjk6vEl7TYSmZ0I3hbIER7dh8vBzHmT2NOf9LdSXB0btF7DXQz97SdHpRrygiz+qYA==","signatures":[{"sig":"MEUCIHxLMS6GBfEIlZFfC8PNXgnRuAq2Ecu5XF24uBLsqIhtAiEAk3iQSbj3HRSBIPtN/5BUGtpGdfmgIrwv0I/AgcCgRg0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51708},"main":"./dist/src/index.js","type":"module","gitHead":"2511fdc49de553ee17b303517553ea79e20bda1f","private":false,"scripts":{"test":"tsc && node ./dist/src/test.js","build":"tsc","publich":"npm publish"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.56.0","@google/generative-ai":"0.17.0","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.3.1_1724607414361_0.8014583736811682","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"@drobs/ai-api","version":"1.4.0","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.4.0","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"ef1b5bc00acc6dc80e57d903c5048e261fd47bc4","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.4.0.tgz","fileCount":33,"integrity":"sha512-6uzOUGon4Lvo8P0XuozuKycc9M7CmH/iDjoy3jhiuOXsPOORO9zo5NNgd3xxAMoO+WtzooUDH/hOj3p0DufU1g==","signatures":[{"sig":"MEQCIEh8GHFY+fHhN0Y//OuvyG77PPbG15b5L59rjWpv918QAiBNNoZOc/ohu8EZ4fXADj0e+SsQyXLhprLGnShty4ggZQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50985},"main":"./dist/src/index.js","type":"module","gitHead":"2511fdc49de553ee17b303517553ea79e20bda1f","private":false,"scripts":{"test":"tsc && node ./dist/src/test.js","build":"tsc","publish":"tsc && npm publish"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.56.0","@google/generative-ai":"0.17.0","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.4.0_1724610860317_0.41606210196088944","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"@drobs/ai-api","version":"1.5.0","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.5.0","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"4029368f6a749ff8904ff69ed28daa4f57a0afff","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.5.0.tgz","fileCount":40,"integrity":"sha512-sThoPab4ycmtylm/8cvcqZ7yZ+NYKuD1R/JJqAjrXZ2CdGskSErMsoR0BYvGiwUPpdjpW/VDVN8OBK9SiuXC7g==","signatures":[{"sig":"MEUCIBt69EyLaZ6SLuqn5BpgTaq5ywV+2Os4BCAiZ3Ku5CyLAiEAvKrvZLFcwsx1uh00Sg5iA7Esxxjn9NcDuGMHl22h90M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":185050},"main":"./dist/src/index.js","type":"module","gitHead":"2511fdc49de553ee17b303517553ea79e20bda1f","private":false,"scripts":{"test":"tsc && node ./dist/src/test.js","build":"tsc","publish":"tsc && npm publish"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.56.0","@google/generative-ai":"0.17.0","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.5.0_1724791145983_0.7418073035593344","host":"s3://npm-registry-packages"}},"1.5.1":{"name":"@drobs/ai-api","version":"1.5.1","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.5.1","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"443814c6f3c36c188547407c7cdca19c88dd83f1","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.5.1.tgz","fileCount":40,"integrity":"sha512-U+5EnkvTxJGRGwg7Rvv7ooDhiAoJ2V9H5iw0uvWD8OTvWOr5n+Sm36nBgej96vUsQ4vufOcrMOzaVR6DMIYUVQ==","signatures":[{"sig":"MEMCH2cTCZymd58BU59UnczC+rsZ4RqvXY+qnThdsdzBBfsCIGSaAW36FFcK9N8CMOt94Yd0STdAqZKwN9tnsFbd7k3Q","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":185050},"main":"./dist/src/index.js","type":"module","gitHead":"2511fdc49de553ee17b303517553ea79e20bda1f","private":false,"scripts":{"test":"tsc && node ./dist/src/test.js","build":"tsc","publish":"tsc && npm publish"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.56.0","@google/generative-ai":"0.17.0","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.5.1_1724791206040_0.4989865855849154","host":"s3://npm-registry-packages"}},"1.5.2":{"name":"@drobs/ai-api","version":"1.5.2","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.5.2","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"68fa3422fc299f5e149558acfc18db76626a4e61","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.5.2.tgz","fileCount":40,"integrity":"sha512-nrRNEv27FV15gVuSkc/gtMvdTsLiB3J11xfUxLNmixsVpgBH4678pg7tQFXQ9uAF5YeaGBByVznzVp+NWIRu4Q==","signatures":[{"sig":"MEQCIC7CvGvokrG5O7wc9ZkyzraA62a8mMBq2amcjde7x1JkAiBycRncPcLRXiq7Hq8nWMjKkN5l8pKm2EkWWQ6F/CSqSA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":185051},"main":"./dist/src/index.js","type":"module","gitHead":"2511fdc49de553ee17b303517553ea79e20bda1f","private":false,"scripts":{"test":"tsc && node ./dist/src/test.js","build":"tsc","publish":"npm publish"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.56.0","@google/generative-ai":"0.17.0","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.5.2_1724791556687_0.4256150607812579","host":"s3://npm-registry-packages"}},"1.5.3":{"name":"@drobs/ai-api","version":"1.5.3","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.5.3","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"3102646793a269ce4cc949079828a5c0b2e2c40e","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.5.3.tgz","fileCount":40,"integrity":"sha512-jcaZVMB71lCvXAWF0pmyQywwAi2vtnEZVprGEiMiSLJctlbMeQj2HMJtAphabk56d3oROHN4vJTHy5ZvRtHTCw==","signatures":[{"sig":"MEUCIQDEsu9HnqDaPLa867lV1whSGXkre+ro6YoIbi+CjqmhOwIgIe1cTkUHYAzb4T/5wTqdUkx76usEXS/d6gaws/ZyV64=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":184969},"main":"./dist/src/index.js","type":"module","gitHead":"2511fdc49de553ee17b303517553ea79e20bda1f","private":false,"scripts":{"test":"tsc && node ./dist/src/test.js","build":"tsc","publish":"npm publish"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.56.0","@google/generative-ai":"0.17.0","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.5.3_1724791847250_0.23355500194015022","host":"s3://npm-registry-packages"}},"1.6.0":{"name":"@drobs/ai-api","version":"1.6.0","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.6.0","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"c012a23a413754dd2edfa5727bd61b36171847eb","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.6.0.tgz","fileCount":39,"integrity":"sha512-ZKwUerp+POTh0VRs+aRZeDxKTyLZcE5aPYKrdocF1HQQLDryAIPe8BMtccI6HmdTO5oBimK4KVfCdmEwIyVeKw==","signatures":[{"sig":"MEUCIQCGAanVGX3VddPWhjoxr0pR19OwfCv4AhQmHdcYRtA4JwIgZ+1A0tzks+vtqpyHz98u01UoW5D+GYuyZgOWgq3Ym/E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":173685},"main":"./dist/src/index.js","type":"module","gitHead":"2511fdc49de553ee17b303517553ea79e20bda1f","private":false,"scripts":{"test":"npx tsc && node ./dist/src/test.js","build":"npx tsc","publish":"npm publish"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.56.0","@google/generative-ai":"0.17.0","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.6.0_1724936124636_0.5331813755150547","host":"s3://npm-registry-packages"}},"1.6.1":{"name":"@drobs/ai-api","version":"1.6.1","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.6.1","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"6c6fe9f6bfa7044485bb1788df47e4fb331423ff","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.6.1.tgz","fileCount":33,"integrity":"sha512-QfKV7kGMR71+C+2gCFdgxLqwiKjk3DOBle6ibOCP+M5JhJGK2eshcz539xE5+o+ZypUvw8VeSRFt05ogy8cUZg==","signatures":[{"sig":"MEYCIQDkDnAhJ0kvPzSZFSNxN5an0zl4egLJSbHQOm6iWUBCvQIhAKSKQI56rTmTMdNiHyo7X4w7YIu+MIllOJ3QHQJUvN+X","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65953},"main":"./dist/src/index.js","type":"module","gitHead":"2511fdc49de553ee17b303517553ea79e20bda1f","private":false,"scripts":{"test":"npx tsc && node ./dist/src/test.js","build":"npx tsc","publish":"npm publish"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.1","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.9.0","globals":"15.9.0","@eslint/js":"9.9.0","typescript-eslint":"8.1.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.56.0","@google/generative-ai":"0.17.0","@google-cloud/vertexai":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.6.1_1724936251648_0.8250802766711487","host":"s3://npm-registry-packages"}},"1.7.0":{"name":"@drobs/ai-api","version":"1.7.0","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.7.0","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"a2b346a68faa130448c8ea5f1dea32c70e2976b2","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.7.0.tgz","fileCount":33,"integrity":"sha512-CADsfTs7uvZ4dHH7qGFBoWYX7A8yUCjF/nBmlybEn1m0hPMZdRXiI88YAwuW4BoO+fKYbEE01d51m040bjEKEw==","signatures":[{"sig":"MEQCIBlyxHKpj/mPEhphQUKk+gI2MHdQ3v8skAiCtdyWHOrQAiBpUB5wmm4KvOgDj1hoCrmFcoW2wMSvv8hDh4vv5/g6Tw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66484},"main":"./dist/src/index.js","type":"module","gitHead":"511b7a7dc79e31003dc10e5da7c677b70dbaee56","private":false,"scripts":{"test":"npx tsc && node ./dist/src/test.js","build":"npx tsc","publish":"npm publish"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.3","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.21.0","globals":"15.15.0","@eslint/js":"9.21.0","typescript-eslint":"8.26.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.86.2","@google/generative-ai":"0.24.0","@google-cloud/vertexai":"1.9.3"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.7.0_1741466612435_0.803730189726366","host":"s3://npm-registry-packages-npm-production"}},"1.7.1":{"name":"@drobs/ai-api","version":"1.7.1","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.7.1","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"c9505a218cca1e9ee5269c88d1db86f9be652fcf","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.7.1.tgz","fileCount":33,"integrity":"sha512-ITniEodPk2bODkkBr4XUqC3HUxeYEbzERAqvBeP3FT2dmOdHhS2mgTEN6wFtjXDPuJDlTf2PfvSsUMah/uffuQ==","signatures":[{"sig":"MEUCIH23UHPNLawkn2Dnf2M30VFoD0heP6eX7muGmdN5gNFmAiEAmQqGq7a0Vn+RZF9CRUo9KAEmSuQJ5aQQk2fagyFRGVI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66486},"main":"./dist/src/index.js","type":"module","gitHead":"f15c764b1fb9ab9ecb4f0d5df610cb25de8cd88e","private":false,"scripts":{"test":"npx tsc && node ./dist/src/test.js","build":"npx tsc","publish":"npm publish"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.3","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.21.0","globals":"15.15.0","@eslint/js":"9.21.0","typescript-eslint":"8.26.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.86.2","@google/generative-ai":"0.24.0","@google-cloud/vertexai":"1.9.3"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.7.1_1741536026196_0.013898268148264226","host":"s3://npm-registry-packages-npm-production"}},"1.7.2":{"name":"@drobs/ai-api","version":"1.7.2","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.7.2","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"d35f5d981c8c3c738b2d850903803f7e475b0e40","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.7.2.tgz","fileCount":33,"integrity":"sha512-H/I+3nhJldF6p/c/wR704MPTw5+FFtnQbqV3YJUuXMZCEnZyj1SZUBsCR0CvcE4bPUt9u+y7/Znl+b8qM8cN5w==","signatures":[{"sig":"MEUCIDgb1Ti1ohqIKvEZHPP7qLBi3bD5PcrjyQ7vBTytzLa5AiEAotJR+eDkRwegHra2j0b1C8EKlqZ5f5+RTUdzTVKUfNo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63644},"main":"./dist/src/index.js","type":"module","gitHead":"f15c764b1fb9ab9ecb4f0d5df610cb25de8cd88e","private":false,"scripts":{"test":"npx tsc && node ./dist/src/test.js","build":"npx tsc"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.3","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.21.0","globals":"15.15.0","@eslint/js":"9.21.0","typescript-eslint":"8.26.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.86.2","@google/generative-ai":"0.24.0","@google-cloud/vertexai":"1.9.3"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.7.2_1741538733769_0.2974230972719112","host":"s3://npm-registry-packages-npm-production"}},"1.7.3":{"name":"@drobs/ai-api","version":"1.7.3","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.7.3","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"24c4d8c2480908e1f629b49bfb9df8e79f445220","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.7.3.tgz","fileCount":33,"integrity":"sha512-zG6fWVK4Sfmy0HS+XCn5wboWHARa2lwzK5k4lMH5a8/k4x+p86QDr+StQ8DZ4Rhr2Ye3StHrJBFL9iyRrTfJnQ==","signatures":[{"sig":"MEUCIAFSueVuwHjhUd5/nW0wKNJGMZi5z2cIZUVbbp05q34SAiEAhkLKxlMscDUTCLcFTZ32nq8S3uW46hBIzJRGaarnoeo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63644},"main":"./dist/src/index.js","type":"module","gitHead":"41713f696aad244200a99b96722195f5058faa33","private":false,"scripts":{"test":"npx tsc && node ./dist/src/test.js","build":"npx tsc"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.3","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.21.0","globals":"15.15.0","@eslint/js":"9.21.0","typescript-eslint":"8.26.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.86.2","@google/generative-ai":"0.24.0","@google-cloud/vertexai":"1.9.3"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.7.3_1741730314593_0.2650064882630565","host":"s3://npm-registry-packages-npm-production"}},"1.7.4":{"name":"@drobs/ai-api","version":"1.7.4","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"author":{"name":"drobs"},"license":"ISC","_id":"@drobs/ai-api@1.7.4","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"homepage":"https://github.com/ddrobecq/ai-api#readme","bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"dist":{"shasum":"4a1c5fb0ca02dd3684d39d58fe93f728838c6135","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.7.4.tgz","fileCount":33,"integrity":"sha512-mfD+Q6qfdAuvGJvPLp33v6wmg3WZEw+it2e7t+Brs1uoDfR29QLqyo1yr2c52fSNcOhvByYixI0QTPQfzrdrpA==","signatures":[{"sig":"MEQCIAxD6Z6U1zCz+Nn1i2+kQAXhbqpUWIR9s13/lzXzEveUAiBBZM5J/HrIWP3sKBXMHh8ko28We5hUKxeoGIc1+KBhmA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63762},"main":"./dist/src/index.js","type":"module","gitHead":"41713f696aad244200a99b96722195f5058faa33","private":false,"scripts":{"test":"npx tsc && node ./dist/src/test.js","build":"npx tsc"},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"repository":{"url":"git+https://github.com/ddrobecq/ai-api.git","type":"git"},"_npmVersion":"10.8.3","description":"Generic API to multiple Generative AI models","directories":{},"_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.21.0","globals":"15.15.0","@eslint/js":"9.21.0","typescript-eslint":"8.26.0"},"peerDependencies":{"dotenv":"16.4.5","openai":"4.86.2","@google/generative-ai":"0.24.0","@google-cloud/vertexai":"1.9.3"},"_npmOperationalInternal":{"tmp":"tmp/ai-api_1.7.4_1741730921277_0.6718504711706239","host":"s3://npm-registry-packages-npm-production"}},"1.7.5":{"name":"@drobs/ai-api","version":"1.7.5","type":"module","private":false,"description":"Generic API to multiple Generative AI models","main":"./dist/src/index.js","scripts":{"test":"npx tsc && node ./dist/src/test.js","build":"npx tsc"},"keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"author":{"name":"drobs"},"license":"ISC","peerDependencies":{"@google-cloud/vertexai":"1.9.3","@google/generative-ai":"0.24.0","dotenv":"16.4.5","openai":"4.86.2"},"devDependencies":{"@eslint/js":"9.21.0","eslint":"9.21.0","globals":"15.15.0","typescript-eslint":"8.26.0"},"repository":{"type":"git","url":"git+https://github.com/ddrobecq/ai-api.git"},"bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"homepage":"https://github.com/ddrobecq/ai-api#readme","_id":"@drobs/ai-api@1.7.5","gitHead":"41713f696aad244200a99b96722195f5058faa33","_nodeVersion":"22.0.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-QXkga5oSl0dcYqjdz63im4qdaavigwnLRV+FYV4+M9huG9mfFwWbT3fjwJQoVS5cmE9sckty6xYWt2cMO7IYFQ==","shasum":"37ff6ffc4b5dc6662452719169e66912a046ead8","tarball":"https://registry.npmjs.org/@drobs/ai-api/-/ai-api-1.7.5.tgz","fileCount":33,"unpackedSize":63594,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDQOjYIMr/Wh6C0bDoWZZw9eUCWam6YGxdI78Y+t9YM4wIgBIzn0ON6iXiLFt8uZIAK6yIgzkpQ2jjYnIaAh6v4t7k="}]},"_npmUser":{"name":"ddrobecq","email":"didier@drobecq.fr"},"directories":{},"maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ai-api_1.7.5_1741732258453_0.5255327551473412"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-16T14:49:45.234Z","modified":"2025-03-11T22:30:58.846Z","1.0.0":"2024-08-16T14:49:45.494Z","1.0.1":"2024-08-16T14:59:14.232Z","1.0.2":"2024-08-17T05:42:17.649Z","1.0.3":"2024-08-17T14:58:50.902Z","1.0.4":"2024-08-17T16:36:58.171Z","1.1.0":"2024-08-18T15:30:37.533Z","1.1.1":"2024-08-18T16:07:06.943Z","1.1.2":"2024-08-18T16:11:41.896Z","1.2.0":"2024-08-23T09:43:37.930Z","1.2.1":"2024-08-23T15:43:18.203Z","1.2.2":"2024-08-23T15:44:48.665Z","1.2.3":"2024-08-23T15:51:13.045Z","1.3.0":"2024-08-23T17:01:58.340Z","1.3.1":"2024-08-25T17:36:54.516Z","1.4.0":"2024-08-25T18:34:20.525Z","1.5.0":"2024-08-27T20:39:06.160Z","1.5.1":"2024-08-27T20:40:06.227Z","1.5.2":"2024-08-27T20:45:56.821Z","1.5.3":"2024-08-27T20:50:47.617Z","1.6.0":"2024-08-29T12:55:24.775Z","1.6.1":"2024-08-29T12:57:31.801Z","1.7.0":"2025-03-08T20:43:32.629Z","1.7.1":"2025-03-09T16:00:26.423Z","1.7.2":"2025-03-09T16:45:33.926Z","1.7.3":"2025-03-11T21:58:34.767Z","1.7.4":"2025-03-11T22:08:41.496Z","1.7.5":"2025-03-11T22:30:58.689Z"},"bugs":{"url":"https://github.com/ddrobecq/ai-api/issues"},"author":{"name":"drobs"},"license":"ISC","homepage":"https://github.com/ddrobecq/ai-api#readme","keywords":["ai","api","openai","gpt","gemini","vertex ai","google ai","generative ai","models","model","llm","large language model","text generation"],"repository":{"type":"git","url":"git+https://github.com/ddrobecq/ai-api.git"},"description":"Generic API to multiple Generative AI models","maintainers":[{"name":"ddrobecq","email":"didier@drobecq.fr"}],"readme":"# AI API\r\n\r\nThis is a generic API for calling different Generative AI models (OpenAI, VertexAI, Google, ...). The API could be invoked with some text, images or video prompt to get text or strem. It implements a Node.js module to be imported in your project\r\n\r\n# Available models\r\n## Google \r\n### Vertex AI - Recommended\r\n - gemini-2.0-flash\r\n #### Procédure\r\n Get the following values from the Google credential JSON file by the <a href=\"https://stackoverflow.com/questions/58460476/where-to-find-credentials-json-for-google-api-client\" target=\" blank\">procedure</a>\r\n Get the complete procedure from <a href=\"https://developers.google.com/workspace/guides/create-credentials?hl=fr#service-account\" target=\" blank\">here</a>\r\n### Generative API\r\nSimpler but only for test or non industrial projects\r\n - gemini-1.5-flash\r\n#### Procédure\r\n  Get your API key following this <a href=\"https://ai.google.dev/gemini-api/docs/api-key?hl=fr\" target=\" blank\">procedure</a>\r\n## Open AI\r\n - gpt-3.5\r\n - gpt-3.5-turbo\r\n - gpt-4o-mini\r\n\r\n# Installation\r\n## Add in your project\r\n```bash\r\nnpm install @drobs/ai-api\r\n```\r\n## Add the environement variables\r\n### Google API (Vertex API) \r\n - GOOGLE_API_PROJECT_ID=Your Project ID (ex : the-experience-xxxxx)\r\n - GOOGLE_API_PRIVATE_KEY_ID=Your Private Key ID (ex : 87adbdad1eb9b1540edf867bd8d79926eb2ad5c8)\r\n - GOOGLE_API_PRIVATE_KEY=Your Private Key (ex : -----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkq...oq4SQJbV\\n-----END PRIVATE KEY-----\\n)\r\n - GOOGLE_API_CLIENT_EMAIL=Your Google Account allowed to use VertexAI API (ex : user@project-projectid.iam.gserviceaccount.com)\r\n - GOOGLE_API_CLIENT_ID=Your Google Client ID (ex : 107696212857897829246)\r\n - GOOGLE_API_REGION=Your Google Region (ex : europe-west9)\r\n - GOOGLE_API_CLIENT_CERT_URL=https://www.googleapis.com/...\r\n### Google API (Generative API)\r\n - GOOGLE_API_PRIVATE_KEY=Your Private Key\r\n### Open API\r\n - OPENAI_API_KEY=Your Open API Key (ex : sk-tfB0mBpLPyQFeUzR7R48issEmHrjNbzCYsT3BlbkFJev3ZGj)\r\n\r\n# Usage\r\n## Procedure\r\n### Import functions from @drobs/ai-api module\r\n ```js\r\nimport { generateContent, getModels } from './index.js';\r\n```\r\n### Choose your model from getModels\r\n### (Optional) Choose options for your request\r\n ```js\r\nconst options = {\r\n    temperature: 0, //from 0 (very deterministic) to 2 (very creative)\r\n    max_tokens: 100, //number of tken for the expected response\r\n    topK: 64, //probability of tokens to consider for each candidate (1=most probable token) (only for Google models)\r\n    topP: 1, //cumulative probability of tokens to consider for each candidate\r\n    candidateCount: 1 //number of candidate responses that will be return by the model\r\n    moderationModel:{} //soon available\r\n}\r\n```\r\n### Create your prompt request\r\n ```js\r\nconst prompt = 'Tell me a story';\r\n```\r\n### Invoke generateContent with the chosen model\r\n ```js\r\nconst response = generateContent (prompt, model, false, options);\r\nconsole.log (response);\r\n```\r\n## Example\r\n```js\r\nimport { generateContent } from '@drobs/ai-api';\r\n\r\nconst prompt = \"This is a test\";\r\nconst model = 4;  //Gemini 1.5 Flash via Vertex AI\r\nconst stream = false;\r\nconst options = {\r\n    temperature: 0,\r\n    max_tokens: 100,\r\n    topP: 1,\r\n    candidateCount: 1\r\n}\r\n\r\nfunction main () {\r\n    generateContent (prompt, model, stream, options)\r\n    .then (result => {\r\n        console.log(result);\r\n    })\r\n    .catch (error => {\r\n        console.error(error);\r\n    }); \r\n}\r\n\r\nmain();\r\n```\r\n\r\n# Contribute\r\n## GitHub Repository\r\nPlease feel free to contribute or report any issue on <a href=\"https://github.com/ddrobecq/ai-api\" target=\"_blank\">GitHub</a>\r\n## Compile\r\n```bash\r\nnpm run build\r\n```\r\n## Test\r\n```bash\r\nnode run test\r\n```\r\n","readmeFilename":"README.md"}