Go to file
Luc Georges 6c4e0e4176
feat: parallelise at hole level (#44)
* feat: parallelise at hole level

* fix(ci): move strategy to testbed job

* feat: output json results file

* fix(ci): install jq

* fix(ci): add missing `runs-on`

* fix(ci): add dependency to testbed job

* fix(ci): invalid artifact key name

* fix(ci): add missing i in fastapi key

* feat(ci): make CI run different # of threads per repo

* fix(ci): results.json not in markdown

* feat: round output values

* fix: avoid creating zombie processes

* fix: check on word instead of line

* feat: recreate holes for long CI
2023-11-17 18:05:45 +01:00
.cargo feat: add CI for release (#8) 2023-09-05 13:32:35 +02:00
.github feat: parallelise at hole level (#44) 2023-11-17 18:05:45 +01:00
crates feat: parallelise at hole level (#44) 2023-11-17 18:05:45 +01:00
xtask feat: add user agent (#20) 2023-09-21 14:32:21 +02:00
.gitignore feat: parallelise at hole level (#44) 2023-11-17 18:05:45 +01:00
Cargo.lock feat: testbed (#39) 2023-11-06 21:26:37 +01:00
Cargo.toml feat: testbed (#39) 2023-11-06 21:26:37 +01:00
LICENSE feat: add LICENSE (#1) 2023-08-10 22:50:24 +02:00
README.md feat: improve logging (#34) 2023-10-18 11:12:37 +02:00

llm-ls

Important

This is currently a work in progress, expect things to be broken!

llm-ls is a LSP server leveraging LLMs to make your development experience smoother and more efficient.

The goal of llm-ls is to provide a common platform for IDE extensions to be build on. llm-ls takes care of the heavy lifting with regards to interacting with LLMs so that extension code can be as lightweight as possible.

Features

Prompt

Uses the current file as context to generate the prompt. Can use "fill in the middle" or not depending on your needs.

It also makes sure that you are within the context window of the model by tokenizing the prompt.

Telemetry

Gathers information about requests and completions that can enable retraining.

Note that llm-ls does not export any data anywhere (other than setting a user agent when querying the model API), everything is stored in a log file if you set the log level to info.

Completion

llm-ls parses the AST of the code to determine if completions should be multi line, single line or empty (no completion).

Compatible extensions

Roadmap

  • support getting context from multiple files in the workspace
  • add suffix_percent setting that determines the ratio of # of tokens for the prefix vs the suffix in the prompt
  • add context window fill percent or change context_window to max_tokens
  • filter bad suggestions (repetitive, same as below, etc)
  • support for ollama
  • support for llama.cpp
  • oltp traces ?