• Resolved readyallcz

    (@readyallcz)


    Hi there,

    We have a problem with the content generator. The error is reported as
    Uncaught TypeError: Return value of Rahul900day\Gpt3Encoder\Bpe::getMinRankPair() must be of the type array, null returned in /wp-content/plugins/ai-engine/vendor/rahul900day/gpt-3-encoder/src/Bpe.php:147

    We tried upgrading to php 7.4 updates and plugin updates. The problem still persists.

    Please give me feedback. If anyone has experience.

    Thanks
    George

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    This is a bit weird; also, it’s happening in a library I use (it’s not my own code). Are you using a specific language? What are you trying to do when it happens?

    Thread Starter readyallcz

    (@readyallcz)

    Hello,
    thanks for the info. It looks like a tokenization issue. When we connected the API and limited the token setting to around 5500 (settings here – setting -> advance -> Dynamic Max Tokens -> enable), this problem arose during content generation. It’s probably not treated very well, but when the limit is reduced, it works 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Problem ai-engine/vendor/rahul900day/gpt-3-encoder/src/Bpe.php:147’ is closed to new replies.