api_set_key: Store the OpenAI API key as environment variable

View source: R/api_utils.R

api_set_keyR Documentation

Store the OpenAI API key as environment variable

Description

Store the OpenAI API key as environment variable

Usage

api_set_key(api_key)

Arguments

api_key

string, OpenAI API key (see https://platform.openai.com/account/api-keys)

Value

API key string ('api_key')

See Also

api_get_key

Examples

## Not run: 
api_set_key("my-secret-api-key-string")

## End(Not run)


oaii documentation built on May 29, 2024, 5:25 a.m.

Related to api_set_key in oaii...