OpenAI ChatGPT (Text & Images) (PHP + Curl)
Before use:
- Set up your OpenAI Account
- Generate a API Key
- Edit file openai.php, enter your api key.
Installation:
- run, git clone https://github.com/pigmilcom/openai-chatgpt
- Or, download the code files to your computer
- run, composer install
How to use, ChatGPT:
- Open directly in your browser, http://localhost
You can find more information and examples at the official documentation website: https://platform.openai.com/docs/introduction
Official OpenAI Github Repo: https://github.com/openai-php/client