a2ui-project / a2ui-project/a2ui

Support Component aliases and renaming in the inference pipeline

Đang mở
#1,620 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
component: agent_sdk P2 sprint ready
Ngôn ngữ chính
TypeScript
Star
16.4k
Fork
1.3k
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
134

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Look at the inference pipeline code to understand how components are currently resolved. Identify where component names are mapped to implementations. Add a mechanism to register aliases or renaming mappings, likely in a configuration or mapping file. Ensure the pipeline can fall back to aliases when a direct match fails. Test with models that use synonyms or different spellings to verify recovery works.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
typescript
Lĩnh vực
backend-api-design
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.