[021] ChatGPT Bots

[021] ChatGPT Bots 1.1.0

No permission to download
Author jessy
Creation date
XF Compatibility
  1. 2.1.x
  2. 2.2.x
Headline
This add-on provides helper functions for working with ChatGPT.
Short Description
FREE Download Premium and Nulled [021] ChatGPT Bots 1.1.0 version from 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, 115 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,
    ])
);
Options.png
  • Like
Reactions: mani5grockers
Author
jessy
Views
115
Extention type
zip
File size
121.3 KB
First release
Last update
Rating
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.
More resources from jessy

Latest updates

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

Similar resources

[021] ChatGPT Framework J
This add-on provides helper functions for working with ChatGPT.
0.00 star(s) 0 ratings
Views
216
Updated
[021] ChatGPT Reply Assistant J
this add-on uses ChatGPT to generate replies to posts automatically
0.00 star(s) 0 ratings
Views
151
Updated
[021] Fools Day with ChatGPT J
This is an example of an article posted by a bot on the topic "Science" in a humorous style.
0.00 star(s) 0 ratings
Views
159
Updated
Back
Top