Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

llm-director

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

llm-director

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.

  • 0.1.0
  • PyPI
  • Socket score

Maintainers
1

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc