[021] ChatGPT Bots 1.1.0

No permission to download
XF Compatibility
  1. 2.1.x
  2. 2.2.x
Headline
This add-on provides helper functions for working with ChatGPT.
Short Description
Download and Discuss Premium, Business[021] ChatGPT Bots 1.1.0 version on NullPro Community. It is zip Extention type and 121.3 KB File size. From [021] ChatGPT Bots have 1 Description Attachments, 3 discussion, 1 Updates, 167 Views.
This add-on provides helper functions for working with ChatGPT.
It allows you to set an API key for add-ons that work with ChatGPT and avoid loading duplicate dependencie
Get OpenAI API
PHP:
$apiKey = \XF::options()->bsChatGptApiKey;
Get reply from ChatGPT
PHP:
use BS\ChatGPTBots\Response;
/** \Orhanerday\OpenAi\OpenAi $api */
$api = \XF::app()->container('chatGPT');
$messages = [
    ['role' => 'user', 'content' => 'Hello!']
];
$reply = Response::getReply(
    $api->chat([
        'model'             => 'gpt-3.5-turbo',
        'messages'          => $messages,
        'temperature'       => 1.0,
        'max_tokens'        => 420,
        'frequency_penalty' => 0,
        'presence_penalty'  => 0,
    ])
);
Reactions: mani5grockers
Author
jessy
Views
167
Extention type
zip
File size
121.3 KB
First release
Last update
Ratings 0.00 star(s) 0 ratings
Link was Broken? Please  Send Message to NP Team with Ticket, You will get it very quickly!
Support Developer If you are satisfied with your test or project have earn money successfully, Maybe you can click more information button to support with buying.

Latest updates

  1. 1.1.0 - changelog
    Message repository fetchMessagesFromThread – Loads the context for the bot from the topic. Bot...

More resources from jessy

J
[OzzModz] Wiki Threads 2.0.1 Patch Level 2
users to mark a thread as a "WikiPost" giving the ability to edit the original post