guidance logo


A guidance language for controlling large language models
+ 1

What is guidance?

It is a programming paradigm that offers superior control and efficiency compared to conventional prompting and chaining. It allows users to constrain generation (e.g. with regex and CFGs) as well as to interleave control (conditional, loops) and generation seamlessly.
guidance is a tool in the Large Language Model Tools category of a tech stack.
guidance is an open source tool with 17.9K GitHub stars and 995 GitHub forks. Here’s a link to guidance's open source repository on GitHub

guidance Integrations

Python, Jupyter, OpenAI, Transformers, and LLaMA are some of the popular tools that integrate with guidance. Here's a list of all 5 tools that integrate with guidance.

guidance's Features

  • Pure, beautiful python with additional LM functionality
  • Rich templates with f-strings
  • Constrained generation with selects, regular expressions, and context-free grammars
  • Stateful control + generation makes it easy to interleave prompting / logic / generation

guidance Alternatives & Comparisons

What are some alternatives to guidance?
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.
See all alternatives
Related Comparisons
No related comparisons found

guidance's Followers
1 developers follow guidance to keep up with related blogs and decisions.