extractKeywords {chatAI4R}R Documentation

extractKeywords

Description

Extract keywords from input text and output them in a comma-separated format.

Usage

extractKeywords(Model = "gpt-4-0613", verbose = TRUE, SlowTone = FALSE)

Arguments

Model

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

verbose

Logical flag to indicate whether to print the result. Default is TRUE.

SlowTone

Logical flag to indicate the speed of the output. Default is FALSE.

Details

Extract Keywords from Text

This function extracts keywords from the input text. It uses the OpenAI GPT model for text generation to assist in the extraction process. The function reads the input from the clipboard and outputs the extracted keywords in a comma-separated format.

Value

Prints the extracted keywords based on verbosity and tone speed settings.

Author(s)

Satoshi Kume

Examples

## Not run: 
extractKeywords(Model = "gpt-4-0613", verbose = TRUE, SlowTone = FALSE)

## End(Not run)

[Package chatAI4R version 0.2.10 Index]