ef1a0f380b
add sequence diagram to README for better overview of process
Rust / build (push) Waiting to run
2025-11-22 15:12:51 +01:00
d1bbc73478
add link to online swagger docs
Rust / build (push) Waiting to run
2025-11-22 14:44:46 +01:00
0b3a269b10
checkin current api specification to repository
Rust / build (push) Waiting to run
2025-11-22 14:11:31 +01:00
392d48a356
add command line flag to easily dump the api spec
2025-11-22 14:11:11 +01:00
08986aa837
move documentation for api endpoints to swagger
2025-11-22 14:10:45 +01:00
745434e642
restructure README
Rust / build (push) Waiting to run
2025-11-22 13:49:25 +01:00
249e65c55f
rename the project to paperless-llm-workflows
...
given the server architecture and new integration into paperless
workflows a new name describes better what this project is about
2025-11-22 02:17:56 +01:00
c5cb0aaf22
Merge branch 'feature/defer-document-update'
Rust / build (push) Waiting to run
2025-11-22 01:13:10 +01:00
1ad1ffb543
update Changelog
2025-11-22 01:12:28 +01:00
40013b5e48
fix all compiler warnings
2025-11-22 01:10:22 +01:00
7cfe55bcdf
async doc updates to paperless instance
2025-11-20 22:27:12 +01:00
31726c3f01
Merge branch 'feature/server-api-spec'
Rust / build (push) Has been cancelled
2025-11-17 15:16:00 +01:00
165ddaa606
improve model load and unload behavior
2025-11-17 15:15:09 +01:00
91d74b2f2d
add some mote doc string to important types
...
types exposed via the api get some more docstring to include more
information in the api specification
2025-11-17 01:43:03 +01:00
3e5d636687
add CHANGELOG entry about openapi support
2025-11-17 01:43:01 +01:00
715853511a
setup openapi specs and swagger ui
...
add interactive api documentation to the server to enable browsable
endpoint docs
2025-11-17 01:42:59 +01:00
410b25628e
reorder code for better grouping
2025-11-17 01:42:58 +01:00
3e572167c5
add utoipa for documenting hook endpoints
2025-11-17 01:42:55 +01:00
fe10c74b00
make model loading fallible
2025-11-17 01:42:29 +01:00
ed2f34637e
Merge branch 'feature/next-tag-control'
Rust / build (push) Waiting to run
2025-11-17 00:05:50 +01:00
a9a9753864
add CHANGELOG entry
2025-11-17 00:04:59 +01:00
bda34530a5
add next_tag parameter to webhook parameters
...
allow webhook to sepecify the next tag that will be applied to the
document after processing has finished. This allows for creating more
complex workflows using tags to setup processing stages
2025-11-17 00:02:24 +01:00
9f4e7a4340
chore: fix all warnings
2025-11-16 22:15:05 +01:00
b341f17ef0
Merge branch 'refactor/server-webhook-architecture'
Rust / build (push) Waiting to run
2025-11-16 22:03:15 +01:00
6eb205122c
Update Changelog
2025-11-16 22:02:29 +01:00
9abab837d3
move main to start server by default
2025-11-16 22:00:29 +01:00
9edc8b8ebb
add code to handle signaling that document processing has finished
2025-11-16 21:54:34 +01:00
c19049bfb4
add stop flag to fix graceful shutdown
2025-11-16 19:38:29 +01:00
76dc5dceef
implement handlers to perform document processing request
2025-11-16 19:24:16 +01:00
ea3a0c4397
further develop processing logic
2025-11-15 03:14:20 +01:00
13941dc84d
moved grammar initialization to extract function
...
this change allows the model to say loaded instead of needing a reload
for every custom field type.
2025-11-15 03:13:14 +01:00
072ae98c8f
restructure doc processing tasks
...
write document to linked list and have own handler future do the actual
document processing
2025-11-14 14:46:37 +01:00
5331c4f23e
update document tags for processing
2025-11-14 14:34:14 +01:00
7c331ab605
implement receiving webhooks
2025-11-14 03:07:19 +01:00
1763adda3b
draft webhook server architecture
...
inital draft for an server based architecture where documents that
should be processed are receivied via webhook request from paperless.
Works asynchronously, incoming webhook requests queue documents for processing
2025-11-11 23:24:32 +01:00
f654d627ec
Update README
Rust / build (push) Waiting to run
2025-11-10 17:19:28 +01:00
68fb19f30e
add Changelog
2025-11-10 17:03:41 +01:00
adf66a8bd7
chore: cargo fmt
2025-11-09 23:07:49 +01:00
742b8b383e
add logic to predict correspondents
2025-11-09 23:07:00 +01:00
4d4ac3c3f6
make extract function return a result
...
there a multiple ways model data extraction can fail, so this function
need to return error cases and they need to be handled by the caller to
make this software stable
2025-11-09 23:06:16 +01:00
9332117b59
prolong longest possible generation and use dry sampler
...
adding dry sampler to the sampling pipeline to penalize models for
repetitive output therefore improving results. This enable using
reasoning fields without risking model output getting stuck at the
reasoning stage
2025-11-09 21:17:47 +01:00
bf78a00f2b
remove dead code
2025-11-09 21:16:44 +01:00
88bd676f01
change extract function signature to accept arbitrary json
...
the extract method should not require full documents but rather accept
arbitrary values as inital prompt data. This makes the extract function
reusable for arbitrary extraction tasks
2025-11-09 21:13:40 +01:00
ffadb8405e
add functions to fetch and update correspondents and suggestions
2025-11-09 21:10:39 +01:00
3b9e9489e3
update paperless-api-client to 6.0.1
...
the newest patch release contains fixes for newly discovered
incosistencies in the paperless-ngx api specification
2025-11-09 21:09:17 +01:00
3b6a7626a9
add reasoning field for correspondant to improve results
...
also add function to convert enum correspondent back to full instance of
correspondent
2025-11-09 21:06:04 +01:00
8fb9cf5c90
simplify extract datatype field naming
...
too many 'f' chars at the beginning might be influencing the probability
of tokens starting with f and skewing results
2025-11-09 21:03:06 +01:00
10c1d6bbf6
add function to generate schema for list of correspondents
...
reuse idea from custom field select type to generate a schema for all correspondents
2025-11-08 21:46:56 +01:00
d82dce2e33
add configuration option to enable corresponding suggesting
...
for now this features is disabled by default, since paperless already
matches correspondents and this is just an additional feature that might
not be of interest to everybody using this tool.
2025-11-08 19:23:27 +01:00
c74203d27e
move tag updating logic out of custom field update
Rust / build (push) Has been cancelled
2025-11-06 16:44:05 +01:00