Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An unexpected error when evaluating a prompt in Notebook Assistant #1049

Open
vkryukov opened this issue Jan 23, 2025 · 0 comments
Open

An unexpected error when evaluating a prompt in Notebook Assistant #1049

vkryukov opened this issue Jan 23, 2025 · 0 comments

Comments

@vkryukov
Copy link

I asked the following: How can I replace elements from 7 to 15 in a list with a fixed value "x"?

ConfirmBy[ GetExpressionURI[ link, Tooltip -> False ], graphicsQ, "MarkdownImageBox" ]

Debug Data
Property Value
Name "Wolfram/Chatbook"
Version "2.0.4"
ReleaseID "f622c8bbc064f3f4ccbe6029c299f76d945300c8"
EvaluationEnvironment "Session"
FrontEndVersion "Desktop: 14.2 for Mac OS X ARM (64-bit) (December 26, 2024)"
KernelVersion "14.2.0 for Mac OS X ARM (64-bit) (December 26, 2024)"
SystemID "MacOSX-ARM64"
Notebooks True
DynamicEvaluation True
SynchronousEvaluation False
TaskEvaluation False

Settings

Property Value
InheritanceTest True
Model <|"Service" -> "LLMKit", "Name" -> Automatic|>
SetCellDingbat False
TabbedOutput False
WorkspaceChat True
AllowSelectionContext True
AppName "NotebookAssistance"
LLMEvaluator "NotebookAssistant"
MaxContextTokens 32768
MaxToolResponses 3
PromptGenerators {"RelatedDocumentation"}
ServiceCaller "NotebookAssistance"
Tools {"NotebookEditor"}
ToolSelectionType <|"DocumentationLookup" -> None, "DocumentationSearcher" -> None|>
ToolOptions <|"WolframLanguageEvaluator" -> <|"AppendURIPrompt" -> True, "Method" -> "Session"|>|>
AutoGenerateTitle True
AutoSaveConversations True
ConversationUUID "66a5cb1f-0c2a-4f95-9f6e-611ed00ec690"
StyleSheetVersion "2.0.4.3943330431"

Failure Data

<|
  "Evaluation" :> Wolfram`Chatbook`Common`expandMultimodalString["## Related Links\n\n* [\\!\\(\\*MarkdownImageBox[\"![Content](dynamic://content-6lyek)\"]\\) An Elementary Introduction to the Wolfram Language](https://www.wolfram.com/language/elementary-introduction/31-parts-of-lists.html)\n* [: Parts of Lists](https://www.wolfram.com/language/elementary-introduction/31-parts-of-lists.html)\n* [\\!\\(\\*MarkdownImageBox[\"![Content](dynamic://content-8g5ig)\"]\\) NKS\\|Online](http://www.wolframscience.com/nks/s...,
  "Information" -> "MarkdownImageBox@@Source/Chatbook/ChatMessages.wl:929,25-929,111",
  "ConfirmationType" -> "ConfirmBy",
  "Expression" :> Dynamic[RawBoxes[FEPrivate`ImportImage[FrontEnd`FileName[{"Documentation", "FooterIcons"}, "RelatedLinks-EIWL.png"]]]],
  "Function" -> Wolfram`Chatbook`Common`graphicsQ,
  "Stack" :> Wolfram`Chatbook`Common`Private`$stack$467467,
  "Failure" -> Failure["ConfirmationFailed", <|"MessageTemplate" -> "MarkdownImageBox@@Source/Chatbook/ChatMessages.wl:929,25-929,111", "MessageParameters" -> {}, "ConfirmationType" -> "ConfirmBy", "Expression" :> Dynamic[RawBoxes[FEPrivate`ImportImage[FrontEnd`FileName[{"Documentation", "FooterIcons"}, "RelatedLinks-EIWL.png"]]]], "Information" -> "MarkdownImageBox@@Source/Chatbook/ChatMessages.wl:929,25-929,111", "Function" -> Wolfram`Chatbook`Common`graphicsQ|>],
  "Arguments" -> {}
|>

Stack Data

trimURL
throwFailure
catchTop
catchTopAs
withChatState
catchTop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant