Skip to content
/ gears Public

Lightweight package for writing control flow with LLM actions.

License

Notifications You must be signed in to change notification settings

dm4ml/gears

Repository files navigation

Welcome to Gears

Gears is a lightweight tool for writing control flow with LLMs with full control over your prompts. It allows you to build complex chains of actions and conditions, and execute them in a single call.

Why Gears?

Gears is so minimal; it is simply a wrapper around an LLM API call that:

But the real selling point is that we are committed to not growing the codebase beyond what is necessary to support the above features. (We are not venture-backed and do not intend to be.)

Installation

Gears is available on PyPI, and can be installed with pip:

pip install gearsllm

Dependencies

Gears has the following dependencies:

  • python>=3.9
  • pydantic
  • jinja2
  • tenacity
  • openai

ToDos

  • Add pre-commit hooks with black & isort

About

Lightweight package for writing control flow with LLM actions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published