Skip to content

kacperblotny/api-LLM-summarizer

Repository files navigation

Get summarized article

This API lets you send a POST request with parameters and get a summarized article from provided link

Run the program locally

npm i  

npm start  

Run tests

npm i  

npm test  

Base URL

https://awaken-realms-task.kacperblotny.com/

Endpoint

POST awaken-realms-task.kacperblotny.com/summarize/
This endpoint allows you to summarize content from a specified URL.

Parameters

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.

Example request

POST awaken-realms-task.kacperblotny.com/summarize/?url=https://en.wikipedia.org/wiki/Node.js&length=5&model=gpt-4o&language=polski

About

LLM url content summarizer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published