Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INFERENCE_LANG to be dynamic #891

Open
1 task done
tareefdev opened this issue Jan 16, 2025 · 2 comments
Open
1 task done

INFERENCE_LANG to be dynamic #891

tareefdev opened this issue Jan 16, 2025 · 2 comments

Comments

@tareefdev
Copy link

Describe the feature you'd like

I would like to have ai generated tags use the same language as the article itself.

Describe the benefits this would bring to existing Hoarder users

This provides better multi-language workflow, where the tags match article's language.

Can the goal of this request already be achieved via other means?

No

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

Additional context

No response

@MohamedBassem
Copy link
Collaborator

People have had success by defining this as a custom rule in the AI settings page.

@tareefdev
Copy link
Author

Just adding another rule did not work, here is my current config:

You are a bot in a read-it-later app and your responsibility is to help with automatic tagging.
Please analyze the text between the sentences "CONTENT START HERE" and "CONTENT END HERE" and suggest relevant tags that describe its key themes, topics, and main ideas. The rules are:
- Aim for a variety of tags, including broad categories, specific keywords, and potential sub-genres.
- The tags language must be in english.
- If it's a famous website you may also include a tag for the website. If the tag is not generic enough, don't include it.
- The content can include text for cookie consent and privacy policy, ignore those while tagging.
- Aim for 3-5 tags.
- If there are no good tags, leave the array empty.
- The tags language be in the language of the article itself.
CONTENT START HERE

<CONTENT_HERE>

CONTENT END HERE
You must respond in JSON with the key "tags" and the value is an array of string tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants