Skip to content

Commit

Permalink
Merge pull request #745 from WolframResearch/main
Browse files Browse the repository at this point in the history
Release v1.4.7
  • Loading branch information
rhennigan authored Jul 25, 2024
2 parents 463c800 + 93e625a commit 9f92b1e
Show file tree
Hide file tree
Showing 83 changed files with 11,461 additions and 2,463 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Check
run: wolframscript -f Scripts/CheckPaclet.wls
Expand All @@ -38,7 +38,7 @@ jobs:
run: wolframscript -f Scripts/BuildPaclet.wls

- name: UploadArtifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: ${{ env.PACLET_BUILD_DIR }}

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Check
run: wolframscript -f Scripts/CheckPaclet.wls
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
dpkg -i gh.deb
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build
run: wolframscript -f Scripts/BuildPaclet.wls
Expand Down Expand Up @@ -96,16 +96,16 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: BuildMX
run: wolframscript -f Scripts/BuildMX.wls

- name: Submit
uses: WolframResearch/[email protected]
run: wolframscript -f Scripts/SubmitPaclet.wls

- name: UploadArtifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: ${{ env.PACLET_BUILD_DIR }}
if-no-files-found: ignore
10 changes: 5 additions & 5 deletions Assets/AIAssistant/APIKeyDialogDescription.wl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
RawBoxes @ Cell[
TextData @ {
"If you do not yet have an API key, you can create one ",
trExprTemplate["APIKeyDialogCreateKeyTemplate"][<|"1" ->
Cell @ BoxData @ TagBox[
ButtonBox[
StyleBox[ "here", FontFamily -> "Source Sans Pro" ],
Expand All @@ -16,8 +16,9 @@ RawBoxes @ Cell[
]
],
MouseAppearanceTag[ "LinkHand" ]
],
".\nTo avoid seeing this dialog in the future, choose \"Save\" to store the key in ",
]|>],
"\n",
trExprTemplate["APIKeyDialogSaveKeyTemplate"][<|"1" ->
Cell[
BoxData @ RowBox @ {
TagBox[
Expand All @@ -44,8 +45,7 @@ RawBoxes @ Cell[
FontFamily -> "Source Sans Pro",
ShowStringCharacters -> True,
FontSize -> Inherited * 0.9
],
"."
]|>]
},
"Text",
FontSize -> 12
Expand Down
4 changes: 2 additions & 2 deletions Assets/AIAssistant/ChatContextDialogButtons.wl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Function[
{
StyleBox[
TemplateBox[
{ "\"Cancel\"" },
{ ToBoxes[tr["CancelButton"]] },
"Row",
DisplayFunction ->
(Function[
Expand Down Expand Up @@ -161,7 +161,7 @@ Function[
{
StyleBox[
TemplateBox[
{ "\"OK\"" },
{ ToBoxes[tr["OKButton"]] },
"Row",
DisplayFunction ->
(Function[
Expand Down
12 changes: 6 additions & 6 deletions Assets/AIAssistant/ChatContextDialogCellsTemplate.wl
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
{
Cell[
TextData @ {
"System Prompt Text",
trRaw["ChatContextDialogSystemPromptText"],
Cell @ BoxData @ PaneSelectorBox[
{
True ->
Expand All @@ -199,7 +199,7 @@
"ChatContextPreprompt",
Cell[
BoxData @ FrameBox[
Cell[ "This is the text that tells you what to do.", "MoreInfoText" ],
Cell[ trRaw["ChatContextDialogDescription"], "MoreInfoText" ],
Background -> GrayLevel[ 0.95 ],
FrameMargins -> 20,
FrameStyle -> GrayLevel[ 0.9 ],
Expand Down Expand Up @@ -250,7 +250,7 @@
{
Cell[
TextData @ {
"Cell Processing Function",
trRaw["ChatContextDialogCellProcessingFunction"],
Cell @ BoxData @ PaneSelectorBox[
{
True ->
Expand All @@ -259,7 +259,7 @@
"CellToMessageFunction",
Cell[
BoxData @ FrameBox[
Cell[ "This is the text that tells you what to do.", "MoreInfoText" ],
Cell[ trRaw["ChatContextDialogDescription"], "MoreInfoText" ],
Background -> GrayLevel[ 0.95 ],
FrameMargins -> 20,
FrameStyle -> GrayLevel[ 0.9 ],
Expand Down Expand Up @@ -302,7 +302,7 @@
{
Cell[
TextData @ {
"Cell Post Evaluation Function",
trRaw["ChatContextDialogCellPostEvaluationFunction"],
Cell @ BoxData @ PaneSelectorBox[
{
True ->
Expand All @@ -311,7 +311,7 @@
"ChatPost",
Cell[
BoxData @ FrameBox[
Cell[ "This is the text that tells you what to do.", "MoreInfoText" ],
Cell[ trRaw["ChatContextDialogDescription"], "MoreInfoText" ],
Background -> GrayLevel[ 0.95 ],
FrameMargins -> 20,
FrameStyle -> GrayLevel[ 0.9 ],
Expand Down
2 changes: 1 addition & 1 deletion Assets/AIAssistant/ChatContextDialogStyles.wl
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ Notebook[
TemplateBox[
{
TemplateBox[ { }, "MoreInfoOpenerIconTemplate" ],
"\"Click for more information\""
tr["ChatContextDialogClickForMoreInfo"]
},
"PrettyTooltipTemplate"
],
Expand Down
Binary file modified Assets/DisplayFunctions.wxf
Binary file not shown.
Binary file modified Assets/Icons.wxf
Binary file not shown.
15 changes: 8 additions & 7 deletions Assets/SandboxMessages.wl
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
(* cSpell: ignore ntype, usenl, notent *)
(* cSpell: ignore ntype, usenl, notent, unkunit *)

ExampleData::notent = "`1` is not a known entity for the collection `2`. Try using natural language input (\[FreeformPrompt][\"query\"]) to get the correct expression instead."
General::messages = "Messages were generated which may indicate errors. Use the documentation_searcher tool to find solutions."
General::messages = "Messages were generated which may indicate errors. Use the documentation searcher tool to find solutions."
General::usenl = "Messages involving `1` were generated. Try using natural language input (\[FreeformPrompt][\"query\"]) to get the correct expression instead."
Needs::nocont = "Context `1` was not created when Needs was evaluated. Use the documentation_searcher tool to find alternatives."
RandomEntity::ntype = "`1` is not a valid type of Entity or EntityClass. Use the documentation_searcher tool to find alternatives."
ResourceObject::notfname = "The ResourceObject `1` does not exist. Use the documentation_searcher tool to find alternatives."
Symbol::undefined = "Warning: Global symbol `1` is undefined. Use the documentation_searcher tool to find alternatives."
Symbol::undefined2 = "Warning: Global symbols `1` are undefined. Use the documentation_searcher tool to find alternatives."
Needs::nocont = "Context `1` was not created when Needs was evaluated. Use the documentation searcher tool to find alternatives."
Quantity::unkunit = "Unable to interpret unit specification `1`. Try using natural language input (\[FreeformPrompt][\"query\"]) to get the correct expression instead.";
RandomEntity::ntype = "`1` is not a valid type of Entity or EntityClass. Use the documentation searcher tool to find alternatives."
ResourceObject::notfname = "The ResourceObject `1` does not exist. Use the documentation searcher tool to find alternatives."
Symbol::undefined = "Warning: Global symbol `1` is undefined. Use the documentation searcher tool to find alternatives."
Symbol::undefined2 = "Warning: Global symbols `1` are undefined. Use the documentation searcher tool to find alternatives."
Loading

0 comments on commit 9f92b1e

Please sign in to comment.