continue-custom/core/autocomplete
2024-10-30 21:10:29 -07:00
..
classification move multiline classification 2024-10-30 21:00:42 -07:00
constants refactor debouncing 2024-10-30 19:52:07 -07:00
context refactor debouncing 2024-10-30 19:52:07 -07:00
filtering refactor debouncing 2024-10-30 19:52:07 -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
templating refactor debouncing 2024-10-30 19:52:07 -07:00
test Create NEGATIVE_CASES_STARCODER.tsx 2024-10-25 17:16:47 +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 refactor getLlm 2024-10-30 21:10:29 -07:00
constructPrompt.ts move files around 2024-10-30 00:59:48 -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