MCPcopy Create free account

hub / github.com/antvis/AVA / functions

Functions902 in github.com/antvis/AVA

↓ 65 callersFunctiondescribe
(url: URL)
src/duckdb/loaders/github/client.ts:31
↓ 49 callersMethoddispose
Release resources (temp files, database connections)
src/types.ts:241
↓ 39 callersMethodschema
Discover the loaded source structure.
src/types.ts:233
↓ 36 callersFunctiongetLLMConfig
()
__tests__/test-utils.ts:17
↓ 33 callersMethodload
* Prepare the supplied source configurations for execution.
src/types.ts:231
↓ 30 callersMethodsource
* Load one or more data sources. * * Reloading releases the active engine before loading the new sources.
src/ava.ts:131
↓ 29 callersMethodexecute
Execute one DSL statement with a bounded result.
src/types.ts:239
↓ 29 callersMethodget
(url: URL)
src/duckdb/loaders/github/client.ts:116
↓ 24 callersMethodprofile
Compute statistics for the loaded data.
src/types.ts:235
↓ 22 callersFunctionsqlIdentifier
(name: string)
src/util/sql.ts:30
↓ 21 callersMethodgetDSL
Generate executable code for a natural-language query.
src/types.ts:261
↓ 20 callersFunctionsqlStringLiteral
(value: string)
src/util/sql.ts:20
↓ 17 callersMethodrun
(sql: string, values?: string[])
src/types.ts:136
↓ 16 callersMethodclose
* Close the database connection and instance
src/duckdb/engine.ts:212
↓ 15 callersFunctionlanguageModel
(llm: LLMConfig)
src/util/model.ts:8
↓ 15 callersMethodvalidateDSL
Validate the DSL without executing it, preserving its source semantics.
src/types.ts:263
↓ 14 callersMethodanalyze
* Analyze data using natural language query. * The query is turned into SQL via LLM and executed by the configured engine. * Use visualize() sep
src/ava.ts:237
↓ 14 callersFunctionemit
(emitter: EventEmitter, event: BaseEvent)
src/event/index.ts:37
↓ 14 callersMethodquery
* Execute a read-only query against the data source. * The DSL must match the current engine's query language.
src/ava.ts:294
↓ 14 callersFunctionserializeError
(error: unknown)
src/util/error.ts:7
↓ 12 callersFunctionoption
(options: Options, name: string)
src/cli/options.ts:16
↓ 12 callersFunctionstringifyDataModel
({ description, ...dataModel }: DataModel)
src/util/data-model.ts:98
↓ 11 callersMethodrunAndReadAll
(sql: string)
src/types.ts:137
↓ 11 callersFunctionsqlQualifiedName
(name: string, schema?: string)
src/util/sql.ts:37
↓ 10 callersFunctionatomicJson
(path, value)
evals/_shared/files.js:15
↓ 10 callersMethodcall
(operation: TencentSmartsheetReadOperation, args: Record<string, unknown>)
src/duckdb/loaders/tencent-smartsheet/client.ts:57
↓ 10 callersFunctioninteger
(value, name, min = 1)
evals/_shared/args.js:23
↓ 9 callersFunctioncheck
(condition, message)
skills/ava/scripts/report.mjs:10
↓ 9 callersFunctionmaxRows
(options: ExecutionOptions = {})
src/util/result.ts:13
↓ 9 callersFunctionremoveTempFile
(filePath: string)
src/duckdb/util/file.ts:71
↓ 9 callersFunctionselectSamples
(options = {}, root = ROOT)
evals/BIRD/index.js:8
↓ 9 callersMethodsemantic
Read or replace semantic definitions used in model-facing operations.
src/ava.ts:210
↓ 8 callersFunctionexecutionResult
( rows: T[], schema: QueryColumn[], options: ExecutionOptions = {}, upstreamTruncatedBy?: ExecutionRes
src/util/result.ts:50
↓ 8 callersFunctiongetDuckDBSchema
( conn: DuckDBConnection, tableNames?: string[], namespace?: string )
src/duckdb/util/schema.ts:69
↓ 8 callersFunctionreadJson
(path)
evals/_shared/files.js:6
↓ 8 callersFunctionrequest
(id: string, message: Request)
src/cli/session/client.ts:118
↓ 8 callersFunctionresolveMetric
(config: Exclude<MetricConfig, string>, definitions: T[])
src/util/profile.ts:10
↓ 8 callersFunctionsha256
(path)
evals/_shared/files.js:5
↓ 8 callersFunctionsqlUnionAll
(queries: readonly string[])
src/util/sql.ts:25
↓ 7 callersFunctionbuildDataModel
(input: { schema: Schema; profile?: Profile; semantic?: Semantic })
src/util/data-model.ts:47
↓ 7 callersFunctiongetTranslator
(locale: Locale, namespace: keyof typeof en)
site/lib/i18n.ts:21
↓ 7 callersFunctionlogicalTypes
(...types: LogicalType[])
src/util/profile.ts:43
↓ 7 callersFunctionpageMetadata
(locale: Locale, path: string)
site/lib/i18n.ts:25
↓ 7 callersFunctionparse
(argv: string[], definitions: OptionDefinitions = {})
src/cli/options.ts:6
↓ 7 callersFunctionparseProfileOptions
( options: ProfileOptions = {}, defaultOptions: ProfileOptions )
src/util/profile.ts:31
↓ 7 callersFunctionreadCsv
@returns {Record<string, string>[]}
evals/_shared/results.js:27
↓ 7 callersFunctionrowObjects2Schema
(rows: Record<string, unknown>[], namespace?: string)
src/util/schema.ts:91
↓ 7 callersFunctionsessionDirectory
(id: string)
src/cli/session/transport.ts:12
↓ 7 callersMethodsuggest
* Suggest questions about the loaded data.
src/ava.ts:367
↓ 7 callersFunctiontext
(value)
skills/ava/scripts/report.mjs:14
↓ 7 callersFunctionwriteTempFile
(content: string | Buffer, ext: string)
src/duckdb/util/file.ts:21
↓ 6 callersFunctioncolorsEnabled
(isTTY: boolean | undefined)
src/cli/util.ts:1
↓ 6 callersFunctioninspectResources
(samples, root = ROOT)
evals/BIRD/index.js:58
↓ 6 callersFunctionisObject
(value: unknown)
src/duckdb/loaders/tencent-smartsheet/client.ts:10
↓ 6 callersFunctionisRecord
(value: unknown)
src/duckdb/loaders/feishu/convert.ts:57
↓ 6 callersFunctionlocaleHref
(href: string, locale: Locale)
site/lib/i18n.ts:9
↓ 6 callersFunctionrunWithTimeout
( operation: Promise<T>, timeoutMs: number, options: { onTimeout: () => Error; unref?: boolean } )
src/util/timeout.ts:2
↓ 5 callersMethodabort
()
src/duckdb/loaders/tencent-smartsheet/client.ts:154
↓ 5 callersFunctionansi
(code: string, value: string)
src/cli/util.ts:5
↓ 5 callersFunctioncsvRows
(rows)
evals/_shared/results.js:13
↓ 5 callersFunctiondatabasePath
(sample, root = ROOT)
evals/BIRD/index.js:45
↓ 5 callersFunctionescapeSql
(value: string)
src/util/sql.ts:15
↓ 5 callersFunctionfileSource
( path: string, format: FileFormat, cleanup: () => Promise<void>, options?: CSVReadOptions | JSONReadO
src/duckdb/util/file.ts:95
↓ 5 callersFunctionfindDoc
(slug: string)
site/lib/docs.ts:165
↓ 5 callersFunctionobject
(value)
skills/ava/scripts/report.mjs:13
↓ 5 callersFunctionprofileTables
( connection: DuckDBConnection, schema: Schema, options: ParsedProfileOptions )
src/duckdb/profile.ts:117
↓ 5 callersFunctionreadJSON
(value: string)
src/cli/io.ts:29
↓ 5 callersMethodrequireScope
()
src/remote/snowflake/engine.ts:219
↓ 5 callersFunctionrun
(command, input, prepareEvaluation)
evals/ava-agent/scripts/run.mjs:25
↓ 5 callersFunctionscoreSamples
({ samples, root = ROOT, predictions, output, python, timeout = 60_000 })
evals/BIRD/score.js:41
↓ 5 callersMethodtrace
(self, output, query_error=False, completed=True)
evals/ava-agent/scripts/test_skill_discovery.py:29
↓ 5 callersMethodvisualize
* Visualize analysis data by recommending a chart type and generating chart HTML. * Accepts the result from analyze() — the query and data are read
src/ava.ts:322
↓ 5 callersMethodviz
* Render a chart specification as standalone HTML.
src/ava.ts:359
↓ 4 callersFunctionclose
()
src/cli/session/server.ts:24
↓ 4 callersFunctioncompare
(request, { python = PYTHON, timeout = 60_000 } = {})
evals/BIRD/score.js:12
↓ 4 callersFunctioncreatePythonExecutor
(timeoutMs: number)
src/interpreter/python/util/execute.ts:7
↓ 4 callersFunctioncreateSshTunnel
(ssh: SSHOptions, targetHost: string, targetPort: number)
src/duckdb/util/ssh.ts:41
↓ 4 callersMethoddispose
* Clean up resources (engine storage, temp files)
src/ava.ts:391
↓ 4 callersFunctiondocHref
(slug: string, locale: Locale = 'en')
site/lib/docs.ts:185
↓ 4 callersFunctiondocMetadata
(original: Doc, locale: Locale = 'en')
site/components/docs/DocPage.tsx:11
↓ 4 callersFunctionexecute
(argv: string[])
__tests__/cli.test.ts:55
↓ 4 callersFunctionexecutionCode
(code: string, source: DataSourceConfig, limits: ExecutionOptions)
src/interpreter/python/util/code.ts:116
↓ 4 callersFunctionfirstString
(record: Record<string, unknown>, keys: string[])
src/duckdb/loaders/feishu/convert.ts:61
↓ 4 callersFunctiongetSQLServerSchema
( runQuery: (sql: string) => Promise<Record<string, unknown>[]>, sourceSchema?: string )
src/remote/sqlserver/schema.ts:122
↓ 4 callersFunctionlimitedQuery
(sql: string, limit: number)
src/util/result.ts:42
↓ 4 callersFunctionmaxResultBytes
(options: ExecutionOptions = {})
src/util/result.ts:21
↓ 4 callersFunctionmodelMetadata
(config: LLMConfig & { baseURL: string })
evals/ava-workflow/model.ts:5
↓ 4 callersFunctionmodelQuestion
({ question, evidence })
evals/BIRD/index.js:50
↓ 4 callersFunctionpostHref
(post: BlogPost, locale: 'en' | 'zh')
site/lib/blog.ts:65
↓ 4 callersFunctionreadSemantic
(path: string)
evals/ava-workflow/workflow.ts:23
↓ 4 callersFunctiontakeOptions
(args, options)
evals/_shared/args.js:4
↓ 4 callersFunctionworkflow
( ava: AVA, source: DataSourceConfig, query: string, config: AnalysisConfig = {}, semantic?: Semanti
evals/ava-workflow/workflow.ts:28
↓ 3 callersFunctionaccent
(value: string, color = colorsEnabled(process.stdout.isTTY))
src/cli/util.ts:10
↓ 3 callersFunctionatomicWrite
(path, content)
evals/_shared/files.js:8
↓ 3 callersFunctionbadge
(value: string, color = colorsEnabled(process.stdout.isTTY))
src/cli/util.ts:13
↓ 3 callersFunctioncheckScorer
(root = ROOT, options)
evals/spider2lite/score.js:47
↓ 3 callersFunctioncolumn
(name: string, type = 'text', precision = 38, scale = 0)
__tests__/remote/snowflake/test-utils.ts:16
↓ 3 callersFunctionconnect
()
__tests__/duckdb/ssh.test.ts:81
↓ 3 callersFunctioncreateFileLoader
(format: FileFormat)
src/duckdb/util/file.ts:144
↓ 3 callersFunctioncreateTSQLParser
(sql: string, invalid: () => never)
src/query/tsql.ts:26
next →1–100 of 902, ranked by callers