""" @author: luojunhui """ api_key = '5e275c38-44fd-415f-abcf-4b59f6377f72' from openai import OpenAI client = OpenAI( api_key=api_key, base_url="https://ark.cn-beijing.volces.com/api/v3", ) chat_completion = client.chat.completions.create( messages=[ { "role": "user", "content": "hello" } ], model="", ) response = chat_completion.choices[0].message.content