diff --git a/ollama_paperless/prompt.md b/ollama_paperless/prompt.md index 86635e6..6201d96 100644 --- a/ollama_paperless/prompt.md +++ b/ollama_paperless/prompt.md @@ -1,9 +1,9 @@ [Korrespodent Start] -{{ $('getCorrespondent').all().map(item => item.json).toJsonString() }} +{{ JSON.stringify($('getCorrespondent').all().map(i => ({ id: i.json.paperless_id, name: i.json.name }))) }} [Korrespodent End] [Tags Start] -{{ $('getTags').all().map(item => item.json).toJsonString() }} +{{ JSON.stringify($('getTags').all().map(i => ({ id: i.json.paperless_id, name: i.json.name }))) }} [Tags End] [Dokument Inhalt Start]