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

Internal failure when generating suggestions without context #1044

Closed
rhennigan opened this issue Jan 21, 2025 · 0 comments · Fixed by #1045
Closed

Internal failure when generating suggestions without context #1044

rhennigan opened this issue Jan 21, 2025 · 0 comments · Fixed by #1045
Assignees
Labels
bug Something isn't working

Comments

@rhennigan
Copy link
Member

Image

results = ConfirmMatch[
applyBias[ #, vectorDBSearch[ #, prompt, "Results" ] ] & /@ names,
{ { KeyValuePattern[ "Distance" -> $$size ].. }... },
"Results"
];

Debug Data

Property Value
Name "Wolfram/Chatbook"
Version "2.1.9"
ReleaseID "7dd21e30aa39d7f0b54333c96f9ee56da9a724d2"
EvaluationEnvironment "Session"
FrontEndVersion "Desktop: 14.2 for Microsoft Windows (64-bit) (December 26, 2024)"
KernelVersion "14.2.0 for Microsoft Windows (64-bit) (December 26, 2024)"
SystemID "Windows-x86-64"
Notebooks True
DynamicEvaluation True
SynchronousEvaluation False
TaskEvaluation False

Settings

Property Value
InheritanceTest True
ToolCallFrequency Automatic
Model <|"Service" -> "LLMKit", "Name" -> Automatic|>
ToolSelectionType <||>
ToolSelections <||>
StyleSheetVersion "2.0.15.3945149906"

Failure Data

<|
  "Evaluation" :> Wolfram`Chatbook`PromptGenerators`Common`vectorDBSearch[{"DataRepositoryURIs", "DocumentationURIs", "FunctionRepositoryURIs"}, {<|"Role" -> "User", "Content" -> ""|>}, "Results"],
  "Information" -> "Results@@Source/Chatbook/PromptGenerators/VectorDatabases.wl:848,19-852,10",
  "ConfirmationType" -> "ConfirmMatch",
  "Expression" :> {{}, {}, {}},
  "Pattern" -> {{KeyValuePattern["Distance" -> Infinity | (_Real | _Integer)?NonNegative]..}...},
  "Stack" :> Wolfram`Chatbook`Common`Private`$stack$120993,
  "Failure" -> Failure["ConfirmationFailed", <|"MessageTemplate" -> "Results@@Source/Chatbook/PromptGenerators/VectorDatabases.wl:848,19-852,10", "MessageParameters" -> {}, "ConfirmationType" -> "ConfirmMatch", "Expression" :> {{}, {}, {}}, "Information" -> "Results@@Source/Chatbook/PromptGenerators/VectorDatabases.wl:848,19-852,10", "Pattern" -> {{KeyValuePattern["Distance" -> Infinity | (_Real | _Integer)?NonNegative]..}...}|>],
  "Arguments" -> {}
|>

Stack Data

trimURL
throwFailure
catchTop
@rhennigan rhennigan added the bug Something isn't working label Jan 21, 2025
@rhennigan rhennigan self-assigned this Jan 21, 2025
@rhennigan rhennigan linked a pull request Jan 21, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant