OpenAIClient.CreateWithApiKey
OpenAIClient.CreateWithApiKey 方法
使用提供的 API 密钥创建一个新的 Builder
实例。
public static Builder CreateWithApiKey(string apiKey)
参数 | 类型 | 描述 |
---|---|---|
apiKey | 字符串 | 用于客户端的 API 密钥。 |
返回值
一个 Builder
实例。
另请参阅
- 类 Builder
- 类 OpenAIClient
- 命名空间 Aspose.Pdf.AI
- 程序集 Aspose.PDF