Skip to content

Commit b80f474

Browse files
committed
Update default options
1 parent d021b8e commit b80f474

File tree

2 files changed

+22
-5
lines changed

2 files changed

+22
-5
lines changed

R/searcher-package.R

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@
1010
#' viewer pane instead of a web browser. Default is `FALSE`.
1111
#' - `searcher.default_keyword`: Suffix keyword to generate accurate results
1212
#' between either `"base"` or `"tidyverse"`. Default is `"base"`.
13-
#' - ...
13+
#' - Other options are used to set the default prompts for AI services
14+
#' - `searcher.chatgpt_prompt`: Default prompt for OpenAI's ChatGPT.
15+
#' - `searcher.claude_prompt`: Default prompt for Anthropic's Claude AI.
16+
#' - `searcher.perplexity_prompt`: Default prompt for Perplexity AI.
17+
#' - `searcher.mistral_prompt`: Default prompt for Mistral AI's Le Chat.
18+
#' - `searcher.bing_copilot_prompt`: Default prompt for Microsoft's (Bing) Copilot.
19+
#' - `searcher.grok_prompt`: Default prompt for xAI's Grok AI.
20+
#' - `searcher.meta_ai_prompt`: Default prompt for Meta's AI.
1421
#'
1522
"_PACKAGE"
1623

@@ -25,7 +32,8 @@ searcher_default_options = list(
2532
searcher.perplexity_prompt = "Answer with a focus on R programming and statistics. Include reliable sources when possible.",
2633
searcher.mistral_prompt = "As an R expert, please help with this question. Include code examples if relevant.",
2734
searcher.bing_copilot_prompt = "Please help with this R programming question. Provide working code examples.",
28-
searcher.metaai_prompt = "You're an R programming assistant. Answer questions with practical examples."
35+
searcher.grok_prompt = "As an R programming assistant, provide clear and concise answers with practical examples.",
36+
searcher.meta_ai_prompt = "You're an R programming assistant. Answer questions with practical examples."
2937
)
3038

3139
.onLoad = function(libname, pkgname) {

man/searcher-package.Rd

Lines changed: 12 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)