check_api_connection_openai: Check API Connection

View source: R/gptstudio-sitrep.R

check_api_connection_openaiR Documentation

Check API Connection

Description

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.


gptstudio documentation built on May 29, 2024, 12:30 p.m.