{"_id":"@chaingpt/generalchat","_rev":"20-c058cccc65750eb560b15680f5a15f8b","name":"@chaingpt/generalchat","dist-tags":{"latest":"0.0.19"},"versions":{"0.0.3":{"name":"@chaingpt/generalchat","version":"0.0.3","keywords":["ai","chat","api","sdk","typescript"],"author":{"name":"chaingpt"},"license":"MIT","_id":"@chaingpt/generalchat@0.0.3","maintainers":[{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},{"name":"maxcgpt","email":"max@chaingpt.org"},{"name":"cgptadmin","email":"info@chaingpt.org"}],"dist":{"shasum":"4d90e69457a03ce6a9c244b84f82885c6520f18c","tarball":"https://registry.npmjs.org/@chaingpt/generalchat/-/generalchat-0.0.3.tgz","fileCount":39,"integrity":"sha512-DurQC1SfKbK1TI0WH48wSbT9pkJiWXBIvsxi+aIUFGKk47MyHIU59I69asouBw8tLnVjqb1+5cyP/YebwxYVXg==","signatures":[{"sig":"MEQCIASa60aLloyrvYGOdUtOGcnxtdnPME9OcvHJsNMlt6WMAiBAIT5/tUteR5GK2NpWW9leLj00b5VmoIWnIGmmi70vLQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24893},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"029977d6a103c9124af8208244ca187c9c57d912","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},"_npmVersion":"9.8.1","description":"SDK for GeneralChat","directories":{},"_nodeVersion":"18.18.2","dependencies":{"axios":"^1.6.2","@types/node":"^20.10.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/generalchat_0.0.3_1703059181014_0.8168894470235883","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@chaingpt/generalchat","version":"0.0.4","keywords":["ai","chat","api","sdk","typescript"],"author":{"name":"chaingpt"},"license":"MIT","_id":"@chaingpt/generalchat@0.0.4","maintainers":[{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},{"name":"maxcgpt","email":"max@chaingpt.org"},{"name":"cgptadmin","email":"info@chaingpt.org"}],"dist":{"shasum":"50a4335de66272d9c7c216b0c4dda0f5676fee70","tarball":"https://registry.npmjs.org/@chaingpt/generalchat/-/generalchat-0.0.4.tgz","fileCount":39,"integrity":"sha512-M7XRABCZz7a3BCTr8d2w8n8/ZCAH3Oe3Qfp2X816cOLdlCJEHBoWuU6eAEJrKnwA1NxQeC0b/Cx29ASkfthghQ==","signatures":[{"sig":"MEYCIQC8j7zyZWq3purn+6hiGIaBFuq50hTYDumDTySt9yoZpQIhAJagwzT1BIOnHEEFtM6yvetvv5lLUlXOqtBFxhoZCT6W","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24911},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"029977d6a103c9124af8208244ca187c9c57d912","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},"_npmVersion":"9.8.1","description":"SDK for GeneralChat","directories":{},"_nodeVersion":"18.18.2","dependencies":{"axios":"^1.6.2","@types/node":"^20.10.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/generalchat_0.0.4_1703080233428_0.3985762378789872","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@chaingpt/generalchat","version":"0.0.5","keywords":["ai","chat","api","sdk","typescript"],"author":{"name":"chaingpt"},"license":"MIT","_id":"@chaingpt/generalchat@0.0.5","maintainers":[{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},{"name":"maxcgpt","email":"max@chaingpt.org"},{"name":"cgptadmin","email":"info@chaingpt.org"}],"dist":{"shasum":"65623ec4277785dcdb549e8d32f44a8c27a16f35","tarball":"https://registry.npmjs.org/@chaingpt/generalchat/-/generalchat-0.0.5.tgz","fileCount":39,"integrity":"sha512-7iz9p15MarpHKFxx/CPv8XJCpoGLIyhVjFKy0OJFwPzMX/UCn3XycfMOOKrqTASQsFB8ELHplzcdorFv5WxWCA==","signatures":[{"sig":"MEYCIQDud0kFoO9zK/9l7GxNxB54m1BklXZyfyJ7XhYh7oBMewIhAPUpmnLJ8HpgTwXFvVCbH4VInU7kS7GbLZH/zfqYjokD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25012},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"90f2bceb88752a23ce4046171439e3b3d2724153","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},"_npmVersion":"9.8.1","description":"SDK for GeneralChat","directories":{},"_nodeVersion":"18.18.2","dependencies":{"axios":"^1.6.2","@types/node":"^20.10.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/generalchat_0.0.5_1703847666650_0.5361697200082234","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@chaingpt/generalchat","version":"0.0.6","keywords":["ai","chat","api","sdk","typescript"],"author":{"name":"chaingpt"},"license":"MIT","_id":"@chaingpt/generalchat@0.0.6","maintainers":[{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},{"name":"maxcgpt","email":"max@chaingpt.org"},{"name":"cgptadmin","email":"info@chaingpt.org"}],"dist":{"shasum":"84b06c67b20e080a461894b25a4e6642ca8a0e70","tarball":"https://registry.npmjs.org/@chaingpt/generalchat/-/generalchat-0.0.6.tgz","fileCount":39,"integrity":"sha512-bQO0dIv4iEpjKBocGUl2HrnV9FdsEHG2Ea8ChKKnQbhMxScZZaP0H5JD/T7BuLxIlsb9qCa7JWRW3fd9oKu98A==","signatures":[{"sig":"MEUCIAZPALJHJXNLqT6qcGFK9QHWeVY/JPmmpwGrkAuYJoPCAiEAu+evaT6q5r85OL+6C5HqT7yQ+mL6QJYEH3psQZyi2HM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25012},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"4062f7233c64594cee625d3e362e9ac7d1684d2b","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},"_npmVersion":"9.8.1","description":"SDK for GeneralChat","directories":{},"_nodeVersion":"18.18.2","dependencies":{"axios":"^1.6.2","@types/node":"^20.10.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/generalchat_0.0.6_1703854411897_0.19890845149372582","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"@chaingpt/generalchat","version":"0.0.7","keywords":["ai","chat","api","sdk","typescript"],"author":{"name":"chaingpt"},"license":"MIT","_id":"@chaingpt/generalchat@0.0.7","maintainers":[{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},{"name":"maxcgpt","email":"max@chaingpt.org"},{"name":"cgptadmin","email":"info@chaingpt.org"}],"dist":{"shasum":"b17763376c7c2eaad6053fe8478225188d770432","tarball":"https://registry.npmjs.org/@chaingpt/generalchat/-/generalchat-0.0.7.tgz","fileCount":39,"integrity":"sha512-ZsXCG0ztx4OHFh5Ml7NBVfT6xRbJ1llq8ddXjX9BUflPX2HuvM9l/s+Pye5yfUoT2WQUVZ9KK0t4pMXRGSBAIg==","signatures":[{"sig":"MEUCIQCWUuQBt8cjl6KaJDTEzh/zH/ol/Gxv4UEfzlFGZ3SB5wIgKpzqjxhXhgBzdzw5EBt77bP6Glh3sEaGN2VpBBPE0ZE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25012},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"4062f7233c64594cee625d3e362e9ac7d1684d2b","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},"_npmVersion":"9.8.1","description":"SDK for GeneralChat","directories":{},"_nodeVersion":"18.18.2","dependencies":{"axios":"^1.6.2","@types/node":"^20.10.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/generalchat_0.0.7_1704110004077_0.13453731082656972","host":"s3://npm-registry-packages"}},"0.0.8":{"name":"@chaingpt/generalchat","version":"0.0.8","keywords":["ai","chat","api","sdk","typescript"],"author":{"name":"chaingpt"},"license":"MIT","_id":"@chaingpt/generalchat@0.0.8","maintainers":[{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},{"name":"maxcgpt","email":"max@chaingpt.org"},{"name":"cgptadmin","email":"info@chaingpt.org"}],"dist":{"shasum":"f0f71fe109ba39df5f4aa60b3574ae2979c31281","tarball":"https://registry.npmjs.org/@chaingpt/generalchat/-/generalchat-0.0.8.tgz","fileCount":39,"integrity":"sha512-8ihlGUsC4eXPQUpd6ahxzyNt/GYsk1Ij0tlMUzJqI9ZyZQyNuH9kWBuKvLJdBFIRIHOZ2HRwQSAORMSeVKNS3Q==","signatures":[{"sig":"MEUCIE9eXWXnlSLZk3sSrE8N6UYd1qVAGzexSLmv2jEnjnT9AiEAwmI9movJlCEV4OSDhCmcAOCWpbDEYI37dMGOkxNj7Pc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24812},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"ddec9127147ad3c8b22b14ca2fe09bc27120c8e4","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},"_npmVersion":"9.8.1","description":"SDK for GeneralChat","directories":{},"_nodeVersion":"18.18.2","dependencies":{"axios":"^1.6.2","@types/node":"^20.10.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/generalchat_0.0.8_1709201936215_0.7496472497383304","host":"s3://npm-registry-packages"}},"0.0.9":{"name":"@chaingpt/generalchat","version":"0.0.9","keywords":["ai","chat","api","sdk","typescript"],"author":{"name":"chaingpt"},"license":"MIT","_id":"@chaingpt/generalchat@0.0.9","maintainers":[{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},{"name":"maxcgpt","email":"max@chaingpt.org"},{"name":"cgptadmin","email":"info@chaingpt.org"}],"dist":{"shasum":"2a8ca3847d14bef7d4e330a449a99a992263744c","tarball":"https://registry.npmjs.org/@chaingpt/generalchat/-/generalchat-0.0.9.tgz","fileCount":53,"integrity":"sha512-959G/w6wKZqH7jcaZ3/wsRuGFrDhsl2QksHtUVmEraC7tZ4XOzmq5ktXc9mfElummFtQW/X3nY8uRohkf6bMGw==","signatures":[{"sig":"MEUCIE53n6GjZU/rVVT3FdkO7V7VuOevOF8FH5AWZHOCooWUAiEA6fTu4ND+Ppk3UDh3xWJGhR0PnLFdHPa10fJgrgK3My8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48971},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"1411eb30506e1f046a47186e96df05cfa90035d6","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},"_npmVersion":"10.8.2","description":"SDK for GeneralChat","directories":{},"_nodeVersion":"20.17.0","dependencies":{"axios":"^1.6.2","form-data":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.17.6","@types/form-data":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/generalchat_0.0.9_1730976286179_0.8799520178945726","host":"s3://npm-registry-packages"}},"0.0.10":{"name":"@chaingpt/generalchat","version":"0.0.10","keywords":["ai","chat","api","sdk","typescript"],"author":{"name":"chaingpt"},"license":"MIT","_id":"@chaingpt/generalchat@0.0.10","maintainers":[{"name":"maxcgpt","email":"max@chaingpt.org"},{"name":"cgptadmin","email":"info@chaingpt.org"},{"name":"shahroze","email":"shahroze.shakeel@funavry.com"}],"dist":{"shasum":"672eba3d7c1c9a4a58b307fa3095da62b59ab1e9","tarball":"https://registry.npmjs.org/@chaingpt/generalchat/-/generalchat-0.0.10.tgz","fileCount":53,"integrity":"sha512-QTv/xA/N5KCFpby4fIueQBwVX1E7b1ySCFUoGBdMqxaeMOryfudBb4iR2wOq9WEwxNz+fKS7tPy/ejTpuYf9EA==","signatures":[{"sig":"MEUCIQDKM9l23XoRutguOhWbixI0ZWHTsj1cBCowSdOrIfr9agIgFHPv7hLDT1qZxFvaJKcU/PtFmMAipXJ5SU6Qi2an08A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52215},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"99391c76c771e9b65c90c31229e2d14f56d4e800","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},"_npmVersion":"10.8.2","description":"SDK for GeneralChat","directories":{},"_nodeVersion":"20.17.0","dependencies":{"axios":"^1.6.2","form-data":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.17.6","@types/form-data":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/generalchat_0.0.10_1738587265983_0.25944287297627744","host":"s3://npm-registry-packages-npm-production"}},"0.0.11":{"name":"@chaingpt/generalchat","version":"0.0.11","keywords":["ai","chat","api","sdk","typescript"],"author":{"name":"chaingpt"},"license":"MIT","_id":"@chaingpt/generalchat@0.0.11","maintainers":[{"name":"maxcgpt","email":"max@chaingpt.org"},{"name":"cgptadmin","email":"info@chaingpt.org"},{"name":"shahroze","email":"shahroze.shakeel@funavry.com"}],"dist":{"shasum":"c9c58e19e805ec719e35f68ae213f80cf19bb42c","tarball":"https://registry.npmjs.org/@chaingpt/generalchat/-/generalchat-0.0.11.tgz","fileCount":59,"integrity":"sha512-s8VnHu8DLNCFJMtTE9mBzJvYC4KjMn9fldqI3X75nUq2qyD/HF00VR/kW0Ucd8lWMMRtAMEtsUF4xP1cp4aB9w==","signatures":[{"sig":"MEUCIEOODi3akdmW+SINJu/d3bFDm7NCu2d5cRrGtOH0iAGUAiEAtRvj7Rt+3blw2Cy6HDTFSEBUWXhkcAj1QOAAYox5YJ8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":68930},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"59cf30858d1db4675691d5414bae276658237d6b","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},"_npmVersion":"10.8.2","description":"SDK for GeneralChat","directories":{},"_nodeVersion":"20.17.0","dependencies":{"axios":"^1.6.2","form-data":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.17.6","@types/form-data":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/generalchat_0.0.11_1741003575321_0.5386515595206096","host":"s3://npm-registry-packages-npm-production"}},"0.0.12":{"name":"@chaingpt/generalchat","version":"0.0.12","keywords":["ai","chat","api","sdk","typescript"],"author":{"name":"chaingpt"},"license":"MIT","_id":"@chaingpt/generalchat@0.0.12","maintainers":[{"name":"maxcgpt","email":"max@chaingpt.org"},{"name":"cgptadmin","email":"info@chaingpt.org"},{"name":"shahroze","email":"shahroze.shakeel@funavry.com"}],"dist":{"shasum":"a83e17334a82540ce403704ac51851f57c59f1a2","tarball":"https://registry.npmjs.org/@chaingpt/generalchat/-/generalchat-0.0.12.tgz","fileCount":59,"integrity":"sha512-UpzF8371x55/yVkK1mYfzLItYKeeqsL6+qfPrvMI8JeEX9KUP5DvQElIQRGXBXbydB6UD2By5KCVJQYNX3bLDg==","signatures":[{"sig":"MEUCIADmuoOYKUxgKO5FlhV43LU8rFR5+7LQsF9yL1zoysE3AiEA5Q0KnVvMM7HMaf2eKx7TmM/i2dzDRg2X/Uo/C1YORoY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70022},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"f621050955f4cd52297b55c0ee6ff23dc765fd08","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},"_npmVersion":"10.8.2","description":"SDK for GeneralChat","directories":{},"_nodeVersion":"20.17.0","dependencies":{"axios":"^1.6.2","form-data":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.17.6","@types/form-data":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/generalchat_0.0.12_1741086529342_0.9892053280925379","host":"s3://npm-registry-packages-npm-production"}},"0.0.13":{"name":"@chaingpt/generalchat","version":"0.0.13","keywords":["ai","chat","api","sdk","typescript"],"author":{"name":"chaingpt"},"license":"MIT","_id":"@chaingpt/generalchat@0.0.13","maintainers":[{"name":"maxcgpt","email":"max@chaingpt.org"},{"name":"cgptadmin","email":"info@chaingpt.org"},{"name":"shahroze","email":"shahroze.shakeel@funavry.com"}],"dist":{"shasum":"5783191053f302e36d93aff81c91888776dd83ad","tarball":"https://registry.npmjs.org/@chaingpt/generalchat/-/generalchat-0.0.13.tgz","fileCount":59,"integrity":"sha512-4Tnwhpit87TI4VeYBs1vRltS5IshBJ1vttolsjCZ1q2uYFyWdwKriDoBaM6fgesU1L0Wdz2YSOfIfZPCef8i4A==","signatures":[{"sig":"MEUCIQCO1S1Rn5mHIGeeFvQ7qtaXbwF3elMlXHopD1vpyjZfvQIgISBm257VoxN0TkevKoLXvXvKW7u80H06mTj78bSkSHA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":74480},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"bee97e6b0512a19e2022f5bf1154ac06dad2f9b4","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},"_npmVersion":"10.8.2","description":"SDK for GeneralChat","directories":{},"_nodeVersion":"20.17.0","dependencies":{"axios":"^1.6.2","form-data":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.17.6","@types/form-data":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/generalchat_0.0.13_1741626434234_0.792635551977344","host":"s3://npm-registry-packages-npm-production"}},"0.0.14":{"name":"@chaingpt/generalchat","version":"0.0.14","keywords":["ai","chat","api","sdk","typescript"],"author":{"name":"chaingpt"},"license":"MIT","_id":"@chaingpt/generalchat@0.0.14","maintainers":[{"name":"maxcgpt","email":"max@chaingpt.org"},{"name":"cgptadmin","email":"info@chaingpt.org"},{"name":"shahroze","email":"shahroze.shakeel@funavry.com"}],"dist":{"shasum":"553f1ae4cc2d6922a00a3938388d573e4932fde7","tarball":"https://registry.npmjs.org/@chaingpt/generalchat/-/generalchat-0.0.14.tgz","fileCount":59,"integrity":"sha512-jGqkjNMq8aWnmnKE7EuG63hql5k2SMgP8Eh0cI/ghQgcK0L6WwuaZtWaFcSbI4+dgaiEJbEBw/JsLqnYecHDkQ==","signatures":[{"sig":"MEUCIQDe39ATi68S4Rw/rw92dOLFu8qGORcIrR9hfKFz90WBEQIgVXrnhqisBv1JLq1ZlOXZY0PVV4b+q4OyFNYdbl3Jgpo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75077},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"1e1430040af18b916ff17df2eed1f96d14c6dd2b","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},"_npmVersion":"10.8.2","description":"SDK for GeneralChat","directories":{},"_nodeVersion":"20.17.0","dependencies":{"axios":"^1.6.2","form-data":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.17.6","@types/form-data":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/generalchat_0.0.14_1741693803154_0.4429228314613747","host":"s3://npm-registry-packages-npm-production"}},"0.0.15":{"name":"@chaingpt/generalchat","version":"0.0.15","keywords":["ai","chat","api","sdk","typescript"],"author":{"name":"chaingpt"},"license":"MIT","_id":"@chaingpt/generalchat@0.0.15","maintainers":[{"name":"maxcgpt","email":"max@chaingpt.org"},{"name":"cgptadmin","email":"info@chaingpt.org"},{"name":"shahroze","email":"shahroze.shakeel@funavry.com"}],"dist":{"shasum":"b7078992b1ac344c41603188939d43206d38aa4a","tarball":"https://registry.npmjs.org/@chaingpt/generalchat/-/generalchat-0.0.15.tgz","fileCount":59,"integrity":"sha512-px5++vmDPO7NmCLVPDnHei2FMjSmt8lgKqPOVWcFLaeW05aQLlDjYcZimnwCWiPKaePunlahcPpQtPuIaCRguQ==","signatures":[{"sig":"MEQCIEjGgfBwlvaNixaKEM6++BzuJwEyIk0MytGxMhmFPKiTAiBqYmNx1oeTGUgXJcMzHu8DYCBOh27c8xIXitKPjB/UlA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":76502},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"9087cb413d9cea834f35faf17e26002fa5fca889","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},"_npmVersion":"10.8.2","description":"SDK for GeneralChat","directories":{},"_nodeVersion":"20.17.0","dependencies":{"axios":"^1.6.2","form-data":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.17.6","@types/form-data":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/generalchat_0.0.15_1742306332324_0.05744704912606502","host":"s3://npm-registry-packages-npm-production"}},"0.0.16":{"name":"@chaingpt/generalchat","version":"0.0.16","keywords":["ai","chat","api","sdk","typescript"],"author":{"name":"chaingpt"},"license":"MIT","_id":"@chaingpt/generalchat@0.0.16","maintainers":[{"name":"maxcgpt","email":"max@chaingpt.org"},{"name":"cgptadmin","email":"info@chaingpt.org"},{"name":"shahroze","email":"shahroze.shakeel@funavry.com"}],"dist":{"shasum":"309457bfda50a266ca0573ab982d27768afba979","tarball":"https://registry.npmjs.org/@chaingpt/generalchat/-/generalchat-0.0.16.tgz","fileCount":59,"integrity":"sha512-RxjiXRi8f2pMsbqiZpsqCLVJ35s85DtfRDqJmJc8Mbev05VupPzpTyXVI+sOh3FLkcRiAu5FbVdtorUihCyWTA==","signatures":[{"sig":"MEQCIBCn1XurY2x52ZnMGOjUs6AReHpjzZos2QVPkbLE4sj8AiAdfQbw3cwPv/IMpAAUynEmqhd58CDHQi73MPl6pRstpA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":76622},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"5461105c1edc9bfb5c0fde9193d952ceb5e012e9","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},"_npmVersion":"10.8.2","description":"SDK for GeneralChat","directories":{},"_nodeVersion":"20.17.0","dependencies":{"axios":"^1.6.2","form-data":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.17.6","@types/form-data":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/generalchat_0.0.16_1742553677100_0.8829732618959121","host":"s3://npm-registry-packages-npm-production"}},"0.0.17":{"name":"@chaingpt/generalchat","version":"0.0.17","keywords":["ai","chat","api","sdk","typescript"],"author":{"name":"chaingpt"},"license":"MIT","_id":"@chaingpt/generalchat@0.0.17","maintainers":[{"name":"maxcgpt","email":"max@chaingpt.org"},{"name":"cgptadmin","email":"info@chaingpt.org"},{"name":"shahroze","email":"shahroze.shakeel@funavry.com"},{"name":"taimoortech","email":"m.taimoor@chaingpt.tech"}],"dist":{"shasum":"b8abc810f341551fe7c366f5daa1bfda3a3215ae","tarball":"https://registry.npmjs.org/@chaingpt/generalchat/-/generalchat-0.0.17.tgz","fileCount":59,"integrity":"sha512-8EQV5O1cp+hVnY1mZr+OQgRwEqKSwm/nfUqqIMgpTByBMGMPEF5YFsbJhmQ2b5Ijxx9u17vv/t+isaI5LfwlCA==","signatures":[{"sig":"MEUCIEqQM6YXpiGz+OTeRFcOC1Cxx9OEmm/NUfd5PG8QvG2aAiEA1FUHMcnqxyuZ2WJ1Z1IXpodzhALgVY3UmrLbO5X8TbI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":76640},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"a02c2ecaace36d931f2d5b3f37568cba8b220655","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"taimoortech","email":"m.taimoor@chaingpt.tech"},"_npmVersion":"10.8.2","description":"SDK for GeneralChat","directories":{},"_nodeVersion":"20.18.0","dependencies":{"axios":"^1.6.2","form-data":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.17.6","@types/form-data":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/generalchat_0.0.17_1744726296986_0.7733936838735795","host":"s3://npm-registry-packages-npm-production"}},"0.0.18":{"name":"@chaingpt/generalchat","version":"0.0.18","keywords":["ai","chat","api","sdk","typescript"],"author":{"name":"chaingpt"},"license":"MIT","_id":"@chaingpt/generalchat@0.0.18","maintainers":[{"name":"maxcgpt","email":"max@chaingpt.org"},{"name":"cgptadmin","email":"info@chaingpt.org"},{"name":"usman-chaingpt","email":"muhammad.usman@chaingpt.tech"}],"dist":{"shasum":"13c34a152ce77221d239927dad06ef6d06442ed9","tarball":"https://registry.npmjs.org/@chaingpt/generalchat/-/generalchat-0.0.18.tgz","fileCount":59,"integrity":"sha512-Odn6A4Hb7M3W2r/w6O07fEDcJ6nQ7MrVx7JJmQmYhbSyMc2gAqR6pbYXGMZk+4t+dqM0uwswcSRyQ+qe9hl9KQ==","signatures":[{"sig":"MEUCIA16CQmAG6sJHlQeIi/8o0060+J3arGCleNYPkxhme1nAiEA9+iD7TqAhktGdDbIU6UQ/17HwJXu2/VcrRxe6DGTYV8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":76644},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"89ba681855b157103d00b45ff42ff3ef4ddce147","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"usman-chaingpt","email":"muhammad.usman@chaingpt.tech"},"_npmVersion":"10.8.3","description":"SDK for GeneralChat","directories":{},"_nodeVersion":"22.17.1","dependencies":{"axios":"^1.6.2","form-data":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.17.6","@types/form-data":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/generalchat_0.0.18_1783052670832_0.6226857234691721","host":"s3://npm-registry-packages-npm-production"}},"0.0.19":{"_id":"@chaingpt/generalchat@0.0.19","bugs":{"url":"https://github.com/ChainGPT-org/chaingpt_npm_packages/issues"},"dist":{"shasum":"1d6a3e965bc5691e50149fd348ea28d95a559e93","tarball":"https://registry.npmjs.org/@chaingpt/generalchat/-/generalchat-0.0.19.tgz","fileCount":45,"integrity":"sha512-hBr0IOiXhG75tfZhOmZAXZrwxGa9F2CaM7HoklkmJFPyS7GiWoTuQddINy82ZtXTeZoY6iOzLA2GknsGuI1hWQ==","signatures":[{"sig":"MEQCIGNH44sWh+9KUKcpwQZ8QvUWMbXzvbiXOAHJC6oGNri/AiBM7ev2pfq/NDWytFqJRDEA3hHHdM7iF3Un/w8TRqemgw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDRx0Bv+cx751sI9ZWDqJTWU3Cik6l1T78p40PV0bL/4AiEAgCWXa6Bfg8zKTmC0VUp8qz+yrLTtKpIsnO4tmWnaUxk="}],"unpackedSize":56817},"main":"dist/index.js","name":"@chaingpt/generalchat","type":"commonjs","_from":"file:artifacts/chaingpt-generalchat-0.0.19.tgz","types":"dist/index.d.ts","author":{"name":"chaingpt"},"license":"MIT","scripts":{"build":"tsc","prepare":"npm run build"},"version":"0.0.19","_npmUser":{"name":"cgptadmin","email":"info@chaingpt.org"},"homepage":"https://github.com/ChainGPT-org/chaingpt_npm_packages#readme","keywords":["ai","chat","api","sdk","typescript"],"_resolved":"/Users/hey/Documents/Codex/2026-09-07/do-x20/work/aihub-sdk-release-20260916/artifacts/chaingpt-generalchat-0.0.19.tgz","_integrity":"sha512-hBr0IOiXhG75tfZhOmZAXZrwxGa9F2CaM7HoklkmJFPyS7GiWoTuQddINy82ZtXTeZoY6iOzLA2GknsGuI1hWQ==","repository":{"url":"git+https://github.com/ChainGPT-org/chaingpt_npm_packages.git","type":"git","directory":"GeneralChat"},"_npmVersion":"12.0.2","description":"SDK for GeneralChat","directories":{},"maintainers":[{"name":"maxcgpt","email":"max@chaingpt.org"},{"name":"cgptadmin","email":"info@chaingpt.org"},{"name":"usman-chaingpt","email":"muhammad.usman@chaingpt.tech"}],"_nodeVersion":"24.19.0","dependencies":{"axios":"1.20.0","form-data":"4.0.6"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"5.9.3","@types/node":"20.19.43"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/generalchat_0.0.19_1789528440072_0.5296739886705704"}}},"time":{"created":"2023-12-20T07:59:40.885Z","modified":"2026-09-16T03:14:00.307Z","0.0.3":"2023-12-20T07:59:41.213Z","0.0.4":"2023-12-20T13:50:33.618Z","0.0.5":"2023-12-29T11:01:06.806Z","0.0.6":"2023-12-29T12:53:32.123Z","0.0.7":"2024-01-01T11:53:24.273Z","0.0.8":"2024-02-29T10:18:56.409Z","0.0.9":"2024-11-07T10:44:46.384Z","0.0.10":"2025-02-03T12:54:26.164Z","0.0.11":"2025-03-03T12:06:15.557Z","0.0.12":"2025-03-04T11:08:49.552Z","0.0.13":"2025-03-10T17:07:14.509Z","0.0.14":"2025-03-11T11:50:03.403Z","0.0.15":"2025-03-18T13:58:52.514Z","0.0.16":"2025-03-21T10:41:17.266Z","0.0.17":"2025-04-15T14:11:37.158Z","0.0.18":"2026-07-03T04:24:30.964Z","0.0.19":"2026-09-16T03:14:00.154Z"},"author":{"name":"chaingpt"},"license":"MIT","keywords":["ai","chat","api","sdk","typescript"],"description":"SDK for GeneralChat","maintainers":[{"name":"maxcgpt","email":"max@chaingpt.org"},{"name":"cgptadmin","email":"info@chaingpt.org"},{"name":"usman-chaingpt","email":"muhammad.usman@chaingpt.tech"}],"readme":"# ChainGPT General Chat SDK\n\nThis library provides convenient access to the ChainGPT General Chat REST API from TypeScript or JavaScript.\n\n## Installation\n\n```sh\nnpm install --save @chaingpt/generalchat\n# or\nyarn add generalchat\n```\n# Stream Response\n### Create Your API Key\n- Obtain your API key from [AI Hub](https://app.chaingpt.org/apidashboard) to access the SDK.\n\n## Case 1: Simple General Chat \n<!-- ## Usage -->\n\nRetrieve a chat response as a stream without custom context injection:\n```js\nimport { GeneralChat } from '@chaingpt/generalchat';\n\nconst generalchat = new GeneralChat({\n  apiKey: 'Your ChainGPT API Key',\n});\n\nasync function main() {\n  const stream = await generalchat.createChatStream({\n    question: 'Explain quantum computing in simple terms',\n    chatHistory: \"off\", // Set to \"on\" to save chat history; otherwise, keep it \"off\"\n  });\n  stream.on('data', (chunk: any)=>console.log(chunk.toString()));\n  stream.on('end', () => console.log(\"Stream ended\"));\n}\n\nmain();\n```\n\n\n\n## Case 2: Use Custom Context From [AI Hub](https://app.chaingpt.org/apidashboard)\n### Step 1: Create Your API Key\n- Obtain your API key from [AI Hub](https://app.chaingpt.org/apidashboard) to access the SDK.\n\n### Step 2: Add Company Details from AI Hub User Side\n- Define your company details, including name, description, website, whitepaper, and chatbot purpose in apiKey (additional information).\n\n### Step 3: set Custom Context true  (Additional information fetched from AI Hub)\n```js\n\nimport { GeneralChat } from '@chaingpt/generalchat';\nimport { AI_TONE, BLOCKCHAIN_NETWORK, PRE_SET_TONES } from \"@chaingpt/generalchat/dist/enum/context.enum.js\";\n\nconst generalchat = new GeneralChat({\n  apiKey: 'Your ChainGPT API Key',\n});\n\nasync function main() {\n  const stream = await generalchat.createChatStream({\n    question: 'Explain quantum computing in simple terms',\n    chatHistory: \"off\", // Set to \"on\" to save chat history; otherwise, keep it \"off\"\n    useCustomContext: true // When useCustomContext is true and no contextInjection object is provided, the default custom context is fetched based on the API key (additional information).\n  });\n  stream.on('data', (chunk: any)=>console.log(chunk.toString()));\n  stream.on('end', () => console.log(\"Stream ended\"));\n}\n\n\nmain()\n```\n\n## Case 3: Use Custom Context From SDK\n## 🎯 Context Injection (Optional)\n- The `contextInjection` object is optional, and all its fields are optional. You can provide additional company details for a more tailored chatbot experience . Any chunk of information added here will override the company default details that are added from AI Hub\n\n### Context Injection Details Options\n```js\nconst contextInjection = {\n    companyName: \"Company name for AI chatbot\",\n    companyDescription: \"Company description for AI chatbot\",\n    companyWebsiteUrl: \"https://www.example.com\",\n    whitePaperUrl: \"https://www.example.com\",\n    purpose: \"Purpose of AI Chatbot for this company.\",\n    cryptoToken: true,\n    tokenInformation: {\n        tokenName: \"Token name for AI chatbot\",\n        tokenSymbol: \"$TOKEN\",\n        tokenAddress: \"Token address for AI chatbot\",\n        tokenSourceCode: \"Token source code for AI chatbot\",\n        tokenAuditUrl: \"https://www.example.com\",\n        exploreUrl: \"https://www.example.com\",\n        cmcUrl: \"https://www.example.com\",\n        coingeckoUrl: \"https://www.example.com\",\n        blockchain: [BLOCKCHAIN_NETWORK.ETHEREUM, BLOCKCHAIN_NETWORK.POLYGON_ZKEVM]\n    },\n    socialMediaUrls: [{ name: \"LinkedIn\", url: \"https://abc.com\" }],\n    limitation: false,\n    aiTone: AI_TONE.PRE_SET_TONE,\n    selectedTone: PRE_SET_TONES.FRIENDLY,\n    customTone: \"Only for custom AI Tone\"\n};\n```\n## 🛠 Example Usage\n- Example 1: Using minimal context injection\n```js\nimport { GeneralChat } from '@chaingpt/generalchat';\nimport { AI_TONE, BLOCKCHAIN_NETWORK, PRE_SET_TONES } from \"@chaingpt/generalchat/dist/enum/context.enum.js\";\n\nconst generalchat = new GeneralChat({\n  apiKey: 'Your ChainGPT API Key',\n});\n\nasync function main() {\n  const stream = await generalchat.createChatStream({\n    question: 'Explain quantum computing in simple terms',\n    chatHistory: \"off\",\n    useCustomContext: true,\n    contextInjection: {\n      aiTone: AI_TONE.PRE_SET_TONE,\n      selectedTone: PRE_SET_TONES.FORMAL,\n    }\n  });\n\n  stream.on('data', (chunk: any) => console.log(chunk.toString()));\n  stream.on('end', () => console.log(\"Stream ended\"));\n}\n\nmain();\n```\n\n- Example 2: Using extended context injection\n```js  \nimport { GeneralChat } from '@chaingpt/generalchat';\nimport { AI_TONE, BLOCKCHAIN_NETWORK, PRE_SET_TONES } from \"@chaingpt/generalchat/dist/enum/context.enum.js\";\n\nconst generalchat = new GeneralChat({\n  apiKey: 'Your ChainGPT API Key',\n});\n\nasync function main() {\n  const stream = await generalchat.createChatStream({\n    question: 'Explain blockchain security best practices',\n    chatHistory: \"on\",\n    useCustomContext: true,\n    contextInjection: {\n      companyName: \"Crypto Solutions\",\n      companyDescription: \"A blockchain security firm\",\n      cryptoToken: true,\n      tokenInformation: {\n        tokenName: \"SecureToken\",\n        tokenSymbol: \"$SEC\",\n        blockchain: [BLOCKCHAIN_NETWORK.ETHEREUM]\n      },\n      socialMediaUrls: [{ name: \"Twitter\", url: \"https://twitter.com/cryptosolutions\" }],\n      aiTone: AI_TONE.CUSTOM_TONE,\n      customTone: \"Provide detailed security explanations.\"\n    }\n  });\n\n  stream.on('data', (chunk: any) => console.log(chunk.toString()));\n  stream.on('end', () => console.log(\"Stream ended\"));\n}\n\nmain();\n```\n\n\n\n\n#  Blob Response\n\n\n### Create Your API Key\n- Obtain your API key from [AI Hub](https://app.chaingpt.org/apidashboard) to access the SDK.\n\n## Case 1: Simple General Chat \n## Usage\n\n\nRetrieve a chat response as a blob without custom context injection:\n```js\nimport { GeneralChat } from '@chaingpt/generalchat';\n\nconst generalchat = new GeneralChat({\n  apiKey: 'Your ChainGPT API Key',\n});\n\nasync function main() {\n  const response = await generalchat.createChatBlob({\n    question: 'Explain quantum computing in simple terms',\n    chatHistory: \"on\",\n  })\n  console.log(response.data.bot);\n}\n\nmain();\n```\n\n## Case 2: Use Custom Context From [AI Hub](https://app.chaingpt.org/apidashboard) - Blob Response\n### Step 1: Create Your API Key\n- Obtain your API key from [AI Hub](https://app.chaingpt.org/apidashboard) to access the SDK.\n\n### Step 2: Add Company Details from AI Hub User Side\n- Define your company details, including name, description, website, whitepaper, and chatbot purpose in apiKey (additional information).\n\n### Step 3: set Custom Context true  (Additional information fetched from AI Hub)\n```js\n\nimport { GeneralChat } from '@chaingpt/generalchat';\nimport { AI_TONE, BLOCKCHAIN_NETWORK, PRE_SET_TONES } from \"@chaingpt/generalchat/dist/enum/context.enum.js\";\n\nconst generalchat = new GeneralChat({\n  apiKey: 'Your ChainGPT API Key',\n});\n\nasync function main() {\n  const response = await generalchat.createChatBlob({\n    question: 'Explain quantum computing in simple terms',\n    chatHistory: \"off\",\n    useCustomContext: true // When useCustomContext is true and no contextInjection object is provided, the default custom context is fetched based on the API key (additional information).\n  });\n   console.log(response.data.bot);\n}\n\n\nmain()\n```\n\n## Case 3: Use Custom Context From SDK - Blob Response\n## 🎯 Context Injection (Optional)\n- The `contextInjection` object is optional, and all its fields are optional. You can provide additional company details for a more tailored chatbot experience . Any chunck of information Added here will override the your company default details that are added from AI Hub\n\n### Context Injection Options\n```js\nconst contextInjection = {\n    companyName: \"Company name for AI chatbot\",\n    companyDescription: \"Company description for AI chatbot\",\n    companyWebsiteUrl: \"https://www.example.com\",\n    whitePaperUrl: \"https://www.example.com\",\n    purpose: \"Purpose of AI Chatbot for this company.\",\n    cryptoToken: true,\n    tokenInformation: {\n        tokenName: \"Token name for AI chatbot\",\n        tokenSymbol: \"$TOKEN\",\n        tokenAddress: \"Token address for AI chatbot\",\n        tokenSourceCode: \"Token source code for AI chatbot\",\n        tokenAuditUrl: \"https://www.example.com\",\n        exploreUrl: \"https://www.example.com\",\n        cmcUrl: \"https://www.example.com\",\n        coingeckoUrl: \"https://www.example.com\",\n        blockchain: [BLOCKCHAIN_NETWORK.ETHEREUM, BLOCKCHAIN_NETWORK.POLYGON_ZKEVM]\n    },\n    socialMediaUrls: [{ name: \"LinkedIn\", url: \"https://abc.com\" }],\n    limitation: false,\n    aiTone: AI_TONE.PRE_SET_TONE,\n    selectedTone: PRE_SET_TONES.FRIENDLY,\n    customTone: \"Only for custom AI Tone\"\n};\n```\n## 🛠 Example Usage\n- Example 1: Using minimal context injection\n```js\nimport { GeneralChat } from '@chaingpt/generalchat';\nimport { AI_TONE, BLOCKCHAIN_NETWORK, PRE_SET_TONES } from \"@chaingpt/generalchat/dist/enum/context.enum.js\";\n\nconst generalchat = new GeneralChat({\n  apiKey: 'Your ChainGPT API Key',\n});\n\nasync function main() {\n  const response = await generalchat.createChatBlob({\n    question: 'Explain quantum computing in simple terms',\n    chatHistory: \"off\",\n    useCustomContext: true,\n    contextInjection: {\n      aiTone: AI_TONE.PRE_SET_TONE,\n      selectedTone: PRE_SET_TONES.FORMAL,\n    }\n  });\n\n console.log(response.data.bot);\n}\n\nmain();\n```\n\n- Example 2: Using extended context injection\n```js\nimport { GeneralChat } from '@chaingpt/generalchat';\nimport { AI_TONE, BLOCKCHAIN_NETWORK, PRE_SET_TONES } from \"@chaingpt/generalchat/dist/enum/context.enum.js\";\n\nconst generalchat = new GeneralChat({\n  apiKey: 'Your ChainGPT API Key',\n});\n\nasync function main() {\n  const response = await generalchat.createChatBlob({\n    question: 'Explain blockchain security best practices',\n    chatHistory: \"on\",\n    useCustomContext: true,\n    contextInjection: {\n      companyName: \"Crypto Solutions\",\n      companyDescription: \"A blockchain security firm\",\n      cryptoToken: true,\n      tokenInformation: {\n        tokenName: \"SecureToken\",\n        tokenSymbol: \"$SEC\",\n        blockchain: [BLOCKCHAIN_NETWORK.ETHEREUM]\n      },\n      socialMediaUrls: [{ name: \"Twitter\", url: \"https://twitter.com/cryptosolutions\" }],\n      aiTone: AI_TONE.CUSTOM_TONE,\n      customTone: \"Provide detailed security explanations.\"\n    }\n  });\n\n   console.log(response.data.bot);\n}\n\nmain();\n```\n\n# Inputs \n\n## blockchain types\nWe support multiple blockchains to fetch and display crypto token information for chat interactions. Below is the list of supported blockchains:\n```js\nblockchain = [ ETHEREUM, BSC, ARBITRUM, BASE, BLAST, AVALANCHE, POLYGON, SCROLL, OPTIMISM, LINEA, ZKSYNC, POLYGON_ZKEV, GNOSIS, FANTOM, MOONRIVER, MOONBEAM, BOBA, MODE, METIS, LISK, AURORA, SEI, IMMUTABLE_ZK, GRAVITY, TAIKO, CRONOS, FRAXTAL, ABSTRACT, CELO, WORLD_CHAIN, MANTLE, BERACHAIN\n]\n```\n\n## Ai Tones Option:\nOur AI supports multiple tone options to customize responses based on user preferences. The following tone selection options are available:\n```js\n1) DEFAULT_TONE // if we select DEFAULT_TONE then no need for customTone and selectedTone\n2) CUSTOM_TONE // if we select CUSTOM_TONE then customTone text is required\n3) PRE_SET_TONE // if we select PRE_SET_TONE then selectedTone is required\n```\n\n## Preset Ai Tones:\nIf PRE_SET_TONE is selected, users can choose from the following tones:\nIf we select PRE_SET_TONE then we select given option\n```js\n1)  PROFESSIONAL  \n2)  FRIENDLY  \n3)  INFORMATIVE  \n4)  FORMAL  \n5)  CONVERSATIONAL  \n6)  AUTHORITATIVE  \n7)  PLAYFUL  \n8)  INSPIRATIONAL  \n9)  CONCISE  \n10) EMPATHETIC  \n11) ACADEMIC  \n12) NEUTRAL  \n13) SARCASTIC_MEME_STYLE  \n```\n\n## Social Media Option:\n\nWe support multiple social media platforms for interaction and sharing\n\n```js\nsocialMediaUrls = [ \n  {name:\"linkedIn\",url:\"https://www.example.com\"},\n  {name:\"telegram\",url:\"https://www.example.com\"},\n  {name:\"instagram\",url:\"https://www.example.com\"},\n  {name:\"twitter\",url:\"https://www.example.com\"},\n  {name:\"youtube\",url:\"https://www.example.com\"},\n  {name:\"medium\",url:\"https://www.example.com\"}\n]\n```\n### Manage Chat History :\n  - If you want to save the user-specific history, you must pass the `sdkUniqueId` parameter along with the chat history. This applies to both streaming and blob cases.\n\n\n```js \nimport { GeneralChat } from '@chaingpt/generalchat';\n\nconst generalchat = new GeneralChat({\n  apiKey: 'Your ChainGPT API Key',\n});\n\nconst uniqueUUid=\"907208eb-0929-42c3-a372-c21934fbf44f\"  // any unique uuid \nasync function main() {\n  const stream = await generalchat.createChatStream({\n    question: 'Explain quantum computing in simple terms',\n    chatHistory: \"on\", // Set to \"on\" to save chat history; otherwise, keep it \"off\"\n    sdkUniqueId:uniqueUUid\n  });\n  stream.on('data', (chunk: any)=>console.log(chunk.toString()));\n  stream.on('end', () => console.log(\"Stream ended\"));\n}\n\nmain();\n\n\n```\n\n\n\n\n\n\n\n\n\n\n\n### Retrieve chat history:\n- Retrieve all chat history \n```js\nimport { GeneralChat } from '@chaingpt/generalchat';\n\nconst generalchat = new GeneralChat({\n  apiKey: 'Your ChainGPT API Key',\n});\n\nasync function main() {\n  const response = await generalchat.getChatHistory({\n    limit: 10,\n    offset: 0,\n    sortBy: \"createdAt\",\n    sortOrder: \"ASC\"\n  })\n  console.log(response.data.rows);\n}\n\nmain();\n```\n\n\n- Retrieve all chat history of a Specific User \n```js\nimport { GeneralChat } from '@chaingpt/generalchat';\n\nconst generalchat = new GeneralChat({\n  apiKey: 'Your ChainGPT API Key',\n});\nconst uniqueUUid=\"907208eb-0929-42c3-a372-c21934fbf44f\"  // your unique uuid of your specific user\nasync function main() {\n  const response = await generalchat.getChatHistory({\n    limit: 10,\n    offset: 0,\n    sortBy: \"createdAt\",\n    sortOrder: \"ASC\",\n    sdkUniqueId:uniqueUUid  // your unique uuid of your specific user \n  })\n  console.log(response.data.rows);\n}\n\nmain();\n```\n\n\n\n## Handling errors\n\nWhen the library is unable to connect to the API,\nor if the API returns a non-success status code (i.e., 4xx or 5xx response),\nand error of the class `GeneralChatError` will be thrown:\n\n```ts\nimport { Errors } from '@chaingpt/generalchat';\n\nasync function main() {\n  try {\n    const stream = await generalchat.createChatStream({\n      question: 'Explain quantum computing in simple terms',\n      chatHistory: \"off\"\n    });\n    stream.on('data', (chunk: any)=>console.log(chunk.toString()));\n    stream.on('end', () => console.log(\"Stream ended\"));\n  } catch(error) {\n    if(error instanceof Errors.GeneralChatError) {\n      console.log(error.message)\n    }\n  }\n}\n\nmain();\n```\n\n\n","readmeFilename":"README.md","homepage":"https://github.com/ChainGPT-org/chaingpt_npm_packages#readme","repository":{"url":"git+https://github.com/ChainGPT-org/chaingpt_npm_packages.git","type":"git","directory":"GeneralChat"},"bugs":{"url":"https://github.com/ChainGPT-org/chaingpt_npm_packages/issues"}}