a2ui-project / a2ui-project/a2ui

Implement Python inference and inflation library

Abierto
#722 5 comentarios 0 reacciones 0 asignados Ver en GitHub
component: agent_sdk P2 sprint ready type: feature/enhancement
Lenguaje dominante
TypeScript
Estrellas
16.4k
Forks
1.3k
Merge medio
2 d 13 h
PR fusionados (30 d)
134

Descripción

Build the central Python SDK responsible for managing the request-time lifecycle of a template-based UI.a

Proposed tasks:
- [ ] Automated Prompt Builder: Create a utility to ingest template libraries and extract minimal schemas for LLM system prompts: https://github.com/nan-yu/A2UI/blob/c319fe70337c0a041ae0c7933bc95e5d7b94afcc/agent_sdks/python/src/a2ui/core/template/manager.py.
- [ ] Inflation: Implement logic to traverse a template and replace all `{{}}` placeholders with literal values from the LLM's data model.
- [ ] Handle the logic for mapping LLM-returned `templateName` to the local template storage.
- [ ] **Optional**: Support native data binding by leveraging the [dataModelUpdate](https://github.com/google/A2UI/blob/main/specification/v0_8/json/server_to_client.json#L70) schema, allowing the client to resolve placeholders reactively.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by reading the linked template manager file to understand the existing structure. The core tasks involve building a prompt builder, template inflation logic, and template name mapping. Review the dataModelUpdate schema for optional reactive binding. A working implementation would process a template library and successfully inflate a sample template with placeholder data.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python, typescript
Área
backend, tooling
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.