Skip to content

DataPackage

Defined in: chat/src/types/dataPackage.ts:109

optional name?: string

Defined in: chat/src/types/dataPackage.ts:112

Frictionless’s package name. Remote packages carry the name they were requested by, which is what the agent keys per-package config on.


resources: DataPackageResource[]

Defined in: chat/src/types/dataPackage.ts:117


optional udi:example_prompts?: string[]

Defined in: chat/src/types/dataPackage.ts:127

Example prompts shown in the chat. When absent, the agent’s /v1/yac/examples list is used.


optional udi:labels?: Record<string, string>

Defined in: chat/src/types/dataPackage.ts:124

Friendly labels for categorical values, raw → label, applied across every resource — an institution renamed once covers donors.group_name and samples.group_name alike. Display only: the raw value is what reaches a spec, a query or the LLM.


udi:path: string

Defined in: chat/src/types/dataPackage.ts:113


optional udi:prefer?: "line_level" | "data_cube"

Defined in: chat/src/types/dataPackage.ts:116

Which kind of table the agent answers from when a package holds both line-level tables and data cubes and either could serve a request.