{"_id":"@aiswarm/driver-openai","_rev":"9-749de26b89c7b2844be4791c80b36868","name":"@aiswarm/driver-openai","dist-tags":{"latest":"0.1.9"},"versions":{"0.1.0":{"name":"@aiswarm/driver-openai","version":"0.1.0","description":"A plugin for the AI Swarm that uses OpenAI's API to generate text.","main":"index.js","type":"module","keywords":["@aiswarm:plugin"],"scripts":{"start":"echo \"No start script\" && exit 1","test":"jest --coverage test/"},"author":{"name":"Ravi Gairola"},"license":"MIT","dependencies":{"openai":"^4.20.1"},"devDependencies":{"@types/jest":"^29.5.10","@babel/core":"^7.23.3","@babel/eslint-parser":"^7.23.3","@babel/preset-env":"^7.23.3","babel-jest":"^29.7.0","jest":"^29.7.0"},"_id":"@aiswarm/driver-openai@0.1.0","gitHead":"23addc67ad36125beb2287277229f15980ef67db","_nodeVersion":"21.4.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-smDhnS67WMHu8YXRnFk2y/Axuk/5LfzuezDFAJxwnmC8kwVRsC+xAZ9X6DtiHrTLrWdy4dgtGxD8xJJJa+DCVA==","shasum":"00beeb93a44aec97fbbc24b9680ad26110a76bec","tarball":"https://registry.npmjs.org/@aiswarm/driver-openai/-/driver-openai-0.1.0.tgz","fileCount":8,"unpackedSize":18111,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAwr38T2ry9FyqcKzDSx9MfK0cveVPb1EbHMspGohKggAiEAiWOywwCpbyMKqMDsUUYzp/rEhtvkP0TYJ7y61HEAd18="}]},"_npmUser":{"name":"mallocator","email":"mallox@pyxzl.net"},"directories":{},"maintainers":[{"name":"mallocator","email":"mallox@pyxzl.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/driver-openai_0.1.0_1706045255290_0.10940450761788845"},"_hasShrinkwrap":false},"0.1.1":{"name":"@aiswarm/driver-openai","version":"0.1.1","description":"A plugin for the AI Swarm that uses OpenAI's API to generate text.","main":"index.js","type":"module","keywords":["@aiswarm:plugin"],"scripts":{"start":"echo \"No start script\" && exit 1","test":"jest --coverage test/"},"author":{"name":"Ravi Gairola"},"license":"MIT","dependencies":{"openai":"^4.20.1"},"devDependencies":{"@types/jest":"^29.5.10","@babel/core":"^7.23.3","@babel/eslint-parser":"^7.23.3","@babel/preset-env":"^7.23.3","babel-jest":"^29.7.0","jest":"^29.7.0"},"_id":"@aiswarm/driver-openai@0.1.1","gitHead":"59690c8a4918663ce06441bf5951f2dbbf45ca27","_nodeVersion":"21.4.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-I6wadZewhjjsdY/lvDDXjmrd6KkfPIjxKGUHr8cuCcmxUQpilzFrHmD+9zAU4JQ984Br9IUk6RS4JPQpYc/uAw==","shasum":"dac3547bdfe57f956d1b17775fda6c6a95969338","tarball":"https://registry.npmjs.org/@aiswarm/driver-openai/-/driver-openai-0.1.1.tgz","fileCount":9,"unpackedSize":19960,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNHPGvjjDKHer2xxfoIbW94ZMx2PIkS6/f+YHXDYeLKwIgXFfhU0rs/Ln/XcsJw/VVvkmKhkTzYVc3KLUgdoPynK4="}]},"_npmUser":{"name":"mallocator","email":"mallox@pyxzl.net"},"directories":{},"maintainers":[{"name":"mallocator","email":"mallox@pyxzl.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/driver-openai_0.1.1_1706049260700_0.3327029419726615"},"_hasShrinkwrap":false},"0.1.2":{"name":"@aiswarm/driver-openai","version":"0.1.2","description":"A plugin for the AI Swarm that uses OpenAI's API to generate text.","main":"index.js","type":"module","keywords":["@aiswarm:plugin"],"scripts":{"start":"echo \"No start script\" && exit 1","test":"jest --coverage test/"},"author":{"name":"Ravi Gairola","email":"mallox@pyxzl.net"},"license":"MIT","dependencies":{"openai":"^4.20.1"},"devDependencies":{"@types/jest":"^29.5.10","@babel/core":"^7.23.3","@babel/eslint-parser":"^7.23.3","@babel/preset-env":"^7.23.3","babel-jest":"^29.7.0","jest":"^29.7.0"},"_id":"@aiswarm/driver-openai@0.1.2","gitHead":"9d9aa8877165dc488f9742ffd02169047f598748","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-S3AvNB8VKCcv+ccCmAHbDrZeReHpgET0z9plCSb6StWDqA/l/rlvJHDMs4ML3JpAZ3mtNcyfch5J8haco+hz8Q==","shasum":"eff2b929dd73531e46077307d8ff47781197bc10","tarball":"https://registry.npmjs.org/@aiswarm/driver-openai/-/driver-openai-0.1.2.tgz","fileCount":9,"unpackedSize":20100,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjnD5qZmYJVvc1RC1rtoourCUnFpFMXsA8OTkaBaSB6gIhAOPuEJoSUeVi+0EgBHP7CZNfrOBrw8YkbVNZMQ4pyvxP"}]},"_npmUser":{"name":"mallocator","email":"mallox@pyxzl.net"},"directories":{},"maintainers":[{"name":"mallocator","email":"mallox@pyxzl.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/driver-openai_0.1.2_1710899016723_0.1707073442993403"},"_hasShrinkwrap":false},"0.1.3":{"name":"@aiswarm/driver-openai","version":"0.1.3","description":"A plugin for the AI Swarm that uses OpenAI's API to generate text.","main":"index.js","type":"module","keywords":["@aiswarm:plugin"],"scripts":{"start":"echo \"No start script\" && exit 1","test":"jest --coverage test/"},"author":{"name":"Ravi Gairola","email":"mallox@pyxzl.net"},"license":"MIT","dependencies":{"openai":"^4.20.1"},"devDependencies":{"@types/jest":"^29.5.10","@babel/core":"^7.23.3","@babel/eslint-parser":"^7.23.3","@babel/preset-env":"^7.23.3","babel-jest":"^29.7.0","jest":"^29.7.0"},"_id":"@aiswarm/driver-openai@0.1.3","gitHead":"8bdf529de1de473371220bd9b8d3e6456c3d074e","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-vkoOIueyDgZFCKi81eJ2qPveNH/mb5NKTxA01BXMdlBnfPeVcjRX4j1fDCDPNBJ/0M6VutOgwsBTjTMJeP7Hsg==","shasum":"0f081819ee00b6b7521a9113e2f8c7d879507fe2","tarball":"https://registry.npmjs.org/@aiswarm/driver-openai/-/driver-openai-0.1.3.tgz","fileCount":9,"unpackedSize":20100,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCs2KfxEuC6bBxw+KzSFW0QCbcdvQHt8A+a2FkCwuqqtgIhALLyPHV8YTHZ2Ut9blhNFRfCYgDFZIGaaPdEm0TvJM+l"}]},"_npmUser":{"name":"mallocator","email":"mallox@pyxzl.net"},"directories":{},"maintainers":[{"name":"mallocator","email":"mallox@pyxzl.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/driver-openai_0.1.3_1710899356970_0.9408566024791352"},"_hasShrinkwrap":false},"0.1.4":{"name":"@aiswarm/driver-openai","version":"0.1.4","description":"A plugin for the AI Swarm that uses OpenAI's API to generate text.","main":"index.js","type":"module","keywords":["@aiswarm:plugin"],"scripts":{"start":"echo \"No start script\" && exit 1","test":"jest --coverage test/"},"author":{"name":"Ravi Gairola","email":"mallox@pyxzl.net"},"license":"MIT","dependencies":{"openai":"^4.20.1"},"devDependencies":{"@types/jest":"^29.5.10","@babel/core":"^7.23.3","@babel/eslint-parser":"^7.23.3","@babel/preset-env":"^7.23.3","babel-jest":"^29.7.0","jest":"^29.7.0"},"_id":"@aiswarm/driver-openai@0.1.4","gitHead":"6713623601b79ecbb90ccb843773a618e38c296e","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-iqN9CffA/eFGnWWRGjfFIMonCUGydT0iaRviKgeY6lwzeV1kq4jVujJQVgh4H9Dtwq/ddGJDnfsrwChTREhXkw==","shasum":"a180d3655569382c145e2530c333015351b4801a","tarball":"https://registry.npmjs.org/@aiswarm/driver-openai/-/driver-openai-0.1.4.tgz","fileCount":9,"unpackedSize":20100,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzrFVGGyRKgr46LIV712Wbum6wcnTlfebgspn/Jk1rSwIgKD7uelzRFKpi4c3crfqlhjE4iVJNOn6BDdE9w4KLCRY="}]},"_npmUser":{"name":"mallocator","email":"mallox@pyxzl.net"},"directories":{},"maintainers":[{"name":"mallocator","email":"mallox@pyxzl.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/driver-openai_0.1.4_1710899900184_0.575320049044663"},"_hasShrinkwrap":false},"0.1.5":{"name":"@aiswarm/driver-openai","version":"0.1.5","description":"A plugin for the AI Swarm that uses OpenAI's API to generate text.","main":"index.js","type":"module","keywords":["@aiswarm:plugin"],"scripts":{"start":"echo \"No start script\" && exit 1","test":"jest --coverage test/"},"author":{"name":"Ravi Gairola","email":"mallox@pyxzl.net"},"license":"MIT","dependencies":{"openai":"^4.20.1"},"devDependencies":{"@types/jest":"^29.5.10","@babel/core":"^7.23.3","@babel/eslint-parser":"^7.23.3","@babel/preset-env":"^7.23.3","babel-jest":"^29.7.0","jest":"^29.7.0"},"_id":"@aiswarm/driver-openai@0.1.5","gitHead":"575466d8979de0e02f7b9ffbc350b35233439479","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-MZjYOirDHs7ptuPVqppVc2PL0Ka+BfTRTEmufu2/8p2wOC5wg57TN1j7OwmEbyg3tN7JhYtF20HNONSA7OmIkQ==","shasum":"bf1dc78226bc620e6b90c43c94fe5571bf19ece6","tarball":"https://registry.npmjs.org/@aiswarm/driver-openai/-/driver-openai-0.1.5.tgz","fileCount":9,"unpackedSize":20100,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCz7/zl0IIlGjn1AJNTmBDfH0iQPEl42oCHc6mj4ZCFWwIgQxMWrQStlmbl+X2PbHu+GAfCcDIcLhGPWVML+EPOODY="}]},"_npmUser":{"name":"mallocator","email":"mallox@pyxzl.net"},"directories":{},"maintainers":[{"name":"mallocator","email":"mallox@pyxzl.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/driver-openai_0.1.5_1710900375352_0.5484120011439164"},"_hasShrinkwrap":false},"0.1.6":{"name":"@aiswarm/driver-openai","version":"0.1.6","description":"A plugin for the AI Swarm that uses OpenAI's API to generate text.","main":"index.js","type":"module","keywords":["@aiswarm:plugin"],"scripts":{"start":"echo \"No start script\" && exit 1","test":"jest --coverage test/"},"author":{"name":"Ravi Gairola","email":"mallox@pyxzl.net"},"license":"MIT","dependencies":{"openai":"^4.20.1"},"devDependencies":{"@types/jest":"^29.5.10","@babel/core":"^7.23.3","@babel/eslint-parser":"^7.23.3","@babel/preset-env":"^7.23.3","babel-jest":"^29.7.0","jest":"^29.7.0"},"_id":"@aiswarm/driver-openai@0.1.6","gitHead":"898f51f9a04eebf7bbff834e202627bc3868dbfd","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-GC5qic2TTy9VYhW9WkfRdx6KQ5DNVCy/S74uO9rCbPa/ITlPdL6DlSleTBhwWyIz0FxzRua0GBZLcopRDR3vVw==","shasum":"4377b19221df3b6ba45e0b3820247a29056aa202","tarball":"https://registry.npmjs.org/@aiswarm/driver-openai/-/driver-openai-0.1.6.tgz","fileCount":9,"unpackedSize":20100,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBezKL9zVPt5FfdwP818yMPoZiAPNmaxr76FwL1RUzOxAiB4kEA4HPLa/9jpsjeuj4un/FDsHRzAm6tJ+IRWkZeN4w=="}]},"_npmUser":{"name":"mallocator","email":"mallox@pyxzl.net"},"directories":{},"maintainers":[{"name":"mallocator","email":"mallox@pyxzl.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/driver-openai_0.1.6_1710900803519_0.7696413026956526"},"_hasShrinkwrap":false},"0.1.7":{"name":"@aiswarm/driver-openai","version":"0.1.7","description":"A plugin for the AI Swarm that uses OpenAI's API to generate text.","main":"index.js","type":"module","keywords":["@aiswarm:plugin"],"scripts":{"start":"echo \"No start script\" && exit 1","test":"jest --coverage test/"},"author":{"name":"Ravi Gairola","email":"mallox@pyxzl.net"},"license":"MIT","dependencies":{"openai":"^4.20.1"},"devDependencies":{"@types/jest":"^29.5.10","@babel/core":"^7.23.3","@babel/eslint-parser":"^7.23.3","@babel/preset-env":"^7.23.3","babel-jest":"^29.7.0","jest":"^29.7.0"},"_id":"@aiswarm/driver-openai@0.1.7","gitHead":"3a2aa6119bd86372b2c87246cb7ecc9efcbc8f40","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-lq4uFBuhz+anMAsWLfBSWn4y1aPtQdEPMvF6xYML/Zoe/+x5wHDePoyZzdold53dJzIMracRY2EkyI06JHCpOQ==","shasum":"e86c8c09684d89c56335c59e552e8091a46150fd","tarball":"https://registry.npmjs.org/@aiswarm/driver-openai/-/driver-openai-0.1.7.tgz","fileCount":9,"unpackedSize":20100,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvqWsPIf4XPlvQga74fTf0Yf06LTMsYv3MGt0Ia8mH7AIgDmjGJOM6SSPPwKUzbvByi9+160zyGJi6ho/8MB6F0Uk="}]},"_npmUser":{"name":"mallocator","email":"mallox@pyxzl.net"},"directories":{},"maintainers":[{"name":"mallocator","email":"mallox@pyxzl.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/driver-openai_0.1.7_1710901287189_0.08919548415434853"},"_hasShrinkwrap":false},"0.1.8":{"name":"@aiswarm/driver-openai","version":"0.1.8","description":"A plugin for the AI Swarm that uses OpenAI's API to generate text.","main":"index.js","type":"module","keywords":["@aiswarm:plugin"],"scripts":{"start":"echo \"No start script\" && exit 1","test":"jest --coverage test/"},"author":{"name":"Ravi Gairola","email":"mallox@pyxzl.net"},"license":"MIT","dependencies":{"openai":"^4.20.1"},"devDependencies":{"@types/jest":"^29.5.10","@babel/core":"^7.23.3","@babel/eslint-parser":"^7.23.3","@babel/preset-env":"^7.23.3","babel-jest":"^29.7.0","jest":"^29.7.0"},"_id":"@aiswarm/driver-openai@0.1.8","gitHead":"5c6c0e510d0c94f878fee8ed7ffe53a99c1b3f59","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-zXRDT8RpRLHuQj+aSDsg+wRe3wSd7+6QRN1ZgQKFDOrQDIGboctpfamxIUlAXDFOxiauF/+q4htPX8pbMB8v4w==","shasum":"3282a8bde7ec8b5a5be657ddc14c3e4d64af9613","tarball":"https://registry.npmjs.org/@aiswarm/driver-openai/-/driver-openai-0.1.8.tgz","fileCount":9,"unpackedSize":20100,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFdcAOl8k9N19cnUoJ46ls3oSV6G1d0JRV/HaCM3D2xCAiAIM6tYTLKQE6+OardCXuQUEWXazTiqB/gl8oMae/uGrA=="}]},"_npmUser":{"name":"mallocator","email":"mallox@pyxzl.net"},"directories":{},"maintainers":[{"name":"mallocator","email":"mallox@pyxzl.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/driver-openai_0.1.8_1710903203665_0.44661701588748004"},"_hasShrinkwrap":false},"0.1.9":{"name":"@aiswarm/driver-openai","version":"0.1.9","description":"A plugin for the AI Swarm that uses OpenAI's API to generate text.","main":"index.js","type":"module","keywords":["@aiswarm:plugin"],"scripts":{"start":"echo \"No start script\" && exit 1","test":"jest --coverage test/"},"author":{"name":"Ravi Gairola","email":"mallox@pyxzl.net"},"license":"MIT","dependencies":{"openai":"^4.20.1"},"devDependencies":{"@types/jest":"^29.5.10","@babel/core":"^7.23.3","@babel/eslint-parser":"^7.23.3","@babel/preset-env":"^7.23.3","babel-jest":"^29.7.0","jest":"^29.7.0"},"_id":"@aiswarm/driver-openai@0.1.9","gitHead":"a6e897b7c27da8e70baa0074a0ad039e3263cb66","_nodeVersion":"21.7.1","_npmVersion":"10.5.0","dist":{"integrity":"sha512-2L86XRk+zVwws+05ZV4eIfoLBcJjVYxUQ6wNlYpdgTbQ/FFBJRIlBDligWj7xX53CwVwk8VjGsT1lUytybSAvA==","shasum":"28702e4471b45b527df2a711853ddb74bcc8d585","tarball":"https://registry.npmjs.org/@aiswarm/driver-openai/-/driver-openai-0.1.9.tgz","fileCount":9,"unpackedSize":20100,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvJa5g+9aelpqFFfFt8nolnlWmN+maqIPRR32t3wjL2wIgOKlcJLDhnriuo+XolWJql2r0Nr1/suLEyvZjVM20JGg="}]},"_npmUser":{"name":"mallocator","email":"mallox@pyxzl.net"},"directories":{},"maintainers":[{"name":"mallocator","email":"mallox@pyxzl.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/driver-openai_0.1.9_1710992901717_0.4633076603544011"},"_hasShrinkwrap":false}},"time":{"created":"2024-01-23T21:27:35.178Z","0.1.0":"2024-01-23T21:27:35.451Z","modified":"2024-03-21T03:48:22.777Z","0.1.1":"2024-01-23T22:34:20.896Z","0.1.2":"2024-03-20T01:43:36.865Z","0.1.3":"2024-03-20T01:49:17.143Z","0.1.4":"2024-03-20T01:58:20.347Z","0.1.5":"2024-03-20T02:06:15.499Z","0.1.6":"2024-03-20T02:13:23.819Z","0.1.7":"2024-03-20T02:21:27.324Z","0.1.8":"2024-03-20T02:53:23.805Z","0.1.9":"2024-03-21T03:48:21.922Z"},"maintainers":[{"name":"mallocator","email":"mallox@pyxzl.net"}],"description":"A plugin for the AI Swarm that uses OpenAI's API to generate text.","keywords":["@aiswarm:plugin"],"author":{"name":"Ravi Gairola","email":"mallox@pyxzl.net"},"license":"MIT","readme":"[![npm version](https://badge.fury.io/js/%40aiswarm%2Fdriver-openai.svg)](https://badge.fury.io/js/%40aiswarm%2Fdriver-openai)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Downloads](https://img.shields.io/npm/dm/%40aiswarm%2Fdriver-openai.svg)](https://npmjs.com/package/%40aiswarm%2Fdriver-openai)\n[![Issues](https://img.shields.io/github/issues-raw/aiswarm/driver-openai)](https://github.com/aiswarm/driver-openai/issues)\n[![Known Vulnerabilities](https://snyk.io/test/github/aiswarm/driver-openai/badge.svg)](https://snyk.io/test/github/aiswarm/driver-openai)\n\n# AI Swarm - Driver OpenAI\n\nThis is a driver for the AI Swarm that uses the [OpenAI](https://openai.com/) API to provide a LLM for the AI Swarm. It handles all communication with any agents running in the swarm using the OpenAI API. The driver does not run on its own, it must be used with the [Orchestrator](https://github.com/aiswarm/orchestrator). \n\nIf you're looking for an easy way to get started with the AI Swarm, check out the [Conductor](https://github.com/aiswarm/conductor) project.\n\n## Project setup for development\n\n```\nnpm install\n```\n\n## Recommended Setup for development with other plugins\n\nYou will need to link the plugin to the other plugins you want to use. So that you can make changes and see them immediately without having to publish the plugin to npm.\n\nFor this I recommend you create a new folder for the AI Swarm and clone all the plugins you want to use into it. Then link them together.\n\nEach plugin has `link` script defined in the `package.json` file if there are dependencies on other packages.\nYou can run it with `npm run link` to link your code directly when you make changes.\n\nThis project does not have any dependencies on other plugins, so you don't need to link anything.","readmeFilename":"README.md"}