GPT Scraper avatar

GPT Scraper

Try for free

Pay $9.00 for 1,000 pages

View all Actors
GPT Scraper

GPT Scraper

drobnikj/gpt-scraper
Try for free

Pay $9.00 for 1,000 pages

Extract data from any website and feed it into GPT via the OpenAI API. Use ChatGPT to proofread content, analyze sentiment, summarize reviews, extract contact details, and much more.

Do you want to learn more about this Actor?

Get a demo
LU

"Line too long"

Closed

Luceena opened this issue
9 months ago

Apparently the input is too long, but it worked previously somehow. Where can I see the allowed maximum length?

lukas.prusa avatar

Hi Luceena,

thanks a lot for reporting this! This is our first time observing this error.

Yes, as you said the input instruction message is too long. This error is thrown by OpenAI, so there isn't much we can do about it. Here is a discussion I found about it: https://community.openai.com/t/function-call-description-max-length/529902

From some other discussion it looks like the limit is 1280 characters, but it might change from one model to another.

We will add a new field to specify the schema function description separately from the main instruction prompt. We will also properly format the error in the logs.

I will keep you updated here, thanks!

lukas.prusa avatar

Hi again,

I'm happy to inform you that we've just updated the Actor with a fix to properly display the error message.

We've also added the possibility to separately define the schema function description name via the new schemaDescription input field.

Try it out and let me know how it works, thanks!

Developer
Maintained by Apify

Actor Metrics

  • 155 monthly users

  • 64 stars

  • >99% runs succeeded

  • 2 days response time

  • Created in Mar 2023

  • Modified 4 days ago