View source: R/TextSummaryAsBullet.R
TextSummaryAsBullet | R Documentation |
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.
TextSummaryAsBullet(
Model = "gpt-4o-mini",
temperature = 1,
verbose = TRUE,
SelectedCode = TRUE
)
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. |
Summarize Selected Text into Bullet Points
The summarized text in bullet points is returned.
Satoshi Kume
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.