Commit graph

854 commits

Author SHA1 Message Date
Ida
dff3d41845 fix(rag): stable ingestion idempotency across re-extractions (AC4)
Re-indexing the same file always triggered a full embedding run —
ingestion.skipped.duplicate never fired. Two independent causes:

1. _computeIngestionHash included contentObjectId in its payload, but
   extractors generate fresh uuid4() per run, making the hash a
   per-run nonce. Now hashed over (contentType, data) in extractor
   order — stable across re-extractions, sensitive to content,
   ordering, and type changes.
2. _autoIndexFile upserted the fresh pre-scan FileContentIndex before
   requestIngestion's duplicate check, wiping structure._ingestion
   and status=indexed from the prior run. The pre-upsert now merges
   the existing _ingestion metadata and preserves the indexed status.

Verified end-to-end: second PATCH /scope on an already-indexed file
logs  and returns in ~2s
with zero embedding API calls.

Adds test_ingestion_hash_stability.py (5 cases).
2026-04-29 14:39:40 +02:00
Ida
a7f4055130 fix(rag): preserve per-page granularity + remove on-demand extraction fallbacks
The default MergeStrategy concatenates every extracted text part into a
single ContentPart, collapsing a 500-page PDF into one chunk with a
blurred average embedding — RAG retrieval was effectively broken.

- ExtractionOptions.mergeStrategy is now Optional[MergeStrategy]; passing
  None preserves per-part granularity. Default factory kept for
  backward compatibility.
- routeDataFiles._autoIndexFile, _workspaceTools.readFile, and
  _documentTools.describeImage explicitly pass mergeStrategy=None.
- Agent tools no longer carry redundant extraction + requestIngestion
  fallback paths: the unified ingestion lane owns all corpus writes,
  and readFile/describeImage are pure consumers of the knowledge store.
- Unit test asserts runExtraction(mergeStrategy=None) keeps every part.
2026-04-29 14:39:40 +02:00
Ida
9d82d3d353 P0: injection facade 2026-04-29 14:39:40 +02:00
ValueOn AG
052647a52b wired infomaniac to ai adapters and tools 2026-04-29 01:52:47 +02:00
ValueOn AG
49f3660d89 fixes infomaniak download 2026-04-29 01:03:40 +02:00
ValueOn AG
9816f13ae9 fixes infomaniac different than in doc 2026-04-29 00:57:28 +02:00
ValueOn AG
b405cebdec kdrive fix 2026-04-29 00:35:21 +02:00
ValueOn AG
fb3a1f0a51 fixes ai agents parameter flow 2026-04-28 11:58:53 +02:00
ValueOn AG
d9fcea54ff trustee agent fix 2026-04-27 08:07:37 +02:00
ValueOn AG
30ea8bbefe fixed trustee 2026-04-26 23:59:09 +02:00
Patrick Motsch
3507c16055
Merge branch 'main' into int 2026-04-26 23:10:49 +02:00
ValueOn AG
d505ffd9cd Graph and data class falignment strict 2026-04-26 22:53:44 +02:00
ValueOn AG
60d5062204 fix model registration race locker 2026-04-26 18:13:11 +02:00
ValueOn AG
564a1200c6 datamodel sctirc fk logic in one place 2026-04-26 18:11:42 +02:00
ValueOn AG
8221a0da3e fixed user references 2026-04-26 08:57:49 +02:00
ValueOn AG
24f0c3e2eb cleanup internal marked exports 2026-04-26 08:31:35 +02:00
ValueOn AG
794ba36f27 teamsbot 2026-04-25 01:13:01 +02:00
ValueOn AG
b6be8f391e fixes 2026-04-23 23:09:38 +02:00
Ida
269d0fa5ff fix forgejo env
All checks were successful
Deploy Gateway / deploy (push) Successful in 4s
2026-04-22 14:59:19 +02:00
ValueOn AG
71f4265e06 fixes udb, outlook, workflow 2026-04-21 23:49:46 +02:00
ValueOn AG
908be0511b redmine integrated and fixed 2026-04-21 21:30:11 +02:00
ValueOn AG
dc0346904f redmine integration 2026-04-21 18:14:21 +02:00
ValueOn AG
be43876461 fix critical trustee db sync 2026-04-21 10:45:14 +02:00
ValueOn AG
5ef311a82e stripe fix 2026-04-21 08:57:43 +02:00
ValueOn AG
cdca242f82 data source fixes 2026-04-21 00:50:36 +02:00
ValueOn AG
f29e0c9edc feature fixes 2026-04-20 17:51:09 +02:00
ValueOn AG
b84ca37d99 pwg-demo 2026-04-20 00:31:05 +02:00
ValueOn AG
1ffe521ad8 grapheditor enhanced para set for ai 2026-04-19 01:31:57 +02:00
ValueOn AG
7d27ddf6b5 fixed integration graph editor ai 2026-04-19 01:22:33 +02:00
ValueOn AG
3ea85fe57e centralized language catalog 2026-04-19 00:36:45 +02:00
ValueOn AG
24ff6058d5 fixed ai workspace voice google issue 2026-04-19 00:19:42 +02:00
ValueOn AG
50107a91ba fixed proper splitting sysadmin/platformadmin and proper logic for mandate name(slug) and label(user) 2026-04-19 00:04:03 +02:00
Patrick Motsch
1c3b3ace27
Merge pull request #126 from valueonag/feat/demo-system-readieness
Feat/demo system readieness
2026-04-17 21:46:59 +02:00
Ida
948f0c54dc HOTFIX
Some checks are pending
Build and deploy Python app to Azure Web App - gateway-int / build (push) Waiting to run
Build and deploy Python app to Azure Web App - gateway-int / deploy (push) Blocked by required conditions
2026-04-17 15:40:06 +02:00
Ida
08cb98cfba bugfix(BIL-02) 2026-04-17 15:24:22 +02:00
Ida
d9f437f63e bugfix(FIL-01 + files verschwunden nach hochladen und reload 2026-04-17 14:09:33 +02:00
Ida
18fb8e32b3 bugfix(CON-01) 2026-04-17 13:48:18 +02:00
Ida
c47529ef3b fix:merge conflicts clickup branch 2026-04-17 13:31:38 +02:00
ValueOn AG
18e444d751 fixed toggles 2026-04-17 12:30:50 +02:00
ValueOn AG
4b531dbf15 fixes 2026-04-17 11:51:26 +02:00
ValueOn AG
19be818fbb testing fixes, udb source handling fixes 2026-04-17 11:50:24 +02:00
ValueOn AG
e942770ffc feat db-clean-ui and unified content udm 2026-04-16 23:13:05 +02:00
ValueOn AG
95b427ccc3 fixes comcoach 2026-04-16 14:20:26 +02:00
ValueOn AG
670ae1e0ea fixes from demo1: compliance ui fgtable issues, nodes vertical, nodes editting logic to edit in all editors of a mmandate based on highest level of role 2026-04-14 22:56:25 +02:00
ValueOn AG
005b794a2a fixed doc handover 2026-04-14 16:22:55 +02:00
ValueOn AG
4852059c7d fixed tools 2026-04-14 16:15:32 +02:00
ValueOn AG
fe89952252 fixes ai toolbox connections 2026-04-14 13:26:12 +02:00
ValueOn AG
1230a953bd compliance view 2026-04-14 11:16:19 +02:00
ValueOn AG
591e890527 tool fix 2026-04-14 08:40:43 +02:00
ValueOn AG
d2611ff498 fix 2026-04-14 08:03:31 +02:00