
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
@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
The npm package @ragpipe/plugin-voyage receives a total of 9 weekly downloads. As such, @ragpipe/plugin-voyage popularity was classified as not popular.
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.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.