10390 Commits

Author SHA1 Message Date
shamoon
87e5d82c46
Refactor to use Angular inject() for service injection, remove log line 2025-07-02 11:18:08 -07:00
shamoon
476844f32a
Merge migrations again 2025-07-02 11:05:00 -07:00
shamoon
01285c96d4
Fix merge conflict 2025-07-02 11:05:00 -07:00
shamoon
3e6ba34c5e
Merge migrations 2025-07-02 11:04:59 -07:00
shamoon
d9cbd3652a
Add fallback parsing for invalid ai responses 2025-07-02 11:04:59 -07:00
shamoon
90bd878cf2
Truncate similar docs content 2025-07-02 11:04:58 -07:00
shamoon
62e04ab2fe
Fix paperless_ai logging 2025-07-02 11:04:58 -07:00
shamoon
dbdc67da7a
token limiting 2025-07-02 11:04:58 -07:00
shamoon
11a4e0d5ba
Update AI docs 2025-07-02 11:04:57 -07:00
shamoon
c4b431f5a6
Cover app config changes 2025-07-02 11:04:57 -07:00
shamoon
d31f4669a2
Mock auto-trigger llm index 2025-07-02 11:04:56 -07:00
shamoon
483f1e9438
Fix / cleanup ai indexing test 2025-07-02 11:04:56 -07:00
shamoon
d7a358d39d
Doh, add tests in new module 2025-07-02 11:04:56 -07:00
shamoon
b94a60d607
Coverage for llmindex tasks 2025-07-02 11:04:55 -07:00
shamoon
e6d8cd6547
Cover llmindex in system status 2025-07-02 11:04:55 -07:00
shamoon
e2fc7f596d
Add llmindex to systemstatus 2025-07-02 11:04:54 -07:00
shamoon
20e7f01cec
Auto-trigger llmindex rebuild when enabled 2025-07-02 11:04:04 -07:00
shamoon
96daa5eb18
Use PaperlessTask for llmindex 2025-07-02 11:04:04 -07:00
shamoon
84e17535fc
Create llmindex if doesnt exist on update run 2025-07-02 11:04:03 -07:00
shamoon
77db0c399c
Move ai to its own module 2025-07-02 11:04:03 -07:00
shamoon
e51c7a27bb
Better respect perms for ai suggestions 2025-07-02 11:04:03 -07:00
shamoon
a3455c8373
Refactor load_or_build_index 2025-07-02 11:04:02 -07:00
shamoon
cce9dfd5b8
Update chat view decorators 2025-07-02 11:04:02 -07:00
shamoon
3a9257f10a
Cover matching 2025-07-02 11:04:01 -07:00
shamoon
3b921da6c3
Cover partial indexing 2025-07-02 11:04:01 -07:00
shamoon
ad8519482c
Refactor and consolidate rag / embedding and tests 2025-07-02 11:04:01 -07:00
shamoon
fe205b31c2
indexing cleanup and tests 2025-07-02 11:04:00 -07:00
shamoon
13ab148c7e
Use partial reindex for bulk updates 2025-07-02 11:04:00 -07:00
shamoon
559caf72c2
Unify prompts, cover 2025-07-02 11:03:59 -07:00
shamoon
2481a66544
Incremental llm index update, add scheduled llm index task 2025-07-02 11:03:59 -07:00
shamoon
f6a3882199
Some cleanup, typing 2025-07-02 11:03:59 -07:00
shamoon
8d48d398eb
Handle doc updates, refactor 2025-07-02 11:03:58 -07:00
shamoon
b3b9a8fb5b
Chat coverage 2025-07-02 11:03:58 -07:00
shamoon
4cdc629e3d
Tests for rest of RAG 2025-07-02 11:03:57 -07:00
shamoon
5195a97e4c
Chat component and service coverage 2025-07-02 11:03:57 -07:00
shamoon
96fa522394
Real doc ID updating 2025-07-02 11:03:57 -07:00
shamoon
dd1da9f072
Sweet chat animation, cursor 2025-07-02 11:03:56 -07:00
shamoon
d99f2d6160
Only show chat if enabled 2025-07-02 11:03:56 -07:00
shamoon
ebd46f08e5
Fix partial length in chat 2025-07-02 11:03:55 -07:00
shamoon
6f0c6f39b1
Fix gzip breaks streaming and flush stream 2025-07-02 11:03:55 -07:00
shamoon
0690fd36c5
Fix openai api key, config settings saving 2025-07-02 11:03:55 -07:00
shamoon
0052f21cea
Try rewriting with httpclient 2025-07-02 11:03:54 -07:00
shamoon
c809a65571
Extremely basic chat component 2025-07-02 11:03:07 -07:00
shamoon
bb3336f7bc
Just use the built-in ollama LLM class of course 2025-07-02 11:01:58 -07:00
shamoon
a9ed46de11
Fix naming 2025-07-02 11:01:58 -07:00
shamoon
1ccaf66869
Trim nodes 2025-07-02 11:01:57 -07:00
shamoon
e864a51497
Backend streaming chat 2025-07-02 11:01:57 -07:00
shamoon
4a28be233e
Fixup some tests 2025-07-02 11:01:56 -07:00
shamoon
9183bfc0a4
Just some docs
[ci skip]
2025-07-02 11:01:56 -07:00
shamoon
5f26139a5f
Unify, respect perms
[ci skip]
2025-07-02 11:01:56 -07:00