Files
n8n-code/ollama_paperless/prompt.md
2026-01-04 16:09:52 +01:00

15 lines
535 B
Markdown

[Korrespodent Start]
{{ JSON.stringify($('getCorrespondent').all().map(i => ({ id: i.json.paperless_id, name: i.json.name }))) }}
[Korrespodent End]
[Tags Start]
{{ JSON.stringify($('getTags').all().map(i => ({ id: i.json.paperless_id, name: i.json.name }))) }}
[Tags End]
[Documents Start]
{{ JSON.stringify($('getDocuments').all().map(i => ({ id: i.json.paperless_id, name: i.json.name }))) }}
[Documents End]
[Dokument Inhalt Start]
{{ $('documentObject').item.json.document[0].content.substring(1,1000) }}
[Dokument Inhalt Ende]