Learn R Programming

chatgpt (version 0.2.3)

ask_chatgpt: Ask ChatGPT

Description

Note: See also `reset_chat_session`.

Usage

ask_chatgpt(question)

Value

A character value with the response generated by ChatGPT.

Arguments

question

The question to ask ChatGPT.

Examples

Run this code
if (FALSE) {
cat(ask_chatgpt("What do you think about R language?"))
}

Run the code above in your browser using DataLab