Skip to main content

A light-weight Python library 🐍 for deploying DAG chains of customizable Large Language Model operations. Leveraging the asyncio framework, LLM-Director allows developers to create, manage, and orchestrate actions and processes in an efficient and scalable manner. With its unique structure and integration with FastAPI, LLM-Director offes a robust solution for building applications, API endpoints, and workflow automation systems.

Project description

LLM-Director

Introduction 📖

A light-weight Python library 🐍 for deploying DAG chains of customizable Large Language Model operations. Leveraging the asyncio framework, LLM-Director allows developers to create, manage, and orchestrate actions and processes in an efficient and scalable manner. With its unique structure and integration with FastAPI, LLM-Director offes a robust solution for building applications, API endpoints, and workflow automation systems.

Quick Install⚡

To get started with LLM-Director, you can install the package using pip:

pip install llm-director

Ensure you have Python 3.7 or higher installed, as LLM-Director relies on the latest features of asyncio and FastAPI.

What You Can Build With LLM-Director 🏗️

With LLM-Director, you can create a variety of applications and systems:

  1. Asynchronous Workflow Systems: Design and execute complex workflows with asynchronous actions, enhancing the efficiency and responsiveness of your applications.

  2. API Endpoints: Easily integrate with FastAPI to expose your workflows as RESTful API endpoints, allowing for seamless interaction with front-end applications or external systems.

  3. Automated Data Processing Pipelines: Implement pipelines for data processing, where each step can be a distinct action, conditionally processed, and managed by the Director.

  4. Event-Driven Architectures: Build systems that react to specific events, trigger actions, and handle a series of responses in an orderly and scalable manner.

Documentation 📚

The LLM-Director library consists of several key components:

  • Director: The central orchestrator that manages actions and listeners.
  • Action: The basic unit of functionality, representing a single task or process.
  • Blocks: Specialized actions such as Split, Condition, Termination, Merge, and Save, each serving a unique purpose in the workflow.
  • FastAPI Integration: Methods to expose actions and workflows as API endpoints.

For detailed documentation, visit LLM-Director Documentation (Coming Soon!).

Contributing 🤝

Please Contribute! I hope to grow this fast, as I think many people will benefit from this framework.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llm_director-0.1.0.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_director-0.1.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file llm_director-0.1.0.tar.gz.

File metadata

  • Download URL: llm_director-0.1.0.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/5.15.0-89-generic

File hashes

Hashes for llm_director-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6b9d45c04e24facb918e83e40288fb133a3eff321ec19eaf49cded5e5bb7b1c7
MD5 516878c00faf9ca6150b4f9f1343fa30
BLAKE2b-256 2971e5a1bc020ad8e01514c426dc39649a8083912a2624e161f8c50fd2839929

See more details on using hashes here.

File details

Details for the file llm_director-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: llm_director-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/5.15.0-89-generic

File hashes

Hashes for llm_director-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65d66c4dbddd66829530aacf3240006ccec3ce662a31bbcb63fb87f3e4506c9b
MD5 a61427b55c3d9581c093b085a02c2403
BLAKE2b-256 a5e5733d13e1e93043af70fccba84e6668e3fcc5a3c80bd49520c12675e12ad3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page