ChatGPT: AI-powered Auto-Reply Extension for Flarum
- Edited
CHATGPT ERROR Permission member
"CHATGPT" works fine but But there is an error in the image below attached to the article. Even though I set "Admin" permission Use ChatGPT assistant
Disable extension CHATGPT >> Works fine, no errors as shown below when posting a new discussion
The member who posted a new discussion encountered an error
ADMIN POST OK
At this point, I continue to press the "Post discussion" button and the post will double: If I click "Post discussion", the post will increase even more.
- Edited
V0.4.0
- Now admin can choose which tags to generate the answers.
- Edited
OH MY GOD @datlechin
I'm so sad,Because Chatgpt won't reply me after I update。
Flarum core: 1.8.3
PHP version: 8.2.10
MySQL version: 8.1.0
Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, session, PDO, pdo_sqlite, bz2, posix, random, readline, Reflection, standard, SimpleXML, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, Phar, exif, gd, gmp, imap, mysqli, pdo_mysql, redis, sodium
+--------------------------------------------+--------------+--------+
| Flarum Extensions | | |
+--------------------------------------------+--------------+--------+
| ID | Version | Commit |
+--------------------------------------------+--------------+--------+
| flarum-flags | v1.8.0 | |
| flarum-tags | v1.8.0 | |
| flarum-approval | v1.8.1 | |
| flarum-markdown | v1.8.0 | |
| flarum-suspend | v1.8.1 | |
| flarum-mentions | v1.8.2 | |
| flarum-subscriptions | v1.8.0 | |
| askvortsov-rich-text | v2.1.7 | |
| flarum-lock | v1.8.0 | |
| askvortsov-auto-moderator | v0.1.3 | |
| flarum-likes | v1.8.0 | |
| afrux-forum-widgets-core | v0.1.7 | |
| clarkwinkelmann-featured-discussions | 1.0.0 | |
| fof-user-directory | 1.3.3 | |
| fof-follow-tags | 1.2.2 | |
| flarum-nicknames | v1.8.0 | |
| fof-byobu | 1.3.4 | |
| ianm-level-ranks | 1.1.1 | |
| v17development-blog | v0.6.5 | |
| fof-gamification | 1.6.4 | |
| antoinefr-money | v1.3.1 | |
| ziiven-daily-check-in | v0.3.7 | |
| zequeen-acgembed-remastered | v1.1.2 | |
| v17development-seo | v1.8.0 | |
| tagecode-donate | v0.2.0 | |
| swaggymacro-only-starter | 0.6.6 | |
| pipecraft-id-slug | v1.1.0 | |
| migratetoflarum-canonical | 1.0.0 | |
| mickmelon-coloured-usernames | 0.1.1 | |
| justoverclock-welcomebox | 2.0.2 | |
| justoverclock-last-users-posts | 0.3.0 | |
| justoverclock-last-registered-users | 0.1.5 | |
| justoverclock-hot-discussions | 0.1.2 | |
| justoverclock-header-slideshow | 0.1.1 | |
| justoverclock-feautured-discussions-widget | 0.1.1 | |
| ianm-synopsis | 1.3.2 | |
| ianm-follow-users | 1.4.2 | |
| hamcq-pangujs | 1.0.3 | |
| fof-username-request | 1.2.2 | |
| fof-upload | 1.4.7 | |
| fof-subscribed | 1.1.4 | |
| fof-sitemap | 2.2.1 | |
| fof-profile-image-crop | 1.1.6 | |
| fof-pretty-mail | 1.1.2 | |
| fof-polls | 2.1.2 | |
| fof-links | 1.2.1 | |
| fof-linguist | 1.1.2 | |
| fof-frontpage | 1.2.0 | |
| fof-formatting | 1.0.3 | |
| fof-drafts | 1.2.10 | |
| fof-discussion-thumbnail | 1.1.3 | |
| fof-default-user-preferences | 1.2.1 | |
| fof-best-answer | 1.3.3 | |
| fof-ban-ips | 1.1.0 | |
| flarum-sticky | v1.8.0 | |
| flarum-statistics | v1.8.0 | |
| flarum-lang-english | v1.8.0 | |
| flarum-lang-chinese-simplified | v1.1.1.1220 | |
| flarum-bbcode | v1.8.0 | |
| davwheat-session-keepalive | 1.1.0 | |
| davwheat-blog-featured-widget | 0.1.0-beta.3 | |
| datlechin-more-discussions | v0.3.0 | |
| clarkwinkelmann-post-bookmarks | 1.0.0 | |
| clarkwinkelmann-money-rewards | 1.0.0 | |
| clarkwinkelmann-group-list | 1.0.0 | |
| clarkwinkelmann-follow-tags-prompt | 1.1.0 | |
| clarkwinkelmann-first-post-approval | 1.0.1 | |
| clarkwinkelmann-circle-groups | 1.0.1 | |
| clarkwinkelmann-author-change | 1.0.3 | |
| blomstra-usercard-stats | 0.1.2 | |
| askvortsov-pwa | v3.3.3 | |
| antoinefr-online | v1.0.1 | |
| afrux-top-posters-widget | v0.1.4 | |
| afrux-news-widget | v0.1.1 | |
| afrux-forum-stats-widget | v0.1.1 | |
| acpl-mobile-tab | 1.4.1 | |
+--------------------------------------------+--------------+--------+
Base URL: https://www.vfxskill.com
Installation path: /www/sites/vfxskill.com/index
Queue driver: sync
Session driver: file
Scheduler status: Never run
Mail driver: smtp
Debug mode: ON
Print File Log
- Edited
It will only prompt in the bottom left corner :The resource you requested does not exist.
The discuss is published successfully, but it does not jump to the interface
OneHarryPotter clear cache?
Litalino
thank you ! It worked
Hi, i tried to install this but get error in composer like this, please help?
./composer.json has been updated
Running composer update datlechin/flarum-chatgpt --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires datlechin/flarum-chatgpt * -> satisfiable by datlechin/flarum-chatgpt[v0.0.1, ..., v0.4.0].
- datlechin/flarum-chatgpt[v0.0.1, ..., v0.4.0] require openai-php/client ^0.3.5 -> found openai-php/client[v0.3.5] but it conflicts with your root composer.json require (^0.8.0).
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
datlechin This extension required Flarum 1.7 and PHP 8.1 to use openai-php/client.
can we use it on flarum 1.8?
kaitou1412 Is the current composer.json
file you required openai-php/client:^0.8.0
?
muhammedsaidckr/flarum-chatgpt
Hey there, I realized I should have specified my own version. I've made some customizations, particularly in the provider sections and at the points of client creation, resulting in some differences. Responses are generated using a queue system. If you're interested, we could continue collaborating on further development.
datlechin
sorry for the late reply, i got occupied by this error for some days
but all is fine now, i guess.. thanks for your kind response
I want to know how to modify the API interface of OpenAI if I need to. My server is located in China and I must use my reverse proxy interface to successfully request resources from OpenAI
awesome work