YuktaiDocs v5.3.12

Function playground

Function playground

The core functions behind the grid, the agents and the page tools, available on their own. Pick one, change the input, run it on 120 sample staff rows, and copy the call for your stack.

Playground

lib/example.ts
// pick a function
All core functions (same names in npm and window.yuktai)
GroupFunctions
Grid queriesparseAmount, parseGridQuery, executeGridQuery, runGridQuery, answerGridQuestion, findMentionedColumn
Anomalies and summariesdetectAnomalies, summarizeRows
BIaskInsight, groupBy, comparePeriods, trend, aggregate
TasksplanTasks, runTasks
QArunQaAudit, auditToMarkdown, auditToJSON, AUDIT_RULES
CopilotcreateA11yCopilot
Page understandingaskAboutPage, analyzePage, detectPageIntent
Page and data RAGcreateContextIndex, tokenize, pagePassages, gridPassages
Forms and designreviewForms, reviewForm, readFormFields, reviewDesign
VoiceparseVoiceA11yCommand, createVoiceA11yController, moveGridRowFocus
Grid toolscreateGridTools, getRowId, applyGridFilters, toGridToolColumns, searchGrid, countGrid, filterGrid, sortGrid …
ColourcontrastRatio, parseColor, relativeLuminance, accessibleName
Iconsicon (vanilla), iconSvg, iconContrast, pickGlyphColor, ICON_NAMES