generated from silverbulletmd/silverbullet-plug-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsilverbullet-ai.plug.yaml
105 lines (105 loc) · 2.84 KB
/
silverbullet-ai.plug.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
name: silverbullet-ai
requiredPermissions:
- fetch
functions:
aiPromptSlashCommplete:
path: src/prompts.ts:aiPromptSlashComplete
events:
- slash:complete
queryAI:
path: sbai.ts:queryAI
reloadConfig:
path: sbai.ts:reloadConfig
events:
- page:saved
summarizeNote:
path: sbai.ts:openSummaryPanel
command:
name: "AI: Summarize Note and open summary"
insertSummary:
path: sbai.ts:insertSummary
command:
name: "AI: Insert Summary"
callOpenAI:
path: sbai.ts:callOpenAIwithNote
command:
name: "AI: Call OpenAI with Note as context"
tagNoteWithAI:
path: sbai.ts:tagNoteWithAI
command:
name: "AI: Generate tags for note"
promptAndGenerateImage:
path: sbai.ts:promptAndGenerateImage
command:
name: "AI: Generate and insert image using DallE"
streamOpenAIWithSelectionAsPrompt:
path: sbai.ts:streamOpenAIWithSelectionAsPrompt
command:
name: "AI: Stream response with selection or note as prompt"
streamChatOnPage:
path: sbai.ts:streamChatOnPage
command:
name: "AI: Chat on current page"
key: "Ctrl-Shift-Enter"
mac: "Cmd-Shift-Enter"
insertAiPromptFromTemplate:
path: src/prompts.ts:insertAiPromptFromTemplate
command:
name: "AI: Execute AI Prompt from Custom Template"
suggestPageName:
path: sbai.ts:suggestPageName
command:
name: "AI: Suggest Page Name"
selectTextModel:
path: sbai.ts:selectModelFromConfig
command:
name: "AI: Select Text Model from Config"
selectImageModel:
path: sbai.ts:selectImageModelFromConfig
command:
name: "AI: Select Image Model from Config"
selectEmbeddingModel:
path: sbai.ts:selectEmbeddingModelFromConfig
command:
name: "AI: Select Embedding Model from Config"
testEmbeddingGeneration:
path: sbai.ts:testEmbeddingGeneration
command:
name: "AI: Test Embedding Generation"
indexEmbeddings:
path: src/embeddings.ts:indexEmbeddings
env: server
events:
- page:index
indexSummaryEmbeddings:
path: src/embeddings.ts:indexSummary
env: server
events:
- page:index
debugSearchEmbeddings:
path: src/embeddings.ts:debugSearchEmbeddings
command:
name: "AI: Debug Search Embeddings"
readPageSearchEmbeddings:
path: src/embeddings.ts:readFileEmbeddings
env: server
pageNamespace:
pattern: "🤖 .+"
operation: readFile
writePageSearchEmbeddings:
path: src/embeddings.ts:readFileEmbeddings
env: server
pageNamespace:
pattern: "🤖 .+"
operation: readFile
getPageMetaSearchEmbeddings:
path: src/embeddings.ts:getFileMetaEmbeddings
env: server
pageNamespace:
pattern: "🤖 .+"
operation: getFileMeta
searchCommand:
path: src/embeddings.ts:searchCommand
env: server
command:
name: "AI: Search"