Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antvis/AVA
/ functions
Functions
902 in github.com/antvis/AVA
⨍
Functions
902
◇
Types & classes
105
↓ 1 callers
Function
assignSourceNames
* Keep the first occurrence of each explicit name and assign unused `dataN` * names to the remaining sources.
src/util/source.ts:39
↓ 1 callers
Function
attach
(file: File)
site/ai/ui/useChat.ts:97
↓ 1 callers
Function
bindChart
(section, query)
skills/ava/scripts/report.mjs:139
↓ 1 callers
Function
bindFeishu
(url?: string)
src/cli/feishu.ts:61
↓ 1 callers
Function
bold
(value: string, color = colorsEnabled(process.stdout.isTTY))
src/cli/util.ts:9
↓ 1 callers
Function
bool
(value: unknown)
src/remote/clickhouse/schema.ts:14
↓ 1 callers
Function
bound
* Dates and timestamps are reported as Unix milliseconds; DATE and TIMESTAMP_NTZ values are read as * UTC. EPOCH_MILLISECOND applies to timestamps on
src/remote/snowflake/profile.ts:39
↓ 1 callers
Function
buildAdvisorPrompt
(query: string, dataInfoStr: string)
src/visualization/advisor.ts:32
↓ 1 callers
Function
buildConnectionString
Build the space-separated `key=value` connection string DuckDB's mysql extension expects
src/duckdb/loaders/mysql.ts:78
↓ 1 callers
Function
buildConnectionString
* Resolve a connection string from the two supported modes: * 1. If `connection` (advanced string) is provided, use it directly — * appending `db
src/duckdb/loaders/mongodb.ts:52
↓ 1 callers
Function
buildConnectionString
Build the space-separated `key=value` connection string DuckDB's postgres extension expects
src/duckdb/loaders/postgresql.ts:99
↓ 1 callers
Function
buildKeyValueString
* Build a DuckDB mongo connection string from structured fields. * Produces the key-value format: `host=… port=… user=… password=… dbname=… …`
src/duckdb/loaders/mongodb.ts:32
↓ 1 callers
Function
category
(name: string, values: readonly string[], notNull = false)
src/duckdb/loaders/github/convert.ts:21
↓ 1 callers
Function
cleanup
()
src/interpreter/javascript/sandbox.ts:18
↓ 1 callers
Function
cleanup
(root, name, node)
evals/ava-agent/scripts/skill-discovery.py:199
↓ 1 callers
Function
client
(maxRetries = 0, signal = new AbortController().signal)
__tests__/duckdb/loaders/tencent-smartsheet.test.ts:63
↓ 1 callers
Function
client
(responses: (Response | Error)[], token?: string, timeoutMs = 60000)
__tests__/duckdb/loaders/github.test.ts:50
↓ 1 callers
Function
clientConfig
(options: ClickHouseSourceOptions)
src/remote/clickhouse/engine.ts:32
↓ 1 callers
Function
codeBlocks
(response: string)
src/analysis/loop.ts:25
↓ 1 callers
Function
collect
(stream, maxBytes)
evals/ava-agent/lib/execute.mjs:4
↓ 1 callers
Function
column
(name: string, type: string, notNull = false)
src/duckdb/loaders/github/convert.ts:20
↓ 1 callers
Function
column
(name: string)
src/util/excel.ts:6
↓ 1 callers
Function
columnType
Categorical columns are ENUMs, so the schema lists the values that generated SQL can use.
src/duckdb/loaders/github.ts:13
↓ 1 callers
Function
columnTypes
(fields: TencentSmartsheetField[])
src/duckdb/loaders/tencent-smartsheet/convert.ts:57
↓ 1 callers
Function
columnsSQL
Preserve native types and column order; exclude dropped/system columns.
src/remote/supabase/schema.ts:31
↓ 1 callers
Function
columnsSQL
Preserve native types and column order.
src/duckdb/loaders/mysql.ts:26
↓ 1 callers
Function
columnsSQL
Preserve native types, column order and SQLite's primary-key nullability.
src/duckdb/loaders/sqlite.ts:21
↓ 1 callers
Function
columnsSQL
Preserve native types and column order; exclude dropped/system columns.
src/duckdb/loaders/postgresql.ts:36
↓ 1 callers
Function
columnsSQL
Preserve column order.
src/duckdb/util/schema.ts:26
↓ 1 callers
Function
compactScores
({ total, predicted, missing, metrics })
evals/_shared/report.js:5
↓ 1 callers
Function
comparable
Legacy LOB and spatial types need a comparable representation for DISTINCT.
src/remote/sqlserver/profile.ts:34
↓ 1 callers
Function
compare
(request)
evals/BIRD/compare.py:13
↓ 1 callers
Function
compute
(field?: MetricField)
src/interpreter/javascript/profile.ts:101
↓ 1 callers
Function
connect
(hostKeyFingerprint?: string)
__tests__/duckdb/ssh-host-key.test.ts:55
↓ 1 callers
Function
connectPipe
(path: string, directory: string)
src/cli/session/windows.ts:55
↓ 1 callers
Function
connectSession
(id: string, request: string)
src/cli/session/transport.ts:45
↓ 1 callers
Function
connectSshClient
(ssh: SSHOptions)
src/duckdb/util/ssh.ts:21
↓ 1 callers
Function
connectionConfig
(options: SQLServerSourceOptions)
src/remote/sqlserver/engine.ts:28
↓ 1 callers
Function
constraintsSQL
Map keys to indexes/relations; preserve composite FK column pairs.
src/duckdb/util/schema.ts:45
↓ 1 callers
Function
containsWriteOrLock
(value: unknown)
src/query/postgresql.ts:14
↓ 1 callers
Function
convertCell
(field: TencentSmartsheetField, value: unknown)
src/duckdb/loaders/tencent-smartsheet/convert.ts:65
↓ 1 callers
Function
convertFormula
(value: unknown, depth: number)
src/duckdb/loaders/feishu/convert.ts:264
↓ 1 callers
Function
convertItem
(raw: unknown)
src/duckdb/loaders/github/convert.ts:111
↓ 1 callers
Function
convertMaps
The driver returns structured MAPs as Map; normalize them before JSON output and byte limits.
src/remote/snowflake/result.ts:21
↓ 1 callers
Function
createConnection
(rows: Record<string, unknown>[] = [])
__tests__/duckdb/loaders/mongodb.unit.test.ts:7
↓ 1 callers
Function
createDataset
( sources: DataSourceConfig[], llm: LLMConfig, engine?: EngineConfig['type'] )
src/cli/session/datasets.ts:22
↓ 1 callers
Method
createEngine
* Instantiate the engine selected by the engine config. * Engine classes are registered by the entry point (index.ts / * index.browser.ts), so t
src/ava.ts:87
↓ 1 callers
Function
createEvals
(directory: string)
evals/ava-agent/evals/databench.eval.ts:146
↓ 1 callers
Function
createModel
(config: LLMConfig)
site/ai/core/model.ts:4
↓ 1 callers
Function
createPipeKey
(directory: string)
src/cli/session/windows.ts:21
↓ 1 callers
Function
createPipeServer
(directory: string, onConnection: (socket: Socket) => void)
src/cli/session/windows.ts:43
↓ 1 callers
Function
createSession
( config: LLMConfig, dataset: AIDataset, createAva: AvaFactory = (llm) => new AVA({ llm, engine: { type:
site/ai/core/session.ts:14
↓ 1 callers
Function
createSessionServer
(id: string, onConnection: (socket: Socket) => void)
src/cli/session/transport.ts:40
↓ 1 callers
Function
createTable
( conn: DuckDBConnection, table: GitHubTable, rows: GitHubRow[], namespace?: string )
src/duckdb/loaders/github.ts:23
↓ 1 callers
Function
createTools
({ ava, dataset }: { ava: AVA; dataset: AIDataset })
site/ai/core/tools.ts:7
↓ 1 callers
Function
csvCell
(value)
evals/_shared/results.js:9
↓ 1 callers
Function
csvFiles
(paths)
evals/databench/index.js:6
↓ 1 callers
Function
danger
(value: string, color = colorsEnabled(process.stderr.isTTY))
src/cli/util.ts:18
↓ 1 callers
Function
dateValue
(value)
evals/databench/index.js:59
↓ 1 callers
Function
defineChart
Literal construction preserves the correlation between chartType, type and native data fields.
src/contracts/visualize.ts:96
↓ 1 callers
Function
describeDataset
(schema?: Schema)
src/cli/session/datasets.ts:56
↓ 1 callers
Function
directAnalysis
(query, config, { dataModel, engine, llm, emit })
src/analysis/direct.ts:72
↓ 1 callers
Function
dispatch
(message: Request)
src/cli/session/server.ts:51
↓ 1 callers
Method
dispose
()
src/remote/sqlserver/engine.ts:115
↓ 1 callers
Method
dispose
()
src/remote/clickhouse/engine.ts:96
↓ 1 callers
Method
dispose
()
src/remote/snowflake/engine.ts:203
↓ 1 callers
Method
dispose
()
src/duckdb/engine.ts:224
↓ 1 callers
Method
disposeEngine
* Release the current engine, including replacement and failed-load cleanup.
src/ava.ts:110
↓ 1 callers
Function
download
(url, path)
evals/BIRD/fetch.js:20
↓ 1 callers
Function
download
(path, target)
evals/databench/fetch.js:26
↓ 1 callers
Function
emitEvent
(type: AnalysisEventType, data: object, eventId: string)
src/analysis/loop.ts:178
↓ 1 callers
Function
emptyTable
(fields: FeishuField[])
src/duckdb/loaders/feishu-bitable.ts:56
↓ 1 callers
Function
endOf
(pairId: string)
src/event/index.ts:15
↓ 1 callers
Function
equal
(actual, expected)
evals/ava-agent/scripts/skill-discovery.py:108
↓ 1 callers
Function
errorDetails
(error: unknown, credentials: TencentSmartsheetCredentials)
src/duckdb/loaders/tencent-smartsheet/client.ts:31
↓ 1 callers
Method
execute
(code: string, options?: ExecutionOptions)
src/interpreter/python/engine.ts:90
↓ 1 callers
Function
executeInBrowser
(data: any[], code: string)
src/interpreter/javascript/sandbox.ts:12
↓ 1 callers
Function
executeInNode
(data: any[], code: string)
src/interpreter/javascript/sandbox.ts:69
↓ 1 callers
Function
expectRemoved
(name: string)
__tests__/interpreter/python/sandbox.test.ts:7
↓ 1 callers
Function
expectStepContexts
(events: AnalysisEvent[])
__tests__/strategy.test.ts:44
↓ 1 callers
Function
expectUnloaded
()
__tests__/interpreter/python/engine.test.ts:64
↓ 1 callers
Function
exposed
(table: unknown)
src/remote/snowflake/schema.ts:62
↓ 1 callers
Function
exposedSQL
(schema?: string)
src/remote/sqlserver/schema.ts:8
↓ 1 callers
Function
exposedSQL
Restrict all branches to readable relations in the requested schema.
src/remote/supabase/schema.ts:11
↓ 1 callers
Function
exposedSQL
Restrict all branches to readable relations in the requested schema.
src/duckdb/loaders/postgresql.ts:16
↓ 1 callers
Function
extractData
(text: string, llmConfig: LLMConfig)
src/duckdb/loaders/text.ts:13
↓ 1 callers
Function
extractStatement
(definition: string, names?: string[])
__tests__/remote/sqlserver/schema.test.ts:27
↓ 1 callers
Function
fail
(error: unknown)
src/cli/session/server.ts:34
↓ 1 callers
Function
fakeConnection
(respond: (options: ExecuteOptions) => Response | undefined)
__tests__/remote/snowflake/test-utils.ts:44
↓ 1 callers
Function
feishuOrigin
(url?: string)
src/duckdb/loaders/feishu/token.ts:4
↓ 1 callers
Function
fetchFile
Caller-supplied headers may contain credentials with arbitrary names.
src/duckdb/util/file.ts:34
↓ 1 callers
Function
field
(fieldTitle: string, fieldType: number)
__tests__/duckdb/loaders/tencent-smartsheet.test.ts:21
↓ 1 callers
Function
finalStatus
* Final status of statements whose text contains `marker`, once Snowflake no longer reports them * running. The marker is a literal because AVA dro
__tests__/remote/snowflake/integration.test.ts:204
↓ 1 callers
Function
finalize
(summary)
evals/_shared/index.js:92
↓ 1 callers
Function
fingerprint
(directory, prefix = '')
evals/spider2lite/fetch.js:100
↓ 1 callers
Function
finish
()
site/ai/ui/demo/useSimulatedStream.ts:53
↓ 1 callers
Function
fk
(name: string, pkSchema: string, pkTable: string)
__tests__/remote/snowflake/engine.test.ts:104
↓ 1 callers
Function
foreignKeysSQL
Pair composite FK columns by position; both tables must be exposed.
src/remote/supabase/schema.ts:72
↓ 1 callers
Function
foreignKeysSQL
Preserve composite FK pairs within the source database.
src/duckdb/loaders/mysql.ts:59
↓ 1 callers
Function
foreignKeysSQL
Pair composite keys by position; SQLite exposes FK IDs rather than names.
src/duckdb/loaders/sqlite.ts:61
← previous
next →
301–400 of 902, ranked by callers