
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
@ragpipe/plugin-gemini
Advanced tools
Google Gemini embedding and generation plugin for ragpipe.
pnpm add ragpipe @ragpipe/plugin-gemini
import { defineConfig } from "ragpipe";
import { geminiEmbedding, geminiGeneration } from "@ragpipe/plugin-gemini";
export default defineConfig({
embedding: geminiEmbedding({
apiKey: process.env.GEMINI_API_KEY ?? "",
model: "gemini-embedding-001", // default
}),
generation: geminiGeneration({
apiKey: process.env.GEMINI_API_KEY ?? "",
model: "gemini-2.5-flash", // default
systemPrompt: "Answer based on the provided context.",
}),
// ... vectorStore
});
geminiEmbedding(options)Returns an EmbeddingPlugin that calls the Gemini Embedding API.
| Option | Type | Default | Description |
|---|---|---|---|
apiKey | string | — | Google AI API key (required) |
model | string | "gemini-embedding-001" | Embedding model name |
embedMany() uses batchEmbedContents for efficient bulk embeddinggeminiGeneration(options)Returns a GenerationPlugin that calls the Gemini Content Generation API.
| Option | Type | Default | Description |
|---|---|---|---|
apiKey | string | — | Google AI API key (required) |
model | string | "gemini-2.5-flash" | Generation model name |
systemPrompt | string | "Answer based on the provided context." | Default system instruction |
generateStream() returns an AsyncIterable<string> via SSE{ history } to include conversation context{ systemPrompt } at call time to override the defaultGEMINI_API_KEY in your environmentMIT
FAQs
Gemini embedding and generation plugin for ragpipe
The npm package @ragpipe/plugin-gemini receives a total of 36 weekly downloads. As such, @ragpipe/plugin-gemini popularity was classified as not popular.
We found that @ragpipe/plugin-gemini 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
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.

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.