API call and use of OpenAI model - test (2)
1. Refer to Quick start to build a demo
1.1 Install the openai package
Pay attention to turn off the scientific Internet tool and download the openai package
pip install openai
After installation, follow the example [1] on the official website to make a small python demo
1.2 demo test 1
import os
import openai
openai.organization = "org-bEQmoujGrHZIASU1KzDKIxkL"
open