Skip to content

[News API] Summarization returns empty string #150

@NikashS

Description

@NikashS
import requests
json_body = {
    "url": "https://static.remotasks.com/uploads/61095caaada54100bb515474/short.txt"
}
resp = requests.post("https://api.smrzr.io/v1/summarize/news?num_sentences=50", json=json_body).json()
print(resp)

returns {'summary': ''}

any thoughts? hoping to use the news endpoint because you mentioned there's a limit of 10,000 characters bc of lambda constraint, I wonder if passing in a URL instead would get around this constraint?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions