Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
together-ai
Advanced tools
npm i together-ai
Add open source LLMs to your apps in a few lines of code. Simply create a new Together.ai client, specify your preferred AI model with inputs, and get back a result.
import Together from 'together-ai';
const together = new Together({
auth: `api token`,
});
const result = await together.inference('mistralai/Mistral-7B-Instruct-v0.1', {
prompt: 'tell me about the history of the United States',
max_tokens: 300,
});
This is a list of popular models that are supported.
mistralai/Mistral-7B-Instruct-v0.1
)togethercomputer/llama-2-70b-chat
)togethercomputer/llama-2-13b-chat
)togethercomputer/RedPajama-INCITE-7B-Chat
)Open-Orca/Mistral-7B-OpenOrca
)togethercomputer/alpaca-7b
)This library uses the Together Inference Engine, the world's fastest inference stack for open source LLMs. It calls the Together.ai Inference API, specifically their serverless endpoints product, to enable you to use OSS LLMs quickly and effeciently.
FAQs
The official TypeScript library for the Together API
The npm package together-ai receives a total of 8,656 weekly downloads. As such, together-ai popularity was classified as popular.
We found that together-ai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.