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

Key Takeaways / TLDR block #505

Open
1 task done
jeffpaul opened this issue Jun 22, 2023 · 3 comments · May be fixed by #843
Open
1 task done

Key Takeaways / TLDR block #505

jeffpaul opened this issue Jun 22, 2023 · 3 comments · May be fixed by #843
Assignees
Milestone

Comments

@jeffpaul
Copy link
Member

Is your enhancement related to a problem? Please describe.

A bit similar to the Expand/Reduce content (#488) and Rewrite content tone (#489) features where ClassifAI would assess some/all of the post content and then generate content from that, the idea here would be to have a "Key Takeaways" / "TLDR" / "" block that would process the post title/content/meta and then generate copy that would summarize the post content into a block that (in the expected use case) be at the top-end of a post. The output could be a short paragraph summarizing the content / noting "key takeaways" from the content / having TLDR style bullet points. Think of this like an abstract at the beginning of an academic paper, but for post content.

Designs

There could be a block option for generating a paragraph or list block for the content (e.g. sentences vs. bulleted list).

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jeffpaul jeffpaul added this to the Future Release milestone Jun 22, 2023
@jeffpaul jeffpaul moved this from Incoming to Backlog in Open Source Practice Jun 22, 2023
@jeffpaul jeffpaul modified the milestones: Future Release, 2.5.0 Jun 22, 2023
@jeffpaul jeffpaul modified the milestones: 2.5.0, 2.6.0 Dec 4, 2023
@jeffpaul
Copy link
Member Author

Similar to how the "Excerpt" block will insert the excerpt into the post (alongside the "read more" link)...

excerpt-more-blocks

...perhaps we structure this feature as a "Summary" block (while I like the idea of typing /tldr to generate this block I'm not certain that block name would translate well outside of English (though perhaps in the meta for the block we could include "TLDR", "Key Takeaways", "Abstract", etc to capture other terms folks might use in trying to search out this block?).

Potential Dashicons to use for the block icon: status, excerpt-view, testimonial, or edit-large?

Default prompt: I still need to think this part through, but otherwise open to suggestions here.

Possible examples of block output style/format:

Not yet settled on whether the default should be paragraph or bullet points, but for now sticking with paragraph (certainly a good item to consider for a setting to change the default). So here's perhaps how this could render when generating a "Summary" block... a Heading with "Post Summary" and then a Paragraph with the content returned from the AI service in italics.
summary-paragraph

Alternatively if the default is to use bullet points/lists, then it could render like this... a Heading with "Post Summary" and then a List with the content returned from the AI service as list items in italics.
summary-list

I recognize that by using the Paragraph and List blocks that there's no easy way to then "toggle" between a paragraph and bullet point view of the Summary, so perhaps this is its own custom Summary block that would otherwise be able to "toggle" between the two variants?

@jeffpaul
Copy link
Member Author

Something that I didn't take into account in my comment above is how to perhaps allow someone to review the content before it's added to the post as well as provide an opportunity to retry/regenerate the summary. Perhaps that's done in a modal like the Expand/Condense approach?

@jeffpaul
Copy link
Member Author

Watson's NLU also has an experimental summarization feature that could be useful here.

@dkotter dkotter modified the milestones: 3.1.0, 3.2.0 Jul 12, 2024
@dkotter dkotter modified the milestones: 3.2.0, 3.3.0 Dec 11, 2024
@dkotter dkotter linked a pull request Jan 23, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

2 participants