Cascades

August 17, 2022 ยท View on GitHub

This is not an officially supported Google product

Python library which enables complex compositions of language models such as scratchpads, chain of thought, tool use, selection-inference, and more.

Implemented as a universal trace-based probabilistic programming library embedded in Python.

Code to complement paper: https://arxiv.org/abs/2207.10342.