---
Product: Aspose.PDF
Platform: go
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/go/openaiclientoptions
---

# OpenAIClientOptions

## Overview

`OpenAIClientOptions` is a type in Aspose.PDF FOSS for Go.

OpenAIClientOptions configures NewOpenAIClient.

Properties: `APIKey`, `BaseURL`, `HTTPClient`, `MaxRetries`, `Model`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `BaseURL` | `string` | Read/Write | Gets the base url. |
| `APIKey` | `string` | Read/Write | Gets the api key. |
| `Model` | `string` | Read/Write | Gets the model. |
| `HTTPClient` | `*http.Client` | Read/Write | Gets the http client. |
| `MaxRetries` | `int` | Read/Write | Gets the max retries. |

## See Also

- [Aspose.PDF — Enterprise API Reference](https://reference.aspose.com/pdf/)