ukeeper / ukeeper/ukeeper-readability

Add ChatGPT summary

Open
#27 0 comments 0 reactions 1 assignee View on GitHub

@paskal is already working on this.

Since Jun 2, 2024.

Dominant language
Go
Stars
1
Forks
1
Avg merge
44m
Merged PRs (30d)
2

Description

ChatGPT is the new Bluetooth. Everything is better with it.

Prompt:

Please summarize the main points in a few sentences as TLDR style (don't add a TLDR label). Then, list up to five detailed bullet points. Provide the response in plain text. Do not add any additional information. Do not add a Summary at the beginning of the response. If detailed bullet points are too similar to the summary, don't include them at all. Finally, include a sentiment analysis of the text.

That should be a new endpoint secured like the frontend edit and add, which are now secured to prevent abuse.

The second idea is to create a "content parsed wrong" endpoint. When called, it will prompt ChatGPT to provide the correct selector, re-extract the content with this new selector, and then make a summary based on the newly extracted data.

Prompt:

Given this HTML body, identify the CSS selector that can be used to extract the main content of an article. This typically includes elements like 'article', 'main', or specific classes. Return only this selector and nothing else."

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.