Lynx

genui / a2ui-prompt / createA2UICatalogFromManifests

createA2UICatalogFromManifests()

function createA2UICatalogFromManifests(options: object): A2UICatalog

Convert generated component manifests into a prompt-ready A2UI catalog.

Parameters

ParameterType
optionsobject
options.catalogIdstring
options.componentManifestsRecord<string, JsonSchema>[]
options.examples?A2UIExample[]
options.extraRules?string[]
options.functions?A2UIFunctionSpec[]
options.label?string
options.version?string

Returns

A2UICatalog

Defined in

@lynx-js/genui/server/agent/a2ui-catalog.ts:310

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.