n8n-nodes-berget-mk 0.4.18 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/package.json +18 -3
package/README.md
CHANGED
|
@@ -4,8 +4,8 @@ n8n community nodes for [Berget AI](https://berget.ai), packaged as a single ins
|
|
|
4
4
|
|
|
5
5
|
Four nodes:
|
|
6
6
|
|
|
7
|
-
- **Berget AI** — multi-resource action node for one-shot calls. Resources: **Chat** (completions, classification, JSON Schema structured output), **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](CHANGELOG.md) for `0.4.4` for details.)
|
|
8
|
-
- **Berget AI Chat Model** — sub-node that plugs into n8n's built-in **AI Agent**, **Basic LLM Chain**, and other LangChain-based nodes. Exposes
|
|
7
|
+
- **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](CHANGELOG.md) for `0.4.4` for details.)
|
|
8
|
+
- **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.
|
|
9
9
|
- **Berget AI Embeddings Model** — sub-node that plugs into n8n's **Vector Store** nodes (Supabase, Qdrant, Pinecone, PGVector, etc.) and **Question and Answer Chain**.
|
|
10
10
|
- **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.
|
|
11
11
|
|
|
@@ -27,7 +27,9 @@ Then add a **Berget AI API** credential with your API key from [berget.ai](https
|
|
|
27
27
|
|
|
28
28
|
1. Drop **Berget AI** onto the canvas, pick Resource = **Chat**, select a model, add a user message. Execute.
|
|
29
29
|
|
|
30
|
-
For classification or structured extraction tasks, set **Options → Response Format = JSON Schema**
|
|
30
|
+
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.
|
|
31
|
+
|
|
32
|
+
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.)
|
|
31
33
|
|
|
32
34
|
### Agent with tools and memory
|
|
33
35
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-berget-mk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "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.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"axios": "^1.
|
|
41
|
-
"form-data": "^4.0.
|
|
40
|
+
"axios": "^1.19.0",
|
|
41
|
+
"form-data": "^4.0.6"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@langchain/core": "^1.1.39",
|
|
@@ -52,6 +52,21 @@
|
|
|
52
52
|
"@langchain/openai": "*",
|
|
53
53
|
"n8n-workflow": "*"
|
|
54
54
|
},
|
|
55
|
+
"peerDependenciesMeta": {
|
|
56
|
+
"n8n-workflow": {
|
|
57
|
+
"optional": true
|
|
58
|
+
},
|
|
59
|
+
"@langchain/core": {
|
|
60
|
+
"optional": true
|
|
61
|
+
},
|
|
62
|
+
"@langchain/openai": {
|
|
63
|
+
"optional": true
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"overrides": {
|
|
67
|
+
"uuid": "^14.0.0",
|
|
68
|
+
"form-data": "^4.0.6"
|
|
69
|
+
},
|
|
55
70
|
"engines": {
|
|
56
71
|
"node": ">=18.0.0"
|
|
57
72
|
},
|