Repository navigation
Help me set up chapter specific custom action #55
|
Recently I got this plugin working with the help of zeeyado, now I want the plugin to do the real work. This is the task I am trying to achieve: My ebook have news articles, segmented into chapters each chapter being a different news article. I want the AI help to analyze the current news article I am reading according to the custom prompt I have prepared but it should be restricted to only the current chapter ie the current news article. I have tried to get it set up but restricting it to only the current chapter hasn't been fulfilled kindly help me in getting it done. |
Replies: 1 comment
|
KOAssistant has built-in support for chapter-scoped analysis. Here's how to set it up: 1. Enable Text ExtractionSettings → Privacy & Data → Enable book text extraction — this must be on for the AI to read your book's text. After, you can toggle this from the Quick Settings panel. 2. Use Built-in Actions with Section ScopeSeveral built-in actions already support restricting analysis to a single chapter. The ones most relevant for news articles:
When you tap any of these, you'll see a scope/source popup with two choices:
Pick Section → your chapter → Extract full text, and the AI will analyze only that chapter's text. 3. Quick Access SetupThe fastest way to use these while reading:
4. Where Results Go
5. If You Still Want a Custom ActionIf the built-in actions don't match your specific prompt, you can create a custom action: Action Manager → + New Action** or duplicate an existing one to edit it, or request/suggest new built in actions here on GitHub Full support for source selection and artifact creation is not yet implemented for custom actions. Try the built-ins with Section scope first and see if you like them. |
KOAssistant has built-in support for chapter-scoped analysis. Here's how to set it up:
1. Enable Text Extraction
Settings → Privacy & Data → Enable book text extraction — this must be on for the AI to read your book's text. After, you can toggle this from the Quick Settings panel.
2. Use Built-in Actions with Section Scope
Several built-in actions already support restricting analysis to a single chapter. The ones most relevant for news articles: