• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

AI - Writing Assistant, Image Generator, Speech to Text - 66biolinks plugin

AI - Writing Assistant, Image Generator, Speech to Text - 66biolinks plugin 8.0 update for v45

No permission to download
The resource is already updated, kindly download.
You can see the updated version up there....
 
And the oscars goes to.......... chatGPT...

I asked to chatGPT corrects the code.... and its worked.

Change all the aix public function on arquive /app/controllers/admin/AdminSettings.php

Here is the code:


PHP:
public function aix() {
    //ALTUMCODE:DEMO if(DEMO) settings()->aix->openai_api_key = 'not shown on the demo';
    $this->process();

    if (!empty($_POST)) {
        //ALTUMCODE:DEMO if(DEMO) Alerts::add_error('This command is blocked on the demo.');

        /* :) */
        $_POST['openai_api_key'] = trim($_POST['openai_api_key']);
        $_POST['documents_is_enabled'] = (bool) $_POST['documents_is_enabled'];
        $_POST['images_is_enabled'] = (bool) $_POST['images_is_enabled'];
        $_POST['transcriptions_is_enabled'] = (bool) $_POST['transcriptions_is_enabled'];
        $_POST['images_display_latest_on_index'] = (bool) $_POST['images_display_latest_on_index'];
        $_POST['documents_available_languages'] = array_map('trim', explode(',', trim($_POST['documents_available_languages'])));
        $_POST['images_available_artists'] = array_map('trim', explode(',', trim($_POST['images_available_artists'])));
        $_POST['chats_assistant_name'] = input_clean($_POST['chats_assistant_name'], 64);

        /* Uploads processing */
        $chats_avatar = \Altum\Uploads::process_upload(settings()->aix->chats_avatar, 'chats_avatar', 'chats_avatar', 'chats_avatar_remove', null);

        if ($chats_avatar !== false) {
            $settings = json_decode(json_encode(settings()), true);
            $settings['aix'] = (array) $settings['aix'];
            $settings['aix']['chats_avatar'] = $chats_avatar;
            settings($settings);
        }

        $value = json_encode([
            'openai_api_key' => $_POST['openai_api_key'],
            'documents_is_enabled' => $_POST['documents_is_enabled'],
            'images_is_enabled' => $_POST['images_is_enabled'],
            'transcriptions_is_enabled' => $_POST['transcriptions_is_enabled'],
            'images_display_latest_on_index' => $_POST['images_display_latest_on_index'],
            'input_moderation_is_enabled' => $_POST['input_moderation_is_enabled'],
            'documents_available_languages' => $_POST['documents_available_languages'],
            'images_available_artists' => $_POST['images_available_artists'],
            'chats_is_enabled' => $_POST['chats_is_enabled'],
            'chats_assistant_name' => $_POST['chats_assistant_name'],
            'chats_avatar' => $chats_avatar ?? '',
        ]);

        $this->update_settings('aix', $value);
    }
}
 
I am not able to make it work. It gives me the message "You exceeded your current quota, please check your plan and billing details.". I have done all the settings that (atleast this is what I think). I request all the champions here to please help me.
1. Setting up api key and turning on the feature in admin-->settings--AIX: https://prnt.sc/VbckxUInhEi0
2. Updated the custom plan in admin: https://prnt.sc/c1UWXQIgOvt0
3. Updated my admin user too by giving them the permission to create AI documents / images: https://prnt.sc/S8MEQRwSMNtg
4. I also have updated the adminsettings.php as mentioned by @batmanbr

Issues:
1. When I am trying to create the AI image, I am getting "You exceeded your current quota, please check your plan and billing details."
2. Getting a missing translation in front end: https://prnt.sc/HJAM545xfdhA. I checked the language file and can see that all they keys related to this has the values.
Someone Please Help.
 
  • Like
Reactions: Azarock35
I got the reason of that message. It is because there was no credit left on my openai account. I created another openai account and got a USD 5 credit and tested with it. Its working fine. However, the translation issue is still open.
 
I am not able to make it work. It gives me the message "You exceeded your current quota, please check your plan and billing details.". I have done all the settings that (atleast this is what I think). I request all the champions here to please help me.
1. Setting up api key and turning on the feature in admin-->settings--AIX: https://prnt.sc/VbckxUInhEi0
2. Updated the custom plan in admin: https://prnt.sc/c1UWXQIgOvt0
3. Updated my admin user too by giving them the permission to create AI documents / images: https://prnt.sc/S8MEQRwSMNtg
4. I also have updated the adminsettings.php as mentioned by @batmanbr

Issues:
1. When I am trying to create the AI image, I am getting "You exceeded your current quota, please check your plan and billing details."
2. Getting a missing translation in front end: https://prnt.sc/HJAM545xfdhA. I checked the language file and can see that all they keys related to this has the values.
Someone Please Help.
Did you solved this? Maybe is cause you dont have chatgpt 4. Try with 3.5
 
I am not able to make it work. It gives me the message "You exceeded your current quota, please check your plan and billing details.". I have done all the settings that (atleast this is what I think). I request all the champions here to please help me.
1. Setting up api key and turning on the feature in admin-->settings--AIX: https://prnt.sc/VbckxUInhEi0
2. Updated the custom plan in admin: https://prnt.sc/c1UWXQIgOvt0
3. Updated my admin user too by giving them the permission to create AI documents / images: https://prnt.sc/S8MEQRwSMNtg
4. I also have updated the adminsettings.php as mentioned by @batmanbr

Issues:
1. When I am trying to create the AI image, I am getting "You exceeded your current quota, please check your plan and billing details."
2. Getting a missing translation in front end: https://prnt.sc/HJAM545xfdhA. I checked the language file and can see that all they keys related to this has the values.
Someone Please Help.
Copy the string and paste inside the file language. Need be on each language. Follow the other strings to do you translate
 
guys if u want the update files, dont just ask the plan, if i need this, i just simply buy and support the creator after that i post here, just wait and reply 1 time for update
 
guys if u want the update files, dont just ask the plan, if i need this, i just simply buy and support the creator after that i post here, just wait and reply 1 time for update
I understand what you said, however, I asked only once here because there's a new update. I follow the community and I see that the intention is to keep files updated. We can certainly buy directly from the supplier, but if I'm part of the community that offers this functionality and benefits, why not ask? If the person isn't interested in providing the plugin, why post here? To make some extra money? Well, asking about update plans when we know the plugin was approved on the platform shouldn't be offensive. And this talk about buying from the supplier is almost comical.
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock