Commit Graph

20 Commits

Author SHA1 Message Date
Thorsten Sommer
3439b91c28
Allow choosing a RAG folder or file by dropping it 2026-09-09 17:10:24 +02:00
Thorsten Sommer
fe35630eff
Merge branch 'main' into chunk-data
Resolved 29 conflicting files. The notable decisions:

Confidence: main's tool-calling gate (RequiredProviderConfidence) and this
branch's local-RAG gate (DataConfidenceLevel) turned out to be the same rule
on the same axis, so they are now one field. Both tool results and data
sources raise it through RequireProviderConfidence(). The gate checks the
level strictly and no longer exempts providers trusted by configuration:
TrustedProviderIds is documented as applying to data-source security checks
only, and organizations set confidence through DataConfidence
.CustomConfidenceScheme instead. The security axis (DataSecurity, ERI,
IsTrustedForDataSourceSecurityChecks) is unchanged.

Provider creation: main's CreateProvider signature won (hfEndpointKind,
capabilityOverrides, no model parameter); tokenizerPath was added to it and
is set for every provider, including the new Hetzner, IONOS and LiteLLM.
Provider and EmbeddingProvider combine the record parameters, Lua parsing and
Lua serialization of both sides.

File types: main's hierarchy (ODT leaf, WORD parent, PowerPoint without the
legacy .ppt, TABULAR instead of DELIMITED_TABLE) plus this branch's
SPREADSHEET parent with ODS and the xlsm/xlsb/xla/xlam extensions, which the
runtime already reads. Both sides had added a conflicting HTML filter; the
reading family keeps the name, and the export path uses a narrow
HTML_DOCUMENT, following the existing LATEX/TEX split.

Runtime: main's file_data.rs is the base, including the prompt-injection
sanitizer and the extraction routes. Token counting and chunk segmentation
moved into take_released, so they act on the text the filter has released
rather than on text it is still holding. A failed count is logged and left
out instead of ending the extraction, because the app counts such a segment
itself.

Data sources: the participating-provider checks of this branch are kept, and
main's GetAllowedDataSources overload now builds on them. DirectChatService
resolves the launched chat's data source options before the check, so filter
and chat see the same options.

.NET and Rust both build clean; I18N regenerated to 4060 keys.
2026-09-05 21:20:33 +02:00
Peer Hogeterp
e78a0e61b9
Added provider icons (#934)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
2026-08-25 12:46:10 +02:00
PaulKoudelka
aafc58b31a showed user default values in expert settings for datasources 2026-08-14 16:02:40 +02:00
PaulKoudelka
88999d985c refactored confidence levels and ensured checks work 2026-08-14 12:03:16 +02:00
Paul Koudelka
647c428ebf improved code and made sure components are reused if possible 2026-08-12 14:19:32 +02:00
Paul Koudelka
f9263b02dd fixed the expert settings for datasource_file 2026-08-10 22:06:26 +02:00
Paul Koudelka
185a99c9ed Added security checks for confidence levels 2026-08-05 15:05:17 +02:00
PaulKoudelka
9932b5870b Merge branch 'main' into chunk-data 2026-08-04 18:01:25 +02:00
PaulKoudelka
2a3a82820c forced overlap on chunks 2026-08-04 15:08:47 +02:00
PaulKoudelka
c78a8f05ef added metadata for bm25 and also confidence levels 2026-08-03 19:45:47 +02:00
PaulKoudelka
b3ba945b98 made the embedding procedure more robust 2026-08-03 17:53:31 +02:00
PaulKoudelka
89f7156fdf improved chunking pipeline and handling of expert settings 2026-07-29 18:47:59 +02:00
PaulKoudelka
fd2d99872a added warning and improved error handling 2026-07-28 20:22:37 +02:00
Thorsten Sommer
7fecbec0d5
Added description fields to local data sources (#583)
Some checks are pending
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-apple-darwin, osx-x64, macos-latest, x86_64-apple-darwin, dmg updater) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-pc-windows-msvc.exe, win-x64, windows-latest, x86_64-pc-windows-msvc, nsis updater) (push) Blocked by required conditions
Build and Release / Prepare & create release (push) Blocked by required conditions
Build and Release / Publish release (push) Blocked by required conditions
Build and Release / Read metadata (push) Waiting to run
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-unknown-linux-gnu, linux-x64, ubuntu-22.04, x86_64-unknown-linux-gnu, appimage deb updater) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-apple-darwin, osx-arm64, macos-latest, aarch64-apple-darwin, dmg updater) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-pc-windows-msvc.exe, win-arm64, windows-latest, aarch64-pc-windows-msvc, nsis updater) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-unknown-linux-gnu, linux-arm64, ubuntu-22.04-arm, aarch64-unknown-linux-gnu, appimage deb updater) (push) Blocked by required conditions
2025-12-08 20:53:46 +01:00
Thorsten Sommer
437da0fd9b
Finished the Pandoc integration (#487) 2025-05-30 22:39:16 +02:00
Thorsten Sommer
1e19c05c57
Add configuration for maximum matches per query across data sources (#484) 2025-05-26 19:53:31 +02:00
Thorsten Sommer
9aa0a91465
Added more text content to the localization (#469) 2025-05-18 21:31:15 +02:00
Thorsten Sommer
f4780939fc
Integrated data sources into any chat (#282) 2025-02-15 15:41:12 +01:00
Thorsten Sommer
63be312bb4
Configure data sources (#259) 2025-01-13 19:51:26 +01:00