kashif submitted a new resource:
[021] ChatGPT Framework - Download Free [021] ChatGPT Framework
Read more about this resource...
[021] ChatGPT Framework - Download Free [021] ChatGPT Framework
Compatible XF Versions2.0 , 2.1 , 2.2Visible BrandingNo
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:ptions()->bsChatGptApiKey;
Get OpenAI API
PHP:
/** \Orhanerday\OpenAi\OpenAi $api */
$api = \XF::app()->container('chatGPT');
Get reply from...
Read more about this resource...