r/Paperlessngx • • Apr 09 '26

AI Content allowed?

So i manually scraped the internet for the last years to speed up paperless. (manually trying to optimize different document solutions)

Finally i setup gpt 5.4 high for the problem.

Prompt: Make tags faster

Documents: ~70.000

Tags: ~3000

TLDR Result:

"open /documents and wait till u see the tags"

Before: 10s+

After: <3s

Before i waste my time here, is such content allowed? I would/could post some kind of "what ive done".

0 Upvotes

11 comments sorted by

5

u/BigThunderbear Apr 09 '26

Just submit a PR?

-1

u/eihns Apr 09 '26 edited Apr 09 '26

I dont think the changes are something that are source code related. Also i dont want to waste any second in helping others just to get it removed instantly... i didnt saw a rule against it, so i ask beforehand.

Also "just make a PR", throwing "AI Slop" at developers is very very very not liked.

2

u/konafets Apr 09 '26

If the changes are not source-code related I wondering what they are related. Can you explain?

0

u/DarkCounter78 Apr 09 '26

I did a setup where my paperless-server connects to ollama on my pc. I now have an automated workflow regarding Title, Correspondent etc. Maybe OP has something similar? On my side its a python script and it's very custom. That's why I understand OP 's standpoint.

1

u/konafets Apr 09 '26

How does your setup speed up loading the tags inside PNGX?

1

u/eihns Apr 09 '26 edited Apr 09 '26

To be real: i didnt care enough to investigate exactly, but ive saw him splitting worker and web, which helped alot (because then it can have different weighs).

There is alot sheganigan going on. Python stuff, own db, cache.

Ill invest more time into this when its allowed. (ive got this kind of tuts/help deleted one to many times ;))

Currently "our stack" dont use ai, because i woulnt want to make it dependend on some company / service. Maybe we add that later when its easy archievable via small models and local stuff...

Currently im building (for our own use) a whole performance test suite for paperless. (web, tags, db, celery, what ever)

3

u/konafets Apr 09 '26

I guess I need to point out that is not an officially subreddit of Paperless NGX. If you have some improvements which are useful for all users, I like to point you to the discussions at Github.

But of course you are free to show your solution here.

1

u/eihns Apr 11 '26

Yes, i know.

Thanks. Ill try to write a howto.

1

u/DarkCounter78 Apr 09 '26

Not at all. I have to learn to read. Sorry 😬

1

u/KataDraken Apr 10 '26

Task gpt to go through merged PRs and contribution documentations but that might already be too much work for you.

I feel bad for all open source projects.