1、访问https://github.com/marketplace

2、选择OpenAI GPT-40,点击进入

3、点击“Use this model”

4、点击“Get developer key”

5、点击“Generate new token”,选择“Generate new token (classic)”

6、“Note”下面的框随便填

7、点击最下面的“Generate token”

8、复制获得的“token
base_url = "https://models.inference.ai.azure.com"api_key = "your-api-key"model = "gpt-4o"
推荐本站淘宝优惠价购买喜欢的宝贝:
本文链接:https://zblog.hqyman.cn/post/10614.html 非本站原创文章欢迎转载,原创文章需保留本站地址!
休息一下~~