api_set_key {oaii}R 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)


[Package oaii version 0.5.0 Index]