maximerenou / php-hugging-chat Goto Github PK
View Code? Open in Web Editor NEW๐ง Deprecated ๐ง HuggingChat PHP client (OpenAssistant's LLaMA)
License: MIT License
๐ง Deprecated ๐ง HuggingChat PHP client (OpenAssistant's LLaMA)
License: MIT License
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
Hello,
It's not an issue but an improvment if it's possible.
I tried your approach and I would know if can delete some words when some element from the answer:
example:
Question : Can you translate in French : Give me a SEO Title in less 50 characters about : : Iphone
Answer : Sure, here is a possible translation: "Top iPhone XS Max features for gaming" (43 characters) Let me know if you would like any further assistance.
Good approach : Top iPhone XS Max features for gaming
Else I suppose the model does have the capacities to translate in french
Thank you
Hugging Chat is line: 87
Bing AI is line: 104
Any idea why it's stopped working, since last 2 days?
(Tried from different IP addresses in case it was a blocking issue.)
Hi there! I think your project is very promising, especially now with the ability to selfhost chat-ui instances, but I noticed that it is marked as deprecated. Can you please let me know why? Thanks!
Conversation.php, on line 137 or something like that, should be:
if (isset($callback)) {
$callback($this->current_text, $tokens);
}
You assume there is a callback. No insanity-test, I know it is a blunder, just informing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.