View source: R/supportIdeaGeneration.R
supportIdeaGeneration | R Documentation |
Assist in generating ideas or concepts.
supportIdeaGeneration(
Model = "gpt-4o-mini",
SelectedCode = TRUE,
verbose = TRUE,
SlowTone = FALSE
)
Model |
The OpenAI GPT model to use for text generation. Default is "gpt-4o-mini". |
SelectedCode |
Logical flag to indicate whether to use the selected text in RStudio editor. Default is TRUE. |
verbose |
Logical flag to indicate whether to display the generated text. Default is TRUE. |
SlowTone |
Logical flag to indicate whether to print the text slowly. Default is FALSE. |
Support Idea Generation from Selected Text or Clipboard Input
This feature helps you generate ideas or concepts based on input from your selected text or clipboard. It uses the OpenAI GPT model for text generation to assist in the idea generation process. The function reads the input from the clipboard.
Prints the generated ideas or concepts based on the verbosity and tone speed settings.
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
supportIdeaGeneration()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.