実際のところ from openai import OpenAI yourclient = OpenAI( api_key="sk-..." ) def makeQuestions(client, prompt): chat_completion = client.chat.completions.create( messages=[ {"role": "system", "content": "You are a helpful assistant."}, {"role": "user","content": prompt}, ], model="gpt-4", ) return…