ChatGPT Estruturação

ChatGPT Estruturação 2.2.0

Sem autorização para baixar
  • Criador do tópico Criador do tópico axtona
  • Data de início Data de início
Lv.12
Moderating
Bronze Member
Iron Member
Donor Member
Associado
28/06/2020
Mensagens
4.532
Pontuação de reações
1.420
Credits
$12.499
obrigado ao membro querido @jessysubmeteu um novo recurso: ChatGPT Framework-Este adendo fornece funções auxiliares para trabalhar com o ChatGPT.
Visualizar anexo 46377
Este adendo fornece funções auxiliares para trabalhar com o ChatGPT.

Ele permite que você defina uma chave de API para adições que funcionam com o ChatGPT e evite a carga de dependências duplicadas.



Guia de desenvolvedor

Obtenha a chave OpenAI
PHP:
$apiKey = \XF::options()->bsChatGptApiKey;
Obter API do OpenAI
PHP:
/** \Orhanerday\OpenAi\OpenAi $api */
$api = \XF::app()->container('chatGPT');
Obtenha resposta do 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...
 
Top