convertScientificLiterature {chatAI4R}R Documentation

convertScientificLiterature

Description

Convert input text into scientific literature.

Usage

convertScientificLiterature(Model = "gpt-4-0613", SelectedCode = TRUE)

Arguments

Model

The OpenAI GPT model to use for text generation. Default is "gpt-4-0613".

SelectedCode

Logical flag to indicate whether to read the input from RStudio's active document. Default is TRUE.

Details

Convert to Scientific Literature

This function assists in converting the input text into scientific literature. It uses the OpenAI GPT model for text generation to assist in the conversion process. The function reads the input either from the RStudio active document or the clipboard.

Value

Inserts the converted text into the RStudio active document if SelectedCode is TRUE, otherwise writes to the clipboard.

Author(s)

Satoshi Kume

Examples

## Not run: 
convertScientificLiterature(SelectedCode = FALSE)

## End(Not run)

[Package chatAI4R version 0.2.10 Index]