标签:python内置集成开发环境

Python调用OpenAI接口的简单封装(个人搭建python调用openai )

response = openai.Completion.create( engine='text-davinci-002', prompt='Generate a 100-word summary of the given material:', max_tokens=100 )...