Commit Graph

58 Commits

Author SHA1 Message Date
fca0075730 auto-git:
[add] dist/assets/index-BLvuAcau.css
 [add] dist/assets/index-Bl2Chmww.js
 [change] backend/libraries/punk/library.json
 [change] dist/index.html
 [unlink] backend/libraries/punk/stage/19f1e5d2ceaab5fd1f1dc58ff07422388f156610d16dfdea2bdb35a5b9e70813--GeorgeJordac-TheVoiceOfHumanJustice.pdf
 [unlink] dist/assets/index-HsqF-Zwv.css
 [unlink] dist/assets/index-gF5dDH11.js
2026-03-19 21:46:36 +01:00
3f3d41a5a8 Add styles for library file sync and progress bar 2026-03-19 21:45:42 +01:00
71d94dda5e Add file sync status display in LibraryManager 2026-03-19 21:45:36 +01:00
31f38e2aee Add sync status to file entries in register_paths 2026-03-19 21:44:49 +01:00
b50803bba5 Add functions to mark files as ready or failed in local_rag.py 2026-03-19 21:43:44 +01:00
ee4dd3a2ac Add functions for handling file sync status in local_rag.py 2026-03-19 21:43:37 +01:00
9826746705 Add Storyteller Tactics PDF to library and update pipeline signature 2026-03-19 21:41:13 +01:00
c415246a5f Add Humanity's Last Prompt Engineering Guide to library and update pipeline signature 2026-03-19 21:41:02 +01:00
3169f13540 Add new book to library and update pipeline signature 2026-03-19 21:40:56 +01:00
5be64f28f3 Add GeorgeJordac-TheVoiceOfHumanJustice.pdf to library and update pipeline 2026-03-19 21:40:35 +01:00
ced973d01b Remove unused files and update library.json 2026-03-19 21:40:22 +01:00
4ad4fa15eb auto-git:
[add] dist/assets/index-HsqF-Zwv.css
 [add] dist/assets/index-gF5dDH11.js
 [change] dist/index.html
 [change] src/App.jsx
 [unlink] dist/assets/index-C2JOafdN.js
 [unlink] dist/assets/index-Cc0DLWqA.css
2026-03-19 21:39:14 +01:00
f83f419eec auto-git:
[change] README.md
2026-03-19 21:39:14 +01:00
f45910e1ca auto-git:
[change] src/LibraryManager.jsx
2026-03-19 21:39:14 +01:00
4d84e203c8 Add styles for footer tool group and database picker 2026-03-19 21:38:14 +01:00
075ccbf2b7 Remove unnecessary check in regenerateFromIndex 2026-03-19 21:38:14 +01:00
ea261db04b Update LibraryManager.jsx to remove chat-related functionality and simplify UI elements 2026-03-19 21:37:37 +01:00
26624423b7 Refactor database picker and status display in App.jsx 2026-03-19 21:37:24 +01:00
174fd0d4f3 Update session deletion to clear chat library 2026-03-19 21:37:24 +01:00
adc07c5027 Update context fetching logic in App.jsx 2026-03-19 21:36:47 +01:00
68cb83d32a Enhance prompt enrichment with local library context and web search results 2026-03-19 21:36:41 +01:00
b253f9f44c Add fetchLocalLibraryContext function to App.jsx 2026-03-19 21:36:30 +01:00
3e69cc5e35 Add functions for managing chat library sessions and update effects in App.jsx 2026-03-19 21:36:27 +01:00
b10a2b4cdb Refactor library handling and remove unused state variables in App.jsx 2026-03-19 21:36:21 +01:00
c52ac00cd5 Update chat library handling in App.jsx 2026-03-19 21:35:51 +01:00
db34d2c377 Add cleanup and pending prepare logic in local_rag.py 2026-03-19 21:35:29 +01:00
9c49298272 auto-git:
[add] dist/assets/index-C2JOafdN.js
 [change] dist/index.html
 [unlink] dist/assets/index-CdhItaw4.js
2026-03-19 21:28:39 +01:00
35e9f046f3 Remove rename functionality from LibraryManager.jsx 2026-03-19 21:28:38 +01:00
95e8c6ec15 Add library renaming functionality in App.jsx 2026-03-19 21:28:09 +01:00
3a8d71c2b5 auto-git:
[add] dist/assets/index-Cc0DLWqA.css
 [add] dist/assets/index-CdhItaw4.js
 [add] dist/index.html
2026-03-19 21:26:40 +01:00
d24d5a87e1 Update README.md with changes in library management and chat context handling 2026-03-19 21:25:39 +01:00
7289dcc22c Update LibraryManager.jsx to simplify job handling and improve UI messages 2026-03-19 21:24:31 +01:00
b045c6a006 Add 'Preparing' badge for pending chat libraries and update header display logic 2026-03-19 21:23:56 +01:00
041e5cd294 Refactor chat attachment library and job preparation in App.jsx 2026-03-19 21:23:51 +01:00
0188ccb117 Update library handling logic in App.jsx 2026-03-19 21:23:51 +01:00
c5d1510423 Add pipeline metadata and prepare functionality to local_rag.py 2026-03-19 21:23:22 +01:00
4c2ff3c875 Add corpus.jsonl to backend/libraries/punk 2026-03-19 21:16:09 +01:00
d4662d2416 Update App.jsx to include pendingChatLibrarySlug and toggleChatLibrary 2026-03-19 21:16:09 +01:00
d94a692cce Update LibraryManager.jsx for pending chat library state handling and UI updates 2026-03-19 21:15:02 +01:00
c1e8a25aae Remove redundant library job start calls in App.jsx 2026-03-19 21:15:02 +01:00
74fd88fb3d Add pendingChatLibrarySlug state and related logic in App.jsx 2026-03-19 21:14:51 +01:00
cf48fae376 Remove GeorgeJordac-TheVoiceOfHumanJustice.pdf and 4_Strings_-_Take_Me_Away_Into_The_Night_Vocal_Radio_Mix_.mp3 from library.json and stage directory 2026-03-19 21:12:20 +01:00
bc66329f3f Move useEffect hook in src/App.jsx 2026-03-19 21:10:52 +01:00
3399661809 auto-git:
[change] src/App.jsx
 [unlink] dist/assets/index-Cc0DLWqA.css
 [unlink] dist/assets/index-DKAz6gtp.js
 [unlink] dist/index.html
2026-03-19 21:10:12 +01:00
3694704470 Add index check and disable button if not indexed 2026-03-19 21:10:12 +01:00
1caed7f2c2 Check if chatLibrary is indexed before sending message 2026-03-19 21:10:12 +01:00
795f4d272a auto-git:
[add] README.md
 [add] backend/libraries/punk/library.json
 [add] backend/libraries/punk/stage/19f1e5d2ceaab5fd1f1dc58ff07422388f156610d16dfdea2bdb35a5b9e70813--GeorgeJordac-TheVoiceOfHumanJustice.pdf
 [add] backend/libraries/punk/stage/85fce554ff7685f7bccb136aff5768e54b9ba8361672fe45dbce599598c4be4b--4_Strings_-_Take_Me_Away_Into_The_Night_Vocal_Radio_Mix_.mp3
 [add] backend/libraries/punk/stage/e816ca61aebd84159747d248fedd6d5ff318c471c36bcc31b1ac6bf9aebcd3c1--The_Evolution_of_Cooperation_Robert_Axelrod_liber3.pdf
 [add] backend/local_rag.py
 [add] backend/rag/__init__.py
 [add] backend/rag/corpus_builder.py
 [add] backend/rag/corpus_enricher.py
 [add] backend/rag/index_builder.py
 [add] backend/rag/unified_rag.py
 [add] dist/assets/index-Cc0DLWqA.css
 [add] dist/assets/index-DKAz6gtp.js
 [add] dist/index.html
 [add] src/LibraryManager.jsx
 [add] wheelcheck2117/pydantic-2.11.7-py3-none-any.whl
 [add] wheelcheck274/pydantic-2.7.4-py3-none-any.whl
 [change] backend/main.py
 [change] backend/requirements.txt
 [change] backend/schemas.py
 [change] electron/main.cjs
 [change] electron/preload.cjs
 [change] package.json
 [change] run.sh
 [change] src/App.jsx
 [change] src/InterfaceSettings.jsx
 [change] src/colorSchemes.js
 [change] src/main.jsx
 [change] src/styles.css
2026-03-19 21:07:22 +01:00
9c6143a55a auto-git:
[change] src/App.jsx
 [change] src/colorSchemes.js
 [change] src/styles.css
2025-08-29 13:36:19 +02:00
728c7763e2 Add web search enrichment feature with source persistence and UI integration
Introduce optional web search enrichment flow for chat and regenerate requests. New /websearch endpoint calls enrich_prompt via SearXNG and returns enriched_prompt + citation sources.

DB: add sources_json column to chat_messages via ensure_sources_column migration helper.

Backend: persist sources_json for assistant replies (streaming and non-streaming); extend ChatRequest/RegenerateRequest to accept enriched_message and sources; history endpoint returns sources.

Frontend: add toggle for web search, settings for SearXNG URL + engines, and optional enrichment calls in sendMessage/regenerate. Render citation sources as rounded chips labeled with base domain under assistant replies.

Dependencies: add beautifulsoup4, httpx[http2], numpy for enrichment pipeline.
2025-08-27 04:27:18 +02:00
e262e4b4fe Improved codeblock-markdown-parser for a better experiencing when the LLM responds with code in Stream-mode 2025-08-26 05:32:45 +02:00