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

Chat fails to produce anything. #1053

Open
adamhill opened this issue Jan 25, 2025 · 2 comments
Open

Chat fails to produce anything. #1053

adamhill opened this issue Jan 25, 2025 · 2 comments

Comments

@adamhill
Copy link

Describe the issue in detail here. Attach any relevant screenshots or files. The section below was automatically generated. Remove any information that you do not wish to include in the report.

Prompt was - "write some code in mathmatica to render interactive minimal surfaces"

ConfirmMatch[ llmSynthesize0[ prompt, evaluator, 1 ], Except[ "", _String ], "Result" ],

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 "35a99f2f-316f-4314-b485-884af086eb05"
StyleSheetVersion "2.0.4.3943330431"

Failure Data

<|
  "Evaluation" :> Wolfram`Chatbook`Common`llmSynthesize["Your task is to read a chat transcript between a user and assistant, and then select any relevant Wolfram Language documentation snippets that could help the assistant answer the user's latest message.\n\nEach snippet is uniquely identified by a URI (always starts with 'paclet:' or 'https://resources.wolframcloud.com').\n\nChoose up to 5 documentation snippets that would help answer the user's MOST RECENT message.\n\nRespond with JSON in the following forma...,
  "Information" -> "Result@@Source/Chatbook/LLMUtilities.wl:37,5-37,92",
  "ConfirmationType" -> "ConfirmMatch",
  "Expression" :> Failure["InvalidResponse", <|"Data" -> {<|"BodyChunk" -> "<html><body><h1>503 Service Unavailable</h1>\nNo server is available to handle this request.\n</body></html>\n", "BodyChunkProcessed" -> {}, "StatusCode" -> Missing["NotAvailable"], "EventName" -> "BodyChunkReceived"|>, <|"BodyChunk" -> "", "BodyChunkProcessed" -> {}, "StatusCode" -> 503, "EventName" -> "BodyChunkReceived"|>}|>],
  "Pattern" -> Except["", _String],
  "Stack" :> Wolfram`Chatbook`Common`Private`$stack$64015,
  "Failure" -> Failure["ConfirmationFailed", <|"MessageTemplate" -> "Result@@Source/Chatbook/LLMUtilities.wl:37,5-37,92", "MessageParameters" -> {}, "ConfirmationType" -> "ConfirmMatch", "Expression" :> Failure["InvalidResponse", <|"Data" -> {<|"BodyChunk" -> "<html><body><h1>503 Service Unavailable</h1>\nNo server is available to handle this request.\n</body></html>\n", "BodyChunkProcessed" -> {}, "StatusCode" -> Missing["NotAvailable"], "EventName" -> "BodyChunkReceived"|>, <|"BodyChunk" -> "", "BodyChunkPro...,
  "Arguments" -> {}
|>

Stack Data

trimURL
throwFailure
catchTop
formatGeneratedPrompt
catchTopAs
withChatState
catchTop
@adamhill
Copy link
Author

Repeated multiple times, no output

@raverydavis
Copy link

The failure data says there was a 503 error from the service. Do you still see this issue? You can also update the Chatbook paclet if it has not updated automatically yet: PacletInstall["Wolfram/Chatbook", UpdatePacletSites -> True]

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

2 participants