OpenAIClient.CreateWithApiKey
OpenAIClient.CreateWithApiKey method
Creates a new instance of Builder
with the provided API key.
public static Builder CreateWithApiKey(string apiKey)
Parameter | Type | Description |
---|---|---|
apiKey | String | The API key to use for the client. |
Return Value
An instance of Builder
.
See Also
- class Builder
- class OpenAIClient
- namespace Aspose.Pdf.AI
- assembly Aspose.PDF