import openai openai.api_key = "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" # 需要填写 def get_reply(message): response = openai.ChatCompletion.create(model="gpt-3.5-turbo", messages=[{ "role": "user", "content": message }]) return response["choices"][0]["message"]["content"]