list_models {askgpt}R Documentation

List Models

Description

List the models available in the API. You can refer to the [Models documentation](https://platform.openai.com/docs/models) to understand what models are available and the differences between them.

Usage

list_models(api_key = NULL)

Arguments

api_key

set the API key. If NULL, looks for the env OPENAI_API_KEY.

Value

A tibble with available models

Examples

## Not run: 
completions_api("The quick brown fox")

## End(Not run)

[Package askgpt version 0.1.3 Index]