Settings

Theme

Show HN: VLLM with JSON Guided Generation

outlines-dev.github.io

11 points by btwillard 2 years ago · 3 comments · 1 min read

Reader

Our project, Outlines, now offers guided/constrained generation (e.g. according to a JSON schema) via the VLLM library.

My colleague, Rémi, created some patches that allow one to pass vLLM a JSON schema along with the prompt, which dramatically simplifies deployment of JSON-guided generation. He also added a new `serve` interface that puts it all together and makes serving such models a 2-3 line process.

Check it out and tell us what you think!

jilijeanlouis 2 years ago

this is really cool probably the most wanted feature in LLM open source. It would be nice to have regex support too?

do you plan to support regex?

  • remilouf 2 years ago

    We already support regex-guided generation in the library, and could easily make an API to serve this as well if that's a feature people want!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection