Views
No views yet
@xenova/transformers
with no GPU required.goal-to-steps/add, inject,
install, add route, add hook, …) and the idiomatic step format used throughout
the system.| Task | text2text-generation |
| Input | Natural-language goal (e.g. "add authentication") |
| Output | Pipe-separated WebBee steps (e.g. "add component LoginForm | add hook useAuth | add route api/auth") |
| Training examples | 533 synthetic goal→steps pairs across 8 categories |
1import { pipeline } from '@xenova/transformers';
2
3const generator = await pipeline(
4 'text2text-generation',
5 'learosema/webbee-delegate-models',
6 { subfolder: 'goal-to-steps' }
7);
8
9const result = await generator('add authentication');
10console.log(result[0].generated_text);
11// → add component LoginForm | add hook useAuth | add route api/authpackages/delegate-model/
of the WebBee repository.