tests/testthat/test-list_fine_tunes.R

#-------------------------------------------------------------------------------
# list_fine_tunes()

test_argument_validation(
    function_name = "list_fine_tunes",
    argument_name = "openai_api_key",
    argument_type = "string",
    allow_null = FALSE
)

test_argument_validation(
    function_name = "list_fine_tunes",
    argument_name = "openai_organization",
    argument_type = "string",
    allow_null = TRUE
)

Try the openai package in your browser

Any scripts or data that you put into this service are public.

openai documentation built on March 31, 2023, 11:56 p.m.