Class OpenAIClient.Builder
OpenAIClient.Builder class
Builder class for creating an instance of OpenAIClient
.
public class Builder
Constructors
Name | Description |
---|---|
Builder(string) | Initializes a new instance of the Builder class with the API key. |
Methods
Name | Description |
---|---|
Build() | Builds and returns an instance of OpenAIClient with the configured options. |
WithApiVersion(string) | Sets the API version for the client. |
WithBaseDomain(string) | Sets the base domain for the client. |
WithOrganization(string) | Sets the organization ID for the client. |
WithProject(string) | Sets the project ID for the client. |
See Also
- class OpenAIClient
- namespace Aspose.Pdf.AI
- assembly Aspose.PDF