diff options
| author | kamtschatka <simon.schatka@gmx.at> | 2024-11-24 19:49:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-24 18:49:17 +0000 |
| commit | fdf28ae19ac8d7314bfa6c5d24fdcbabba0aee32 (patch) | |
| tree | 919eceae7f6cc124c132ae41b924a5a2aebcd8d4 /docs | |
| parent | 82af305c2148ea966b6b00c62c98937580f06fb3 (diff) | |
| download | karakeep-fdf28ae19ac8d7314bfa6c5d24fdcbabba0aee32.tar.zst | |
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 <me@mbassem.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/docs/03-configuration.md | 5 |
1 files changed, 5 insertions, 0 deletions
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 | |
