a2ui-project / a2ui-project/a2ui

Support Component aliases and renaming in the inference pipeline

Offen
#1,620 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
component: agent_sdk P2 sprint ready
Vorherrschende Sprache
TypeScript
Sterne
16.4k
Forks
1.3k
Ø Merge
2 T. 13 Std.
Gemergte PRs (30 T.)
134

Beschreibung

Models may accidentally refer to components that don't exist, by using synonyms or different spellings of existing components.

We can recover from these errors by allowing aliases to be registered in the inference pipeline, to map the names used by the model, to the actual implementations.

Aliases can also be used for prompt tuning. It might turn out that it would be better for `Card` to be called `ContainerWithBorder` from an inference perspective, and that this would improve eval results. We can add a 'renaming' mapping in the inference pipeline so that we can try different names at the inference level, without needing to rename components in our clients etc.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.