~/talk

Statically Contextualizing Large Language Models with Typed Holes

Talkat OOPSLA 2024 · 2024-10-20..10-25· [ai-assisted-development, typescript]
links:none on file
links:none on file
slides:none on file

Integration of a typed live editor with LLM completions produces fewer hallucinations by sending a Hazel language server–constructed static slice: inferred hole type, recursive type definitions, and relevant function headers. Implementation in Hazel plus a TypeScript port yields iterative LLM edits driven by type error messages. Evaluation on a new MVUBench dataset shows that including type definitions dramatically increases passing unit tests versus header-only or vector-retrieval baselines, while exhaustive retrieval matches accuracy at much higher token cost. ChatLSP is proposed to expose these capabilities via LSP.

AI-written summary · about

  1. 0:00Typed hole contextualization
  2. 1:04Typed hole completion in Hazel
  3. 4:36Static contextualization problem
  4. 6:44Contextualization strategies
  5. 7:25Type-focused prompt construction
  6. 10:59Evaluation with MVU Bench
  7. 13:51Extending to other languages
  8. 15:40Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.