{"repo":"oughtinc/ice","free":true,"listed":false,"github":"https://github.com/oughtinc/ice","clone":"git clone https://github.com/oughtinc/ice.git","description":"Interactive Composition Explorer: a debugger for compositional language model programs","language":"Python","stars":568,"topics":["debugging","gpt-3","python","language-model"],"license":"MIT","category":"dev-tools","readme_excerpt":"Interactive Composition Explorer 🧊 ICE is a Python library and trace visualizer for language model programs. Screenshot Execution trace visualized in ICE Features - Run language model recipes in different modes: humans, human+LM, LM - Inspect the execution traces in your browser for debugging - Define and use new language model agents, e.g. chain-of-thought agents - Run recipes quickly by parallelizing language model calls - Reuse component recipes such as question-answering, ranking, and verification ICE is pre-1.0 :warning: The ICE API may change at any point. The ICE interface is being actively developed and we may change the API at any point, including removing functionality, renaming methods, splitting ICE into multiple projects, and other similarly disruptive changes. Use at your own risk. Requirements ICE requires Python 3.9, 3.10, or 3.11. If you don't have a supported version of Python installed, we recommend using pyenv to install a supported Python version and manage multiple Python versions. If you use Windows, you'll need to run ICE inside of WSL. Getting started 1. As part of general good Python practice, consider first creating and activating a virtual environment to avoid installing ICE 'globally'. For example: 1. Install ICE: 1. Run the Hello World recipe in the Primer to see the trace rendered. 1. Optionally, set secrets (like your OpenAI API key) in /.ought-ice/.env . See .env.example for the format. If these are not set, you'll be prompted for them when y","default_branch":null,"files":null,"tree":[],"storefront":"/r/oughtinc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/oughtinc/ice/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}