Skip to main content

ContextChain v2.0: A pipeline execution framework for adaptive context optimization in LLMs with MongoDB integration

Project description

ContextChain

GitHub License Python Version PyPI Version Build Status

ContextChain is an open-source, pipeline-based execution framework designed to orchestrate AI and full-stack workflows. It enables developers to define, manage, and execute complex task chains with support for various task types (e.g., API calls, local processing, LLM tasks) in a structured and versioned manner. Built with Python, it leverages MongoDB for persistence and provides a command-line interface (CLI) for easy interaction.

Features

  • Pipeline Management: Define and execute workflows as pipelines with multiple tasks.
  • Task Types: Supports GET, POST, PUT, LLM, and LOCAL task types with configurable inputs and outputs.
  • Versioning: Track and rollback schema versions using MongoDB.
  • Extensibility: Easily extend with custom task endpoints and configurations.
  • CLI Interface: Manage pipelines interactively or via scripts.
  • Validation: Ensures schema integrity with built-in validators.

Installation

Via PyPI

ContextChain is available on PyPI. Install it with pip:

pip install contextchain

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

contextchain-1.4.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

contextchain-1.4.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file contextchain-1.4.0.tar.gz.

File metadata

  • Download URL: contextchain-1.4.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for contextchain-1.4.0.tar.gz
Algorithm Hash digest
SHA256 4f6f419798814e6a7eb01aab3ab2753a1115c58bd37ff82625aee6d56709507c
MD5 f03d0818fcd5895b7329ee45fe64d598
BLAKE2b-256 4e3c29d57290d54c68a1e410eccfc7b2115daf29f6b19ab0a0d6d43283317868

See more details on using hashes here.

File details

Details for the file contextchain-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: contextchain-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for contextchain-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df1dbfa005e938602ce27027b5238c36b1e6f54a4c70ef89a44f8af708486856
MD5 fc12ae915f75c676128151b0e8f2439e
BLAKE2b-256 3f0017ee39c1ead6df9a90f8f26ecc98571971ea1186078176a17235b366fae5

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