MCPcopy Create free account
hub / github.com/error311/FileRise / getBuiltInRecipes

Function getBuiltInRecipes

public/js/aiChat.js:164–225  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

162}
163
164function getBuiltInRecipes() {
165 const folder = getActiveFolder();
166 const scopeLabel = folder === 'root' ? 'this folder' : folder;
167 return [
168 {
169 id: 'builtin:list_here',
170 builtin: true,
171 name: 'List here',
172 prompt: 'List files and folders here.',
173 workflowHint: ''
174 },
175 {
176 id: 'builtin:tag_images',
177 builtin: true,
178 name: 'Tag images',
179 prompt: `Tag all images in ${scopeLabel}.`,
180 workflowHint: 'tag_images'
181 },
182 {
183 id: 'builtin:extract_invoices',
184 builtin: true,
185 name: 'Extract invoices',
186 prompt: `Extract all invoices in ${scopeLabel} to csv.`,
187 workflowHint: 'extract_invoices_csv'
188 },
189 {
190 id: 'builtin:extract_structured',
191 builtin: true,
192 name: 'Extract custom schema',
193 prompt: `Extract files in ${scopeLabel} to csv with fields vendor:text, effective date:date, renewal date:date, total value:number.`,
194 workflowHint: 'extract_structured_data'
195 },
196 {
197 id: 'builtin:transcribe_audio',
198 builtin: true,
199 name: 'Transcribe audio',
200 prompt: `Transcribe all audio files in ${scopeLabel} and tag them.`,
201 workflowHint: 'transcribe_audio_tag'
202 },
203 {
204 id: 'builtin:organize_type',
205 builtin: true,
206 name: 'Organize by type',
207 prompt: `Organize all files in ${scopeLabel} by type.`,
208 workflowHint: 'bulk_organize_files'
209 },
210 {
211 id: 'builtin:organize_year',
212 builtin: true,
213 name: 'Organize by year',
214 prompt: `Organize all files in ${scopeLabel} by year.`,
215 workflowHint: 'bulk_organize_files'
216 },
217 {
218 id: 'builtin:diagnostics',
219 builtin: true,
220 name: 'Run diagnostics',
221 prompt: '/diagnostics',

Callers 1

renderRecipeRailFunction · 0.85

Calls 1

getActiveFolderFunction · 0.85

Tested by

no test coverage detected