You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Whether or not to enable the suggestive mode, if this is first time enabling it, you will need to generate and upload all node embeddings to supabase. Go to Suggestive Mode -> Sync Config -> Click on 'Generate & Upload All Node Embeddings'"
372
+
}
373
+
/>
374
+
</>
375
+
}
376
+
/>
377
+
<Alert
378
+
isOpen={isAlertOpen}
379
+
onConfirm={()=>{
380
+
voidcreateBlock({
381
+
parentUid: settings.settingsUid,
382
+
node: {text: "(BETA) Suggestive Mode Enabled"},
383
+
}).then((uid)=>{
384
+
setSuggestiveModeUid(uid);
385
+
setSuggestiveModeEnabled(true);
386
+
setIsAlertOpen(false);
387
+
setIsInstructionOpen(true);
388
+
});
389
+
}}
390
+
onCancel={()=>setIsAlertOpen(false)}
391
+
canEscapeKeyCancel={true}
392
+
canOutsideClickCancel={true}
393
+
intent={Intent.PRIMARY}
394
+
confirmButtonText="Enable"
395
+
cancelButtonText="Cancel"
396
+
>
397
+
<p>
398
+
Enabling Suggestive Mode will send your data (nodes) to our servers
399
+
and OpenAI servers to generate embeddings and suggestions.
400
+
</p>
401
+
<p>Are you sure you want to proceed?</p>
402
+
</Alert>
403
+
404
+
<Alert
405
+
isOpen={isInstructionOpen}
406
+
onConfirm={()=>window.location.reload()}
407
+
onCancel={()=>setIsInstructionOpen(false)}
408
+
confirmButtonText="Reload Graph"
409
+
cancelButtonText="Later"
410
+
intent={Intent.PRIMARY}
411
+
>
412
+
<p>
413
+
If this is the first time enabling it, you will need to generate and
414
+
upload all node embeddings to supabase.
415
+
</p>
416
+
<p>
417
+
Please reload the graph to see the new 'Suggestive Mode'
418
+
tab.
419
+
</p>
420
+
<p>
421
+
Then go to Suggestive Mode{" "}
422
+
{"-> Sync Config -> Click on 'Generate & Upload All Node Embeddings'"}
description="Whether or not to enable the suggestive mode, if this is first time enabling it, you will need to generate and upload all node embeddings to supabase. Go to Suggestive Mode -> Sync Config -> Click on 'Generate & Upload All Node Embeddings'"
0 commit comments