maximerenou / php-hugging-chat

🚧 Deprecated 🚧 HuggingChat PHP client (OpenAssistant's LLaMA)
MIT License
18 stars 2 forks source link

initConversation Error #7

Closed tanabem closed 1 year ago

tanabem commented 1 year ago

Hi All,

After installing the latest version of php-hugging-chat-0.5.2, when starting "chat.php" in the example directory, the following error is output. ”PHP Fatal error: Uncaught Exception: Failed to init conversation in /var/www/html/php-hugging-chat-0.5.2/src/Conversation.php:87”

The error message tells us that the "Failed to init conversation" error occurred on line 87 of his Conversation.php. And this shows that the exception is thrown inside the initConversation method of the Conversation object.

Could you tell me how to deal with this?

Best regards, Minoru Tanabe

maximerenou commented 1 year ago

Hello,

I'm sorry but this package is deprecated as discussed in #6 It cannot deal with HuggingChat API since they added authentication.

Greetings