ChatGPT Framework

ChatGPT Framework 2.2.0

Vous n'avez pas l'autorisation de télécharger
  • Auteur du fil de discussion Auteur du fil de discussion axtona
  • Date de début Date de début
Inscrit(e) le
Juin 28, 2020
Messages
4,532
Score de réaction
1,420
Credits
$12,499
merci à membre cher @jessysubmitted un nouvel outil: ChatGPT Framework-Cette add-on fournit des fonctions helpers pour travailler avec ChatGPT.
Afficher la pièce jointe 46377
Ce add-on fournit des fonctions helpers pour travailler avec ChatGPT.

Il permet de définir une clé API pour les add-ons qui travaillent avec ChatGPT et d'éviter la charge de dépendances dupliquées.

Guide de utilisation du développeur

Obtenir la clé API de OpenAI
PHP:
$apiKey = \XF::options()->bsChatGptApiKey;
Obtenir l'API OpenAI
PHP:
/** \Orhanerday\OpenAi\OpenAi $api */
$api = \XF::app()->container('chatGPT');
Obtenir une réponse de 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...
 
Haut