FeatureFuel
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.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests