Skip to contents

All functions

costs()
Calculate costs of API calls in USD
get_api_key()
Gets the api key
gpt()
Code a dataframe variable with the system message
gpt_classify()
Classify data with GPT
gpt_create_classes_str()
Generate a string that shows the numbering of classes
gpt_integer_logit_biases()
Generates a list to bias the first n integers
gpt_req()
Make a single GPT request
set_api_key()
Sets the api key
wines
Wine data from majestic.co.uk