Summarize any CBC article using cohere.ai's summarize API
demo.webm
This webapp takes the CBC.ca url and fetches fetches the article's text content in a GET request. After filtering out some common filler DOM elements in those articles, it then feeds the article content into Cohere's summarize API (currently in beta) and outputs the response to the user!
To run this on your machine:
- clone the repo
- create a
.env
file in the root directory of the project - following make your
.env
file look like.env.example
, then you can paste in your own Cohere API key