This API lets you send a POST request with parameters and get a summarized article from provided link
npm i
npm start
npm i
npm test
https://awaken-realms-task.kacperblotny.com/
POST awaken-realms-task.kacperblotny.com/summarize/
This endpoint allows you to summarize content from a specified URL.
url (required): The URL of the content to summarize.
length (optional): The desired length of the summary in sentences. If not provided, a default length of 3 will be used.
model (optional): The model of LLM to use for summarization: gpt-3.5-turbo, gpt-4, gpt-4-turbo, gpt-4o.
language (optional): The language of the summarization generated by LLM. For better experience use IETF BCP 47 codes.
POST awaken-realms-task.kacperblotny.com/summarize/?url=https://en.wikipedia.org/wiki/Node.js&length=5&model=gpt-4o&language=polski