TextSummaryAsBullet {chatAI4R}R Documentation

Summarize Text into Bullet Points

Description

This function takes a text input and summarizes it into a specified number of bullet points. It can either take the selected code from RStudio or read from the clipboard. The results are output to your clipboard.

Usage

TextSummaryAsBullet(
  Model = "gpt-4-0613",
  temperature = 1,
  verbose = TRUE,
  SelectedCode = TRUE
)

Arguments

Model

A string specifying the machine learning model to use for text summarization. Default is "gpt-4-0613".

temperature

A numeric value between 0 and 1 indicating the randomness of the text generation. Default is 1.

verbose

A logical value indicating whether to print the summary. Default is FALSE.

SelectedCode

A logical value indicating whether to use the selected code in RStudio. Default is TRUE.

Details

Summarize Selected Text into Bullet Points

Value

The summarized text in bullet points is returned.

Author(s)

Satoshi Kume

Examples

## Not run: 
TextSummaryAsBullet(text = "This is a sample text.")

## End(Not run)

[Package chatAI4R version 0.2.10 Index]