ChatGPT Фреймворк

ChatGPT Фреймворк 2.2.0

Нет прав на скачивание
  • Создатель Темы Создатель Темы axtona
  • Дата начала Дата начала
Присоединился
Июнь 28, 2020
Сообщения
4,532
Оценка реакций
1,420
Credits
$12,499
спасибо dear участнику @jessyподан новый ресурс: ChatGPT Framework-Этот дополнение предоставляет вспомогательные функции для работы с ChatGPT.
Просмотреть вложение 46377
Этот дополнение предоставляет помощниковые функции для работы с ChatGPT.

Оно позволяет установить ключ API для дополнений, работающих с ChatGPT, и избегать загрузки дублирующих зависимостей.



Руководство разработчикам

Получите ключ OpenAI
PHP:
$apiKey = \XF::options()->bsChatGptApiKey;
Получить API от OpenAI
PHP:
/** \Orhanerday\OpenAi\OpenAi $api */
$api = \XF::app()->container('chatGPT');
Получить ответ от ChatGPT
PHP:
use...
Read more about this resource...
 
thanks to dear member @jessy updated [021] ChatGPT Framework with a new update entry:

changelog

The group of settings has been renamed in accordance with the name of the add-on
New method removeMessageDuplicates in message repo
New method fetchMessagesFromConversation in message repo
Now \BS\ChatGPTBots\Response::getReplyWithLogErrors accept $throwExceptions argument to throw exceptions on error instead of returning default reply
Now the prepareContent method in message also converts mentions into hits

Read the rest of this update entry...
 
A new update for [021] ChatGPT Framework 2.2.0 is now available for free download. Big thanks to the contribution from our member @axtona !
change log
Fix: Exception when creating alias for class \BS\ChatGPTFramework\Enums\JsonSchema\Type
New methods in MessagesDTO: map, mapKeepContentStringForRoles, toModerationInput, transformDeprecatedRoles, transformRoles
New MessageRole: DEVELOPER
New method in ChatWrapper: moderate(array $input, string $model = 'omni-moderation-latest')
Read the rest of this update entry...
 
Вверх