Skip to content

Commit

Permalink
Merge pull request #885 from WolframResearch/feature/enable-rag-for-n…
Browse files Browse the repository at this point in the history
…ormal-chat-inputs

Enable RelatedDocumentation RAG for some personas
  • Loading branch information
rhennigan authored Nov 6, 2024
2 parents e8ee9cd + dc45180 commit bdf10af
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 16 deletions.
3 changes: 1 addition & 2 deletions LLMConfiguration/Personas/Birdnardo/LLMConfiguration.wl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
"Description" -> "The one and only Birdnardo",
"DisplayName" -> Dynamic @ FEPrivate`FrontEndResource[ "ChatbookStrings", "PersonaNameBirdnardo" ],
"DocumentationLink" -> "https://resources.wolframcloud.com/PromptRepository/resources/Birdnardo/",
"PromptGenerators" -> { "RelatedDocumentation" },
"Tools" -> {
"DocumentationLookup",
"DocumentationSearcher",
"WolframAlpha",
"WolframLanguageEvaluator",
"WebSearcher",
Expand Down
17 changes: 6 additions & 11 deletions LLMConfiguration/Personas/CodeAssistant/LLMConfiguration.wl
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
<|
"BasePrompt" -> { "Notebooks", "WolframLanguageStyle" },
"Description" -> "Help with writing and generating Wolfram Language code",
"DisplayName" -> Dynamic @ FEPrivate`FrontEndResource[ "ChatbookStrings", "PersonaNameCodeAssistant" ],
"Icon" -> RawBoxes @ TemplateBox[ { }, "ChatIconCodeAssistant" ],
"Tools" -> {
"DocumentationLookup",
"DocumentationSearcher",
"WolframAlpha",
"WolframLanguageEvaluator",
ParentList
}
"BasePrompt" -> { "Notebooks", "WolframLanguageStyle" },
"Description" -> "Help with writing and generating Wolfram Language code",
"DisplayName" -> Dynamic @ FEPrivate`FrontEndResource[ "ChatbookStrings", "PersonaNameCodeAssistant" ],
"Icon" -> RawBoxes @ TemplateBox[ { }, "ChatIconCodeAssistant" ],
"PromptGenerators" -> { "RelatedDocumentation" },
"Tools" -> { "WolframAlpha", "WolframLanguageEvaluator", ParentList }
|>
3 changes: 2 additions & 1 deletion LLMConfiguration/Personas/CodeWriter/LLMConfiguration.wl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"BasePrompt" -> { "WolframLanguageStyle" },
"DisplayName" -> Dynamic @ FEPrivate`FrontEndResource[ "ChatbookStrings", "PersonaNameCodeWriter" ],
"Icon" -> RawBoxes @ TemplateBox[ { }, "ChatIconCodeWriter" ],
"Tools" -> { "DocumentationLookup", "DocumentationSearcher", ParentList },
"PromptGenerators" -> { "RelatedDocumentation" },
"Tools" -> { ParentList },
"Description" -> "AI code generation with minimal commentary",
"DocumentationLink" -> "https://resources.wolframcloud.com/PromptRepository/resources/CodeWriter/"
|>
3 changes: 1 addition & 2 deletions LLMConfiguration/Personas/Wolfie/LLMConfiguration.wl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
"Description" -> "Wolfram's friendliest AI guide",
"DisplayName" -> Dynamic @ FEPrivate`FrontEndResource[ "ChatbookStrings", "PersonaNameWolfie" ],
"DocumentationLink" -> "https://resources.wolframcloud.com/PromptRepository/resources/Wolfie/",
"PromptGenerators" -> { "RelatedDocumentation" },
"Tools" -> {
"DocumentationLookup",
"DocumentationSearcher",
"WolframAlpha",
"WolframLanguageEvaluator",
"WebSearcher",
Expand Down

0 comments on commit bdf10af

Please sign in to comment.