450 B
450 B
Autocomplete
The autocomplete pipeline:
1. Triggering
Debouncing
2. Context gathering
3. Prompt construction
This is fairly trivial, we just use the correct template/endpoint for the model. Any templates are defined in templates.ts.
4. Caching
4. Generation
Reusing previous requests
4. Classification
Is it multi-line or single-line?