'OpenAI' API R Interface


[Up] [Top]

Documentation for package ‘oaii’ version 0.5.0

Help Pages

api_get_key Get the OpenAI API key from environment variable
api_set_key Store the OpenAI API key as environment variable
api_upload_file Create "uploaded file" object
assistants_create_assistant_request API assistants: create assistant
assistants_create_file_request API assistants: create assistant file
assistants_delete_assistant_file_request API assistants: delete assistant file
assistants_delete_assistant_request API assistants: delete assistant
assistants_list_asistants_request API assistants: list assistants
assistants_modify_assistant_request API assistants: modify assistant
assistants_retrieve_assistant_file_request API assistants: retrieve assistant file
assistants_retrieve_assistant_request API assistants: retrieve assistant
audio_speech_request API audio: text to speech request
audio_transcription_request API audio: speech to text (transcryption)
audio_translation_request API audio: translate audio file into English text
browseable_audio Create browseable HTML audio
chat_fetch_messages Fetch messages from response content
chat_request API chat: send create (chat) request
completions_fetch_text Fetch completions text from response content
completions_request API completions: create request
csv_to_dialog_df Read csv file as dialog data.frame
df_col_dt_format Replace unix timestamp column(s) to formated dt string
df_col_obj_implode Change to string nested lists in a given data.frame
df_exclude_col Remove columns from data.frame
df_null_replace Replace all NULL values in given data.frame
df_order_by_col Sort data.frame by column name
dialog_df Create dialog data.frame
dialog_df_to_csv Save dialog data.frame as csv file
embeddings_create_request API embeddings: create embeddings
embeddings_object_request API embeddings: get embedding object
feedback Feedback - ask chat and receive reply
files_delete_request API files: delete file request
files_fetch_list Extract files list as data.frame from response object
files_list_request API files: get list request
files_retrieve_content_request API files: retrieve content request
files_retrieve_request API files: retrieve file request
files_upload_request API files: upload request
fine_tuning_cancel_job_request API fine-tuning: cancel fine-tuning job request
fine_tuning_create_job_request API fine-tuning: create job (model) request
fine_tuning_events_list_request API fine-tuning: list events request
fine_tuning_fetch_events_list API fine-tuning: job list from response object
fine_tuning_fetch_jobs_list API fine-tuning: extract fine-tuning jobs list from response object
fine_tuning_fetch_retrived_job API fine-tuning: fetch retrived job object from response object
fine_tuning_jobs_list_request API fine-tuning: list jobs request
fine_tuning_retrive_job_request API fine-tuning: retrieve fine-tuning job request
images_edit_request API images: edit request
images_fech_set Fetch image set from response content
images_generator_request API images: create (generator) request
images_merge_sets Merge image set/sets
images_variation_request API images: create image variation request
is_browseable Test if RStudio Viewer (build in browser) is available
is_error Test if object belongs to "error" class
is_image_set Test if x is a image set
merge_dialog_df Merge multiple dialog data.frame
messages_create_message_request API messages: create message
messages_list_messages_request API messages: list messages
messages_list_message_files_request API messages: list message files
messages_modify_message_request API messages: modify message
messages_retrieve_message_file_request API messages: retrieve message file
messages_retrieve_message_request API messages: retrieve message
models_delete_request API models: delete model request
models_fetch_list Extract models from response object
models_list_request API models: list request
models_retrieve_request API models: retrieve model request
moderation_create_request API moderations: create moderation
print.oaii_content_audio Class oaii_content_audio print S3 method
print.oaii_content_audio_aac Class oaii_content_audio_aac print S3 method
print.oaii_content_audio_flac Class oaii_content_audio_flac print S3 method
print.oaii_content_audio_mp3 Class oaii_content_audio_mp3 print S3 method
print.oaii_content_audio_opus Class oaii_content_audio_opus print S3 method
print.oaii_content_images Class oaii_content_images print S3 method
print.oaii_files_df print S3 method for oaii_files_df class
print.oaii_fine_tuning_events_df print S3 method for oaii_fine_tuning_events_df class
print.oaii_fine_tuning_job print S3 method for oaii_fine_tuning_job class
print.oaii_fine_tuning_jobs_df print S3 method for oaii_fine_tuning_jobs_df class
print.oaii_models_df print S3 method for oaii_models_df class
print.oaii_res_se Class oaii_res_se print S3 method
request API request
runs_cancel_run_request API runs: cancel a run
runs_create_run_request API runs: create run
runs_create_thread_and_run_request API runs: create thread and run
runs_list_runs_request API runs: list runs
runs_list_run_steps_request API runs: list run steps
runs_modify_run_request API runs: modify run
runs_retrieve_run_request API runs: retrieve run
runs_retrieve_run_step_request API runs: retrieve run step
runs_submit_tool_outputs_request API runs: submit tool outputs to run
set_logger Set log functions used by 'oaii' package
threads_create_thread_request API threads: create thread
threads_delete_thread_request API threads: delete thread
threads_modify_thread_request API threads: modify thread
threads_retrieve_thread_request API threads: retrieve thread
timestap_dt_str Convert unix timestamp to formated date/time string