Search…
Introduction
Guides
API
Pre-trained models
Question answering
Blog generator
Rewriter
Blog outliner
Paragraph generator
Dialogue summarizer
Text summarizer
Emotion classifier
Powered By
GitBook
Text summarizer
Summarize open-ended text like articles and books.
Summarize text
post
https://example.forefront.link
Summarize text
Example request
Python
cURL
1
import
requests
2
​
3
headers
=
{
"Authorization"
:
"Bearer <INSERT_YOUR_TOKEN>"
}
4
​
5
body
=
{
6
"text"
:
"This is the text I want to be summarized"
,
7
"summarize_length"
:
10
8
}
9
​
10
res
=
requests
.
post
(
11
"https://vanilla-gpt-j-forefront.forefront.link"
,
12
json
=
body
,
13
headers
=
headers
14
)
Copied!
1
curl https://example.forefront.link \
2
-H 'Content-Type: application/json' \
3
-H 'Authorization: Bearer YOUR_API_KEY' \
4
-d '{
5
"text": "This is the text I want to be summarized...",
6
"summarize_length": 10
7
}'
Copied!
Example text summaries
The following examples are unedited and generated by just providing the text to be summarized.
Previous
Dialogue summarizer
Next
Emotion classifier
Last modified
3mo ago
Copy link
Contents
Summarize text
post
Summarize text
Example request
Example text summaries