
Security News
Federal Audit Finds NIST Wasted Funds With No Plan to Clear NVD Backlog
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.
@ragpipe/plugin-voyage
Advanced tools
Voyage AI embedding plugin for ragpipe.
This package provides the embedding axis only. Pair it with any ragpipe vector store and generation plugin.
pnpm add ragpipe @ragpipe/plugin-voyage
import { defineConfig } from "ragpipe";
import { voyageEmbedding } from "@ragpipe/plugin-voyage";
export default defineConfig({
embedding: voyageEmbedding({
apiKey: process.env.VOYAGE_API_KEY!,
model: "voyage-4-lite",
dimensions: 1024,
inputType: "document",
}),
// vectorStore, generation ...
});
voyageEmbedding(options)Returns an EmbeddingPlugin that calls the Voyage embeddings API.
| Option | Type | Default | Description |
|---|---|---|---|
apiKey | string | — | Voyage API key (required) |
model | string | — | Embedding model name (required) |
dimensions | number | — | Output dimension (required) |
baseUrl | string | "https://api.voyageai.com/v1" | API base URL |
inputType | "query" | "document" | — | Retrieval-oriented input type hint |
embedMany() sends an array input in one API callindex before returningCommon Voyage embedding model/dimension pairs:
| Model | Dimensions |
|---|---|
voyage-4-large | 1024 |
voyage-4 | 1024 |
voyage-4-lite | 1024 |
voyage-4-nano | 1024 |
voyage-3-large | 1024 |
voyage-3.5 | 1024 |
voyage-3.5-lite | 1024 |
voyage-code-3 | 1024 |
voyage-code-2 | 1536 |
voyage-finance-2 | 1024 |
voyage-law-2 | 1024 |
voyage-large-2-instruct | 1024 |
voyage-multilingual-2 | 1024 |
fetch; no Voyage SDK dependency is required.output_dimension on every request because dimensions is required.input_type only when inputType is explicitly configured.VOYAGE_API_KEY in your environmentMIT
FAQs
Voyage AI embedding plugin for ragpipe
We found that @ragpipe/plugin-voyage 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
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.