From 1796ae9fa5ec6e1ab3e71d5b35b216cd3c4e9215 Mon Sep 17 00:00:00 2001 From: Hyeonseo Nam Date: Thu, 4 May 2023 02:52:06 +0900 Subject: [PATCH] Edit README.md --- README.md | 39 +++++++++++++++++++++++++++++++++------ 1 file changed, 33 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6b1b8de..0ef0eae 100644 --- a/README.md +++ b/README.md @@ -14,15 +14,18 @@ - `Classify tag from Note Content` - `Classify tag from Selected Area` -- Choose from different **Tag Reference** types. ChatGPT will select the appropriate tag from these references. +- Toggle and Choose from different **Tag Reference** types. ChatGPT will select the appropriate tag from these references. - `All tags` (default) - `Filtered Tags` with regular expression - `Manual Tags` that defined manually - -- Specify the **Output Location** for the generated tag and decide whether it **overwrites**: - - At `FrontMatter` (with specified key) - - At `Title` - - At `Current Cursor` + +- Specify the **Output Type** from the response of ChatGPT. + - `#Tag`: at your `Current Cursor` or `Top of Content`. + - `[[WikiLink]]`: at your `Current Cursor` or `Top of Content`. + - `FrontMatter`: with `key` + - `Title Alternative`: at the end of note's title + +- (Optional) Add `Prefix` or `Suffix` for the output format. - (Optional) Your can use your custom request for the ChatGPT API. - `Custom Prompt Template` @@ -45,6 +48,30 @@ ![](img/title_to_frontmatter.gif) +### DDC number classification +If you want use this plugin as DDC number classification, edit `Custom Prompt Template` like this: +``` +Please use Dewey Decimal Classification (DDC) to classify this content: +""" +{{input}} +""" +Answer format is JSON {reliability:0~1, output:"[ddc_number]:category"}. +Even if you are not sure, qualify the reliability and select one. +Convert the blank spaces to "_" in the output. +``` + +### LCSH classification +LCSH classification can be similar: +``` +Please use Library of Congress Subject Headings (LCSH) to classify this content: +""" +{{input}} +""" +Answer format is JSON {reliability:0~1, output:"[First LCSH term]--[Second LCSH term]--[Third LCSH term]"}. +Even if you are not sure, qualify the reliability and select one. +Convert the blank spaces to "_" in the output. +``` + ## Installation - Search `Auto Classifier` in the Community plugin tab of the Obsidian settings.