Skip to content

Outlines v1 documentation #1528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cpfiffer opened this issue Apr 8, 2025 · 1 comment
Open

Outlines v1 documentation #1528

cpfiffer opened this issue Apr 8, 2025 · 1 comment
Labels
documentation Linked to documentation and examples examples Linked to usage examples
Milestone

Comments

@cpfiffer
Copy link
Contributor

cpfiffer commented Apr 8, 2025

Outlines v1 has changed the interface quite a bit, and so it's a good opportunity to re-write the documentation. The documentation we have at the moment works fairly well, but it could be more intentionally designed to guide the user from basics through to more advanced topics.

We should also overhaul the general theme and style. Currently, we use a hacked-together mkdocs theme that doesn't flow well visually. We should standardize on a common theme. At .TXT, we use Hextra and Hugo for our commercial documentation, and

Goals for the new documentation:

  • Organized documentation flow. A common practice for documentation is the following pages:
    • Main page. Quick start, library introduction, links to various resources.
    • Getting started. A detailed guide on installation and use for our various backends.
    • Guides. Comprehensive guides to
      • Pydantic use
      • The regex DSL
      • Available inference backends
      • Using Application and Template
      • JSON schema features supported
      • Raw JSON schema development
      • Debugging + troubleshooting
      • Best practices
      • Performance tips
      • Remote serving with vLLM
      • Migration guide to v1
    • Tutorials and cookbooks. We can basically port over what we have now and change the code.
    • Advanced usage. How to use Outlines core for direct logit modification, building custom logit processors, etc.
  • Move to a new URL, probably something like docs.dottxt.co/outlines/.

I'll start with generally getting the pages and general structure set up. The main page + quick start are not too hard to set up. We can mostly re-purpose what we have with some editing and polish.

This was referenced Apr 8, 2025
@rlouf
Copy link
Member

rlouf commented Apr 12, 2025

I think we should dedicate pages to how to use Outlines to connect to a vLLM server, an Ollama server, a llama.cpp server etc. It should be impossible to miss them when coming to the documentation.

It's a very common pattern, probably more so than using transformers, and we want to position Outlines as the SDK for structured generation.

@rlouf rlouf added this to the 1.0 milestone Apr 23, 2025
@rlouf rlouf added examples Linked to usage examples documentation Linked to documentation and examples labels Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Linked to documentation and examples examples Linked to usage examples
Projects
None yet
Development

No branches or pull requests

2 participants