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-4o-mini",
temperature = 1,
verbose = TRUE,
SelectedCode = TRUE
)
Arguments
Model |
A string specifying the machine learning model to use for text summarization. Default is "gpt-4o-mini". |
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:
# Option 1
# Select some text in RStudio and then run the rstudio addins
# Option 2
# Copy the text into your clipboard then execute
TextSummaryAsBullet()
## End(Not run)
[Package chatAI4R version 0.3.6 Index]