[021] ChatGPT Bots

[021] ChatGPT Bots v1.2.0

  • Join us to download any resource for free. You will be able to download or guest post.
    Sign Up Now

kashif

Administrator
Staff member
VIP Member
Apr 12, 2022
18,724
1,976
113
Pakistan
www.vuinsider.com
kashif submitted a new resource:

[021] ChatGPT Bots - Download Free [021] ChatGPT Bots

Compatible XF 2.x versions
  • 2.0
  • 2.1
  • 2.2
Visible branding: No

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 dependencies.


Developer usage guide

Get the OpenAI API key
PHP:
$apiKey = \XF::eek:ptions()->bsChatGptApiKey;
Get OpenAI API
PHP:
/** \Orhanerday\OpenAi\OpenAi $api */
$api =...

Read more about this resource...
 
kashif updated [021] ChatGPT Bots with a new update entry:

[021] ChatGPT Bots v1.1.0 Free

Message repository
fetchMessagesFromThread – Loads the context for the bot from the topic. Bot quotes are transformed into his messages for the correct context.

PHP:
public function fetchMessagesFromThread(
Thread $thread,
int $stopPosition = null, // Thread post position to which to load the context
?User $assistant = null, // Bot user to mark his messages in context
bool $transformAssistantQuotesToMessages = true, // If false, bot message quote messages will not be transformed into...

Read the rest of this update entry...
 
kashif updated [021] ChatGPT Bots with a new update entry:

[021] ChatGPT Bots v1.2.0 Free

\BS\ChatGPTBots\Response class features
getReplyWithLogErrors(OpenAi $api, array $params): string – Receives a response and parse it to reply from the OpenAI API, logging the failure and adding the necessary information to the log.

Usage example:
PHP:
$reply = Response::getReplyWithLogErrors($api, [
'model' => 'gpt-3.5-turbo',
'messages' => [],
'temperature' => 1.0,
'frequency_penalty' => 0,
'presence_penalty' => 0,
]);
Fixed...

Read the rest of this update entry...
 

May 2024

Total amount
$30.85
Goal
$250.00
Donation ends:

Staff online

Members online

Forum statistics

Threads
9,289
Messages
23,468
Members
54,238
Latest member
zara qeen

About us

  • Our community has been around from 2017 and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. Providing Free Resources to help newcomers/startups. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu