2
[Feature Request] Keep AI suggestions from the "Apply AI suggestions" workflow action for the document view
Source: paperless-ngx/paperless-ngx#14770 · opened by @sebingel
AI usage Yes, AI tools helped write this request Description Problem When a workflow with Apply AI suggestions runs on a new document, Paperless sends a full request to the LLM. The action writes the selected fields and discards the rest of the response. Later the user opens the same document from the inbox. If the suggestion source is "AI" or "Both", the document view calls /api/documents/<id>/ai_suggestions/ and sends a new LLM request for the same content. The result of the workflow is not reused: • Only the ai_suggestions endpoint fills the LLM suggestion cache. The workflow task does not. • Every save of the document clears the cache (post_save → invalidate_llm_suggestions_cache), and the workflow action itself saves the document. My use case I run Paperless at home with a local model through Ollama on a separate machine. A workflow sets the title on every new document and adds tags. One request takes about a minute on this…
No pledges yet. Be the first to back this.
Comments
Similar requests
[Feature Request] Allow workflow actions to wait for AI suggestions to be applied
1 vote · 0 comments
Disable "Apply AI suggestions" workflow action on documents with no content
1 vote · 0 comments
[Feature Request] Option to trigger AI manually without disabling automatic ML standard suggestions
8 votes · 0 comments
[Feature Request]: Allow workflows to filter on standard document fields such as ASN
1 vote · 0 comments
[Feature Request] Custom Action Buttons (Direct Workflow Triggers)
20 votes · 0 comments
No comments yet.