
Security News
High Salaries No Longer Enough to Attract Top Cybersecurity Talent
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
vellum-ai
Advanced tools
[](https://www.npmjs.com/package/vellum-ai)  [.
You can find Vellum's complete API docs at docs.vellum.ai.
npm install --save vellum-ai
# or
yarn add vellum-ai
import { VellumClient } from 'vellum-ai';
const vellum = new VellumClient({
apiKey: "<YOUR_API_KEY>",
});
void main();
async function main() {
const result = await vellum.executePrompt({
promptDeploymentName: "<your-deployment-name>>",
releaseTag: "LATEST",
inputs: [
{
type: "STRING",
name: "<input_name>",
value: "<example-string-value>",
},
],
});
if (result.state === "REJECTED") {
throw new Error(result.error.message)
} else if (result.state === "FULFILLED") {
console.log(result.outputs[0].value);
}
}
[!TIP] You can set a system environment variable
VELLUM_API_KEY
to avoid writing your api key within your code. To do so, addexport VELLUM_API_KEY=<your-api-token>
to your ~/.zshrc or ~/.bashrc, open a new terminal, and then any code callingVellumClient()
will read this key.
While we value open-source contributions to this SDK, most of this library is generated programmatically.
Please feel free to make contributions to any of the directories or files below:
tests/*
README.md
Any additions made to files beyond those directories and files above would have to be moved over to our generation code (found in the separate vellum-client-generator repo), otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest opening an issue first to discuss with us!
FAQs
[](https://www.npmjs.com/package/vellum-ai)  [![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-SDK%20generated
The npm package vellum-ai receives a total of 21,958 weekly downloads. As such, vellum-ai popularity was classified as popular.
We found that vellum-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.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.