continue-custom/core/autocomplete
2024-10-31 13:50:29 -07:00
..
classification move multiline classification 2024-10-30 21:00:42 -07:00
constants refactor stop words 2024-10-31 12:48:40 -07:00
context refactor debouncing 2024-10-30 19:52:07 -07:00
filtering fix casing 2024-10-31 12:55:22 -07:00
generation move files around 2024-10-30 00:59:48 -07:00
postprocessing refactor debouncing 2024-10-30 19:52:07 -07:00
prefiltering HelperVars 2024-10-31 13:50:29 -07:00
templating HelperVars 2024-10-31 13:50:29 -07:00
test fix casing 2024-10-31 12:55:22 -07:00
util move files around 2024-10-30 00:59:48 -07:00
AutocompleteDebouncer.ts refactor debouncing 2024-10-30 19:52:07 -07:00
AutocompleteLruCache.ts move files around 2024-10-30 00:59:48 -07:00
CompletionProvider.ts HelperVars 2024-10-31 13:50:29 -07:00
constructPrompt.ts HelperVars 2024-10-31 13:50:29 -07:00
HelperVars.ts HelperVars 2024-10-31 13:50:29 -07:00
README.md move files around 2024-10-30 00:59:48 -07:00
recentlyEdited.ts ⏩ Preview to main (#1299) 2024-05-16 22:15:44 -07:00
types.ts move files around 2024-10-30 00:59:48 -07:00

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?

4. Filtering

5. Postprocessing

6. Telemetry