10318 Commits

Author SHA1 Message Date
shamoon
8567951065
Merge migrations again 2025-06-03 08:54:59 -07:00
shamoon
ffd57f62ec
Fix merge conflict 2025-06-03 08:54:58 -07:00
shamoon
cb7838fda8
Merge migrations 2025-06-03 08:54:58 -07:00
shamoon
7a3ced4bd2
Add fallback parsing for invalid ai responses 2025-06-03 08:54:57 -07:00
shamoon
dba18e241d
Truncate similar docs content 2025-06-03 08:54:57 -07:00
shamoon
0d38fddc85
Fix paperless_ai logging 2025-06-03 08:54:57 -07:00
shamoon
2596adcc43
token limiting 2025-06-03 08:54:56 -07:00
shamoon
0d3db8513d
Update AI docs 2025-06-03 08:54:56 -07:00
shamoon
d81904975d
Cover app config changes 2025-06-03 08:54:56 -07:00
shamoon
78352c4b51
Mock auto-trigger llm index 2025-06-03 08:54:55 -07:00
shamoon
cbaa70c2b7
Fix / cleanup ai indexing test 2025-06-03 08:54:55 -07:00
shamoon
6d65c49c00
Doh, add tests in new module 2025-06-03 08:54:54 -07:00
shamoon
55dfe55232
Coverage for llmindex tasks 2025-06-03 08:54:54 -07:00
shamoon
29ec4fbdd8
Cover llmindex in system status 2025-06-03 08:54:54 -07:00
shamoon
32895d337e
Add llmindex to systemstatus 2025-06-03 08:54:53 -07:00
shamoon
ebd0a471e3
Auto-trigger llmindex rebuild when enabled 2025-06-03 08:54:53 -07:00
shamoon
d18fd07023
Use PaperlessTask for llmindex 2025-06-03 08:54:53 -07:00
shamoon
174e487c85
Create llmindex if doesnt exist on update run 2025-06-03 08:54:52 -07:00
shamoon
d245cdb726
Move ai to its own module 2025-06-03 08:54:52 -07:00
shamoon
c3217fbcf4
Better respect perms for ai suggestions 2025-06-03 08:54:52 -07:00
shamoon
ddb595c66d
Refactor load_or_build_index 2025-06-03 08:54:51 -07:00
shamoon
9cfbbb5d8b
Update chat view decorators 2025-06-03 08:54:51 -07:00
shamoon
350ab8a3c4
Cover matching 2025-06-03 08:54:50 -07:00
shamoon
e964a20ced
Cover partial indexing 2025-06-03 08:54:50 -07:00
shamoon
b5e9cc854d
Refactor and consolidate rag / embedding and tests 2025-06-03 08:54:50 -07:00
shamoon
e46e6f942e
indexing cleanup and tests 2025-06-03 08:54:49 -07:00
shamoon
b3d402570b
Use partial reindex for bulk updates 2025-06-03 08:54:49 -07:00
shamoon
24bde5b4a5
Unify prompts, cover 2025-06-03 08:54:49 -07:00
shamoon
0216164e9a
Incremental llm index update, add scheduled llm index task 2025-06-03 08:54:48 -07:00
shamoon
a68d789b53
Some cleanup, typing 2025-06-03 08:54:48 -07:00
shamoon
6a60055fc8
Handle doc updates, refactor 2025-06-03 08:54:47 -07:00
shamoon
1716cf2a9d
Chat coverage 2025-06-03 08:54:47 -07:00
shamoon
8bb14a958d
Tests for rest of RAG 2025-06-03 08:54:47 -07:00
shamoon
0a027c8072
Chat component and service coverage 2025-06-03 08:54:46 -07:00
shamoon
add4e9c13b
Real doc ID updating 2025-06-03 08:54:46 -07:00
shamoon
ded4a01054
Sweet chat animation, cursor 2025-06-03 08:54:46 -07:00
shamoon
c42c91ee24
Only show chat if enabled 2025-06-03 08:54:45 -07:00
shamoon
dac5e44fa3
Fix partial length in chat 2025-06-03 08:54:45 -07:00
shamoon
2f7f1100a3
Fix gzip breaks streaming and flush stream 2025-06-03 08:54:44 -07:00
shamoon
7d9d8f4207
Fix openai api key, config settings saving 2025-06-03 08:54:44 -07:00
shamoon
eeea5c1171
Try rewriting with httpclient 2025-06-03 08:54:44 -07:00
shamoon
c3d9745c0e
Extremely basic chat component 2025-06-03 08:54:43 -07:00
shamoon
b0f59674cf
Just use the built-in ollama LLM class of course 2025-06-03 08:54:43 -07:00
shamoon
3f56b15e8d
Fix naming 2025-06-03 08:54:43 -07:00
shamoon
fb57b39e84
Trim nodes 2025-06-03 08:54:42 -07:00
shamoon
0d63d9d396
Backend streaming chat 2025-06-03 08:54:42 -07:00
shamoon
9713e0a5bb
Fixup some tests 2025-06-03 08:54:41 -07:00
shamoon
3795866923
Just some docs
[ci skip]
2025-06-03 08:54:41 -07:00
shamoon
9238d34b2b
Unify, respect perms
[ci skip]
2025-06-03 08:54:41 -07:00
shamoon
1910e6bad1
Individual doc chat
[ci skip]
2025-06-03 08:54:40 -07:00