Closed devbydaniel closed 6 days ago
Sounds exactly like https://github.com/hoarder-app/hoarder/issues/111, but with some suggestions on how to fix it?
Ahh, thanks for the hint, I will respond there
duplicate of https://github.com/hoarder-app/hoarder/issues/111
Hi! First of all, great app!
I was wondering if you'd consider an option where users can restrict the automatic AI tagging to only use tags which are created by the user.
The background is that some people (like me) will have a pretty clear set of pre-defined tags which they want to use. Restricting the AI to only use these tags would greatly improve the organization of the bookmark library because everything will be sorted into expected buckets.
I briefly went through your code, and I think the implementation could look something like
/packages/shared/prompts.ts
to accept an optionaluserDefinedTags
param and if present, add those tags to the prompt/apps/workers/openaiWorker.ts
check if that option is present and if so, pass the user defined tags to the prompt builderI'm happy to support you / provide more details / try to implement it myself as soon as I have time in case that sounds interesting for you.