- Issue created by @lanapt
- 🇹🇼Taiwan g-brodiei
Hi @lanapt,
You might need to recheck the credentials you have provided on /admin/config/openai/settings page.
I just bumped into the same issue like yours this morning, it turn out to be me using 'Personal' as the organization id.
It should be 'org-xxx', can be found on https://platform.openai.com/account/org-settings page.
Hope this helps, cheers.
Hi @g-brodiei,
Thanks, you have saved me, and this problem is solved. All works fine.
I wonder i could make a public page in drupal, google style, but with OpenAI ChatGPT Explorer, like we have in this module (hiden the preferences and profile). Its hard? Im not a expert in programing modules, but where do i can start?
Thanks,
Luis- Status changed to Closed: works as designed
over 1 year ago 2:49am 15 May 2023 - 🇹🇼Taiwan g-brodiei
Hi @lanapt,
For module development, you may look into Documentations of module creation.
https://www.drupal.org/docs/develop/creating-modules →For examples on the possibilities, check the examples project where it provides detailed comment within the project code to demonstrate ideas of what a module could do and override.
https://www.drupal.org/project/examples →As for the scenario you described, yes it's doable, but you may have some parts to consider and implement before putting your site into public.
Such as:- Spam bots, publicly exposed form may be spammed and attacked by bots, which will consume most of your Openai API usage and exceed the limit, you won't want to wake up and see a huge bill by the end of the month. There are numerous modules that handles this on Drupal.
- Safety best practice on usage of AI tools, please look into https://platform.openai.com/docs/guides/safety-best-practices
- Billing limit, https://platform.openai.com/docs/guides/production-best-practices/settin...
- How to write secure code in Drupal, https://www.drupal.org/docs/security-in-drupal/writing-secure-code-for-d... →
- For more where you need support, please seek help and suggestion on the slack channel #support or #openai
I'm going to close this issue as the original issue is resolved. Best of luck!