OpenAIResource.withApiKey
Method
interface OpenAIResource { // ... omitted for brevity withApiKey(apiKey: ParameterResource): OpenAIResource;}Signature
method
withApiKeybuilderConfigures the API key for the OpenAI parent resource from a parameter.
withApiKey(apiKey: ParameterResource): OpenAIResourceParameters
apiKeyParameterResourceReturns
OpenAIResourceDefined on
This method is defined on the following type: