OpenAIClient.CreateWithApiKey

OpenAIClient.CreateWithApiKey method

Creates a new instance of Builder with the provided API key.

public static Builder CreateWithApiKey(string apiKey)
ParameterTypeDescription
apiKeyStringThe API key to use for the client.

Return Value

An instance of Builder.

See Also