Text Analysis

KOSTENLOS
Durch Bhavya Gaur | Aktualisiert 4 дня назад | Text Analysis
Popularität

9.8 / 10

Latenz

380ms

Service Level

100%

Health Check

N/A

Zurück zu allen Diskussionen

summarize-text works in copy pasting in here in the website but not in Python API call

Rapid account: Projectiitg 2021 F Mjp Xa Lj X Jb
projectiitg2021-fMjpXaLjXJb
2 года назад

I am trying to summarize a short paragraph.

When I copy pasted the paragraph here in the website body “text”, the summarization was successful and the summaries were shown.

Check this:
LINK
LINK

But when I try it via the API call, it does not work and throws the incorrect data passed error.
I tried with the normal string text
as well as the encoded utf-8 text

Here:

LINK

I’ve been dying with this for 2 days, and I decided to open this request.
Please do help as soon as possible. Thank you!

P.S: Kudos for creating one great API 😃

Rapid account: Gaurmanojkumar 530
gaurmanojkumar530 Commented 2 года назад

We are glad that you solved your issue.

Rapid account: Projectiitg 2021 F Mjp Xa Lj X Jb
projectiitg2021-fMjpXaLjXJb Commented 2 года назад

url: https://gist.github.com/bhavyagaur99/81cea8a1c5e8e5bfc108bbab54312a01
This saved the day.
Found where we went wrong.

Totally forgot about hiding the API key
Changed the API key.

Thanks a ton for the quick support!

Rapid account: Gaurmanojkumar 530
gaurmanojkumar530 Commented 2 года назад

Look at the sample code and let us know if it solved your issue.

url: https://gist.github.com/bhavyagaur99/81cea8a1c5e8e5bfc108bbab54312a01

Thanks for choosing us.

Rapid account: Gaurmanojkumar 530
gaurmanojkumar530 Commented 2 года назад

Hi,

Thanks for using our API.
We have urgent request from you please change your API key, you have mistakenly listed it in the images.
API keys are private.

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen