npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-berget-mk

v0.5.0

Published

n8n community node for Berget AI. Multi-resource action node (chat, image analysis, rerank, speech-to-text) plus Chat Model, Embeddings Model, and Reranker sub-nodes that plug into n8n's built-in AI Agent and Vector Store nodes.

Readme

n8n-nodes-berget-mk

n8n community nodes for Berget AI, packaged as a single installable module. Maintained by Micke Kring.

Four nodes:

  • Berget AI — multi-resource action node for one-shot calls. Resources: Chat (completions, classification, JSON Schema structured output, reasoning effort for GPT-OSS / GLM-4.7 / etc.), Image Analysis (vision-capable models), Rerank (document reranking), and Speech to Text (Swedish-tuned KB-Whisper, with optional diarization and word-level alignment). Can also be exposed as a tool to an AI Agent. (OCR is temporarily hidden — see CHANGELOG.md for 0.4.4 for details.)
  • Berget AI Chat Model — sub-node that plugs into n8n's built-in AI Agent, Basic LLM Chain, and other LangChain-based nodes. Exposes reasoning effort and the full standard LLM parameter set.
  • Berget AI Embeddings Model — sub-node that plugs into n8n's Vector Store nodes (Supabase, Qdrant, Pinecone, PGVector, etc.) and Question and Answer Chain.
  • Berget AI Reranker — sub-node that plugs into Vector Store retrievers via the AiReranker connection, reordering candidates by relevance before they reach the agent or chain.

⚠️ Experimental — actively developed. This package is pre-1.0 and may break between minor releases. Pin a specific version in production workflows until 1.0.0. See CHANGELOG.md for breaking changes.

Install

In n8n: Settings → Community Nodes → Install and enter:

n8n-nodes-berget-mk

Then add a Berget AI API credential with your API key from berget.ai.

Typical workflows

One-shot chat / classification

  1. Drop Berget AI onto the canvas, pick Resource = Chat, select a model, add a user message. Execute.

For classification or structured extraction tasks, set Options → Response Format = JSON Object or JSON Schema (with a schema you provide). The model is forced to return parseable JSON — no regex scraping of free-form text. The parsed JSON is exposed as a top-level output field on the node's response, so a downstream IF, Set, or Switch node can reference its properties directly with expressions like {{ $json.output.category }} or {{ $json.output.contains }} — no extra parse step needed.

For reasoning-capable models (openai/gpt-oss-120b, zai-org/GLM-4.7-FP8, etc.), set Options → Reasoning Effort = High to crank up the model's thinking budget. The parameter is silently ignored by non-reasoning models, so it's safe to leave on. (Berget does not currently flag reasoning-capable models in /v1/models, so the model dropdown is not filtered — pick the reasoning model yourself.)

Agent with tools and memory

  1. Add n8n's built-in AI Agent.
  2. Add Berget AI Chat Model and connect it to the Agent's Chat Model socket.
  3. Add Memory and Tool sub-nodes as needed — they work with Berget as the underlying LLM.

RAG with retrieval and reranking

  1. Add a Vector Store node (Qdrant, Supabase, etc.) or a Question and Answer Chain.
  2. Add Berget AI Embeddings Model and connect it to the Embedding socket.
  3. Add Berget AI Reranker and connect it to the EmbeddingReranker socket — Vector Store will then retrieve a wider candidate set, the reranker reorders them by relevance, and only the best survive into the answer.
  4. Index documents or query as usual.

Image analysis

  1. Drop Berget AI onto the canvas, pick Resource = Image Analysis.
  2. Pick a vision-capable model (the dropdown is filtered automatically).
  3. Choose Input Type = Binary File (default — works with Form Trigger uploads, HTTP Request responses, etc.) or Image URL, and provide a Text Input prompt like "Describe what you see".
  4. Execute.

Swedish speech transcription with speakers

  1. Drop Berget AI onto the canvas, pick Resource = Speech to Text.
  2. Provide the binary input data from a Form Trigger or HTTP Request.
  3. Optional: enable Options → Diarize (Speaker Identification) — the response will include a speaker_transcript field formatted as readable per-speaker paragraphs (SPEAKER_00:\n...\n\nSPEAKER_01:\n...), alongside the raw segment-level timestamps and word-level data.
  4. Optional: enable Word-Level Alignment for per-word timestamps useful in subtitle generation.
  5. Optional: add Hotwords (comma-separated) for proper nouns and domain vocabulary.

Changelog

See CHANGELOG.md for what's changed between releases.

License

MIT. Originally based on the open-source Berget AI n8n nodes.