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

unable to use wolfram notebook assistent and in all tryouts it did not work #981

Open
anton-heijs opened this issue Dec 16, 2024 · 2 comments

Comments

@anton-heijs
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.

vectors = ConfirmBy[
If[ AllTrue[ strings, StringMatchQ[ WhitespaceCharacter... ] ],
Developer`ToPackedArray @ Rest @ sentenceBERTEmbedding @ Prepend[ strings, "hello" ],
Developer`ToPackedArray @ sentenceBERTEmbedding @ strings
],
Developer`PackedArrayQ,
"PackedArray"
];

Debug Data
Property Value
Name "Wolfram/Chatbook"
Version "2.0.1"
ReleaseID "92802b1ef8f559233ce0b012c36984092f64df5b"
EvaluationEnvironment "Session"
FrontEndVersion "Desktop: 14.1 for Microsoft Windows (64-bit) (July 16, 2024)"
KernelVersion "14.1.0 for Microsoft Windows (64-bit) (July 16, 2024)"
SystemID "Windows-x86-64"
Notebooks True
DynamicEvaluation False
SynchronousEvaluation False
TaskEvaluation False

Settings

Property Value
InheritanceTest True
SetCellDingbat False
TabbedOutput False
WorkspaceChat True
AllowSelectionContext True
AppName "NotebookAssistance"
LLMEvaluator "NotebookAssistant"
MaxContextTokens 32768
MaxToolResponses 3
Model <|"Service" -> "LLMKit", "Name" -> Automatic|>
PromptGenerators {"RelatedDocumentation"}
ServiceCaller "NotebookAssistance"
Tools {"NotebookEditor"}
ToolSelectionType <|"DocumentationLookup" -> None, "DocumentationSearcher" -> None|>
ToolOptions <|"WolframLanguageEvaluator" -> <|"AppendURIPrompt" -> True, "Method" -> "Session"|>|>
AutoGenerateTitle True
AutoSaveConversations True
ConversationUUID "55ebcd6f-2fe2-4592-9693-d35bd6e81d0a"
StyleSheetVersion "1.5.2.3.3941177587"

Failure Data

<|
  "Evaluation" :> Wolfram`Chatbook`PromptGenerators`VectorDatabases`Private`getAndCacheEmbeddings[{"User: How many people live in the Netherlands", "User: How many people live in the Netherlands"}],
  "Information" -> "PackedArray@@Source/Chatbook/PromptGenerators/VectorDatabases.wl:635,19-642,10",
  "ConfirmationType" -> "ConfirmBy",
  "Expression" :> Join[$Failed][[{2, 1}]],
  "Function" -> Developer`PackedArrayQ,
  "Stack" :> Wolfram`Chatbook`Common`Private`$stack$14782,
  "Failure" -> Failure["ConfirmationFailed", <|"MessageTemplate" -> "PackedArray@@Source/Chatbook/PromptGenerators/VectorDatabases.wl:635,19-642,10", "MessageParameters" -> {}, "ConfirmationType" -> "ConfirmBy", "Expression" :> Join[$Failed][[{2, 1}]], "Information" -> "PackedArray@@Source/Chatbook/PromptGenerators/VectorDatabases.wl:635,19-642,10", "Function" -> Developer`PackedArrayQ|>],
  "Arguments" -> {}
|>

Stack Data

trimURL
throwFailure
catchTop
formatGeneratedPrompt
catchTopAs
withChatState
@anton-heijs
Copy link
Author

After paying and following the setup instructions I am still unable to use wolfram notebook assistant and in all tryouts it did not work

@stefanr-wri
Copy link

Could you try the follow set of commands to see if it helps?

ResourceRemove[ResourceObject["all-MiniLM-L6-v2"]]

Quit

ResourceUpdate["all-MiniLM-L6-v2"]

Quit

NetModel["all-MiniLM-L6-v2"]

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