| .. | ||
| classification | ||
| constants | ||
| context | ||
| filtering | ||
| generation | ||
| postprocessing | ||
| templating | ||
| test | ||
| util | ||
| AutocompleteDebouncer.ts | ||
| AutocompleteLruCache.ts | ||
| completionProvider.ts | ||
| constructPrompt.ts | ||
| README.md | ||
| recentlyEdited.ts | ||
| types.ts | ||
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?