Integrate 'OpenAI' Large Language Models into Your 'R' Workflows
Convert a data.frame to a CSV-formatted character string
Generate Text Using the OpenAI API's Chat Endpoint
chatlog class
Clean Output From Code Responses
Clear a chat log
Check if a text file or character string contains an R function defini...
Check if a text file or character string contains Roxygen2 documentati...
Count the number of tokens in a text string
Extract Created DateTime from OpenAI API response
Edit code based on user's input
Extract blocks of a specified type from a list of blocks
Extract the content parts of blocks
Extract Entities from a Text
Extract R code and comments from a given input string.
Extract roxygen2 documentation lines from a function definition
Get the current chatlog
Send a message to ChatGPT and assign the response to a variable
Extract ID from OpenAI API response
Initialize a new messages object for OpenAI API chat completions
Install the tiktoken Python package
Determine if an object is a chatlog
Check if the provided string is in valid JSON format.
Check if a Character String Contains Valid Python Code
Check if a character string contains valid R code
Check if the provided string is in valid XML format.
Convert Java code to R code
Extract messages from a response object or a chatlog object
Extract Messages Content from OpenAI API Response
Extract Model from OpenAI API response
Convert nested R code to pipe syntax
Get number of tokens in a string using OpenAI's tiktoken library
Compute total number of tokens in a text file
Extract object information from OpenAI API response
Set OpenAI API Key as an Environment Variable
Parse a Response From the API
Pipe operator
Convert Python code to R code
Convert R Code to Python Code
Convert Text to Tidy-Text Format
Load data from text files in batches
Refactor R Code with AI Assistance
Convert references in plain text to BibTeX format
Regenerate the last response in an ongoing chat
Replace File Extension
Set up a new chatlog
Split Text into Chunks
Start a new chat session
TheOpenAIR: Integrate 'OpenAI' Large Language Models into Your 'R' Wor...
Extract usage data from OpenAI API response
Write code based on user's input
Write test for an R function
Add Roxygen2 documentation to an R function
Add data to a chat log
Start or continue a chat conversation
Utilizing the 'OpenAI' API as the back end (<https://platform.openai.com/docs/api-reference>), 'TheOpenAIR' offers 'R' wrapper functions for the 'ChatGPT' endpoint and several high-level functions that enable the integration of 'ChatGPT' capabilities in diverse data-related tasks, such as data cleansing and automated analytics script generation.