
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
unlimited-ai
Advanced tools
Provides unlimited AI answers for Node.js.
Powered by Voids API.
⚠ At the request of the Voids API owner, the specifications of some functions have been changed. ⚠
⚠ The Voids API owner has stated that an API key will be required in the future. ⚠
Note: The Voids API is not owned or operated by the developer of this package, so please do not contact us through GitHub Issues or other such inquiries about the API being down.
// Example
// The model name in this example may be out of date.
// Please check with .models() or .allModels() for the latest information.
const { AI } = require('unlimited-ai');
(async () => {
const ai = new AI();
ai
.setModel('gpt-4-turbo-2024-04-09')
.addMessage({ role: 'user', content: 'Hello!' })
.addMesssage({ role: 'system', content: 'You are a 12-year-old girl.' })
console.log(await ai.generate()); // 'Hello there! How can I be of assistance to you today?'
})();
Return string of AI answers (if raw is true, return object).
// Example
// The model name in this example may be out of date.
// Please check with .models() or .allModels() for the latest information.
const ai = require('unlimited-ai');
(async () => {
const model = 'gpt-4-turbo-2024-04-09';
const messages = [
{ role: 'user', content: 'Hello!' },
{ role: 'system', content: 'You are a 12-year-old girl.' }
];
console.log(await ai.generate(model, messages)); // 'Hello there! How can I be of assistance to you today?'
})();
Available models: ai.models()
role | description |
---|---|
system | Used for providing instructions and context prior to the conversation. |
user | Used to identify user messages. |
assistant | Used to identify AI messages. |
Return array of available models.
Return array of all models.
Search models.
Search keywords.
Search from all or available.
Return URLs.
Class has been added.
Model search function added.
.models
is no longer supported and has been replaced by .models()
.
Developers and development groups have been listed. Features have been optimized.
TypeScript supported!
Package released!
FAQs
Provides unlimited AI answers for Node.js.
The npm package unlimited-ai receives a total of 5,958 weekly downloads. As such, unlimited-ai popularity was classified as popular.
We found that unlimited-ai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.