Skip to contents

This generic function checks the API connection for a specified service by dispatching to related methods.

Usage

check_api_connection_openai(service, api_key)

Arguments

service

The name of the API service for which the connection is being checked.

api_key

The API key used for authentication.

Value

A logical value indicating whether the connection was successful.