aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workers/openaiWorker.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat: Add AI auto summarization. Fixes #1163Mohamed Bassem2025-05-181-463/+0
|
* feat: Implement generic rule engine (#1318)Mohamed Bassem2025-04-271-4/+18
| | | | | | | | | | | | | | | | | * Add schema for the new rule engine * Add rule engine backend logic * Implement the worker logic and event firing * Implement the UI changesfor the rule engine * Ensure that when a referenced list or tag are deleted, the corresponding event/action is * Dont show smart lists in rule engine events * Add privacy validations for attached tag and list ids * Move the rules logic into a models
* chore: Rename hoarder packages to karakeepMohamedBassem2025-04-121-10/+10
|
* feat: Add support for 'ai tagged' as a webhook trigger. Fixes #1092Mohamed Bassem2025-03-071-0/+4
|
* fix: Move away from JSON outputs to structured outputs. Fixes #1047Mohamed Bassem2025-03-021-3/+6
|
* fix: Abort all IO when workers timeout instead of detaching. Fixes #742Mohamed Bassem2025-02-011-6/+26
|
* feat: Support customizing the summarization prompt. Fixes #731Mohamed Bassem2025-01-121-1/+1
|
* refactor: Move asset preprocessing to its own worker out of the inference workerMohamed Bassem2024-12-261-48/+2
|
* fix(workers): Add spaces in tag placeholders for better tokenizationMohamed Bassem2024-11-241-3/+3
|
* feature: Add support for tag placeholders in custom prompts. #111 (#612)kamtschatka2024-11-241-1/+42
| | | | | | | | | | * PR for #111 added a $tags,$aiTags and $userTags placeholder that will be replaced with all tags, ai tags or user tags during inference * Use the new buildImpersonatingTRPCClient util --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* fix: Only update bookmark tagging/crawling status when worker is out of retriesMohamed Bassem2024-11-091-5/+7
|
* fix: Fix bug in tag normalization regex. Fixes #595Mohamed Bassem2024-11-031-1/+1
|
* deps: Extract the queue implementation into its own reposMohamed Bassem2024-10-271-1/+1
|
* feature: Add a summarize with AI button for linksMohamed Bassem2024-10-271-3/+6
|
* refactor: Move inference to the shared packageMohamed Bassem2024-10-261-2/+2
|
* feature: Add OCR support for images. Fixes #296Mohamed Bassem2024-10-201-1/+21
|
* feature: Allow customizing the inference's context lengthMohamedBassem2024-10-121-9/+7
|
* feature(web): Add the ability to customize the inference prompts. Fixes #170MohamedBassem2024-09-291-39/+42
|
* fix(workers): Log stacktrace on worker error. #424 (#429)kamtschatka2024-09-261-1/+1
| | | extended logging when an exception occurrs, so it is possible to see the stacktrace of a failed execution
* feature(worker): Allow configuring inference job timeout and ollama keep ↵MohamedBassem2024-09-151-1/+1
| | | | alive. Fixes #389 #224
* fix: async/await issues with the new queue (#319)kamtschatka2024-07-211-1/+1
|
* refactor: Replace the usage of bullMQ with the hoarder sqlite-based queue (#309)Mohamed Bassem2024-07-211-21/+22
|
* fix: Trigger search re-index on bookmark tag manual updates. Fixes #208 (#210)kamtschatka2024-06-091-5/+2
| | | | | | | | | | | | * re-index of database is not scanning all places when bookmark tags are changed. Manual indexing is working as workaround #208 introduced a new function to trigger a reindex to reduce copy/paste added missing reindexes when tags are deleted/bookmarks are updated * give functions a bit more descriptive name --------- Co-authored-by: kamtschatka <simon.schatka@gmx.at> Co-authored-by: MohamedBassem <me@mbassem.com>
* fix(workers): AI infered tags can contain " " at the beginning. Fixes #184 ↵kamtschatka2024-06-071-3/+5
| | | | | | | (#194) added a trim to tags to prevent whitespaces at the beginning/end of tags Co-authored-by: kamtschatka <simon.schatka@gmx.at>
* feature(inference): Improve ollama tagging (#162)kamtschatka2024-05-181-5/+12
| | | | | | | | | | | | | * Inference Failed with Ollama #20 Changed the prompt to be split in 2, so ollama does not forget them * Update apps/workers/openaiWorker.ts Co-authored-by: Mohamed Bassem <me@mbassem.com> --------- Co-authored-by: kamtschatka <simon.schatka@gmx.at> Co-authored-by: Mohamed Bassem <me@mbassem.com>
* fix(inference): Attempt to reuse existing identical tagsMohamedBassem2024-04-261-22/+62
|
* feature: Add PDF support (#88)Ahmad Mujahid2024-04-111-12/+57
| | | | | | | | | | | | | | | | | | | * feature: Add PDF support * fix: PDF feature enhancements * fix: Freeze expo-share-intent version to prevent breaking changes * fix: set endOfLine to auto for cross-platform development * fix: Upgrading eslint/parser and eslint-plugin to 7.6.0 to solve the linting issues * fix: enhancing PDF feature * fix: Allowing null in fiename for backward compatibility * fix: update pnpm file with pnpm 9.0.0-alpha-8 * fix:(web): PDF Preview for web
* feat(workers): Allow configuring the language in which the tags are ↵MohamedBassem2024-04-021-5/+5
| | | | generated. Fixes #68
* format: Add missing lint and format, and format the entire repoMohamedBassem2024-03-301-13/+15
|
* fix: Drop the 2k char limit on notes. Fixes #25MohamedBassem2024-03-271-6/+11
|
* fix: Attempt to increase the reliability of the ollama inferenceMohamedBassem2024-03-271-3/+8
|
* feature: Add support for local models using ollamaMohamedBassem2024-03-271-66/+31
|
* refactor: Validate env variables using zodMohamedBassem2024-03-271-11/+11
|
* fix(workers): Drop the restriction of the tags being lowercase and without ↵MohamedBassem2024-03-191-2/+2
| | | | spaces
* refactor: Change asset storage to be the filesystem instead of sqliteMohamedBassem2024-03-191-10/+9
|
* Feature: Add support for uploading images and automatically inferring their ↵Mohamed Bassem2024-03-191-17/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tags (#2) * feature: Experimental support for asset uploads * feature(web): Add new bookmark type asset * feature: Add support for automatically tagging images * fix: Add support for image assets in preview page * use next Image for fetching the images * Fix auth and error codes in the route handlers * Add support for image uploads on mobile * Fix typing of upload requests * Remove the ugly dragging box * Bump mobile version to 1.3 * Change the editor card placeholder to mention uploading images * Fix a typo * Change ios icon for photo library * Silence typescript error
* structure: Create apps dir and copy tooling dir from t3-turbo repoMohamedBassem2024-03-141-0/+263