From fdf28ae19ac8d7314bfa6c5d24fdcbabba0aee32 Mon Sep 17 00:00:00 2001 From: kamtschatka Date: Sun, 24 Nov 2024 19:49:17 +0100 Subject: feature: Add support for tag placeholders in custom prompts. #111 (#612) * 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 --- docs/docs/03-configuration.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/docs/03-configuration.md b/docs/docs/03-configuration.md index 49971ec4..a5720092 100644 --- a/docs/docs/03-configuration.md +++ b/docs/docs/03-configuration.md @@ -60,6 +60,11 @@ Either `OPENAI_API_KEY` or `OLLAMA_BASE_URL` need to be set for automatic taggin | INFERENCE_LANG | No | english | The language in which the tags will be generated. | | INFERENCE_JOB_TIMEOUT_SEC | No | 30 | How long to wait for the inference job to finish before timing out. If you're running ollama without powerful GPUs, you might want to increase the timeout a bit. | +:::info +- You can append additional instructions to the prompt used for automatic tagging, in the `AI Settings` (in the `User Settings` screen) +- You can use the placeholders `$tags`, `$aiTags`, `$userTags` in the prompt. These placeholders will be replaced with all tags, ai generated tags or human created tags when automatic tagging is performed (e.g. `[hoarder, computer, ai]`) +::: + ## Crawler Configs | Name | Required | Default | Description | -- cgit v1.2.3-70-g09d2