ChatGPT-Entwurf

ChatGPT-Entwurf 2.2.0

Keine Berechtigung zum Herunterladen
Beigetreten
Jun 28, 2020
Nachrichten
4,532
Reaktionswert
1,420
Credits
$12,499
danke dem freundlichen Mitglied @jessysubmitted einen neuen Ressourcen: ChatGPT Framework-Dieses Add-On bereitstellt Hilfsfunktionen für die Arbeit mit ChatGPT.
Anhang 46377 einsehen
Dieses Add-On bietet Hilfsfunktionen für die Arbeit mit ChatGPT.

Es ermöglicht es, einen API-Schlüssel für Add-ONS zu setzen, die mit ChatGPT arbeiten und die Duplikate der Abhängigkeiten zu laden.

Entwicklernutzungsanleitung

Erhalten Sie den OpenAI-API-Schlüssel
PHP:
$apiKey = \XF::options()->bsChatGptApiKey;
Kauf ichn OpenAI-API
PHP:
/** \Orhanerday\OpenAi\OpenAi $api */
$api = \XF::app()->container('chatGPT');
Ersparen Sie mir die Frage an 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...
 
Oben