Skip to content

Add ChatGPT summary #27

@paskal

Description

@paskal

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."

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions