Using OpenAI API
Setup python package
- cd openai
- python3 -m venv venv
- source venv/bin/activate
- pip install openai python-dotenv
- cat > .env
- Paste OPENAI_KEY=THE_KEY
- Control-D
- deactivate
Examples:
(venv) openai % ./chatgpt.py
Click on the Vettrak Launcher app on your desktop
Click connect to move to Remote Desktop Connection then press connect
Then once loaded, on the left handside of the screen there will be 3 icons - Click on the VETtrak Icon.
Enter the username XXXX and password XXXX, Click OK.
Counted 7 lines.
Go to your desktop and find the Vettrak Launcher app. Click on it to open it. Then click connect to open the Remote Desktop Connection. Once it loads, you will see 3 icons on the left side of the screen. Click on the VETtrak Icon. Then type in your username and password in the boxes and click OK.
References
- https://www.twilio.com/blog/integrate-chatgpt-api-python
- https://wisdomml.in/how-to-use-chatgpt-api-python-a-comprehensive-guide/
Last modified June 11, 2023: AI on the go (77556dd)