File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 1
1
PacletObject [ < |
2
2
"Name" -> "Wolfram/Chatbook" ,
3
3
"PublisherID" -> "Wolfram" ,
4
- "Version" -> "1.5.2.21 " ,
4
+ "Version" -> "1.5.2.22 " ,
5
5
"WolframVersion" -> "14.1+" ,
6
6
"Description" -> "Wolfram Notebooks + LLMs" ,
7
7
"License" -> "MIT" ,
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ BeginPackage[ "Wolfram`Chatbook`" ];
66
66
` GetExpressionURIs ;
67
67
` GetFocusedNotebook ;
68
68
` InlineTemplateBoxes ;
69
+ ` InstallVectorDatabases ;
69
70
` InvalidateServiceCache ;
70
71
` ListSavedChats ;
71
72
` LoadChat ;
@@ -232,6 +233,7 @@ $ChatbookProtectedNames = "Wolfram`Chatbook`" <> # & /@ {
232
233
"GetExpressionURIs" ,
233
234
"GetFocusedNotebook" ,
234
235
"InlineTemplateBoxes" ,
236
+ "InstallVectorDatabases" ,
235
237
"ListSavedChats" ,
236
238
"LoadChat" ,
237
239
"LogChatTiming" ,
Original file line number Diff line number Diff line change @@ -65,6 +65,21 @@ $$vectorDatabase = HoldPattern[ _VectorDatabaseObject? System`Private`ValidQ ];
65
65
$vectorDBSearchCache = < | |> ;
66
66
$embeddingCache = < | |> ;
67
67
68
+ (* ::**************************************************************************************************************:: *)
69
+ (* ::Section::Closed:: *)
70
+ (*InstallVectorDatabases*)
71
+ InstallVectorDatabases // beginDefinition ;
72
+
73
+ InstallVectorDatabases [ ] := catchMine @ Enclose [
74
+ Success [
75
+ "VectorDatabasesInstalled" ,
76
+ < | "Location" -> ConfirmBy [ getVectorDBDirectory [ ], vectorDBDirectoryQ , "Location" ] |>
77
+ ],
78
+ throwInternalFailure
79
+ ];
80
+
81
+ InstallVectorDatabases // endExportedDefinition ;
82
+
68
83
(* ::**************************************************************************************************************:: *)
69
84
(* ::Section::Closed:: *)
70
85
(*Vector Database Utilities*)
You can’t perform that action at this time.
0 commit comments