Skip to main content

ContextChain v2.0: Adaptive context optimization framework for LLMs with MongoDB, vector DB, and multi-backend LLM 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.4.tar.gz (3.8 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.4-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for contextchain-1.4.4.tar.gz
Algorithm Hash digest
SHA256 c231de6797d8f48be6daa851e9cbaf1d8416cd935138996d6fd1841d70fdd475
MD5 d49d6123046c92b95ba91a41c1949ad8
BLAKE2b-256 fd110aa68e587b1eb65bcd1ac7f4851d26e66220c1eae63ea99ed32d0d1d6a90

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for contextchain-1.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 49880c20a2300e0eecbe5c3c3f7efa9112b18f459058ea98fb659e20e4ba4969
MD5 aee8f7695bcc770eac37612e1ef9f3d2
BLAKE2b-256 8c43fcb5317bc3f47d2206d4c21166ed9214f4bb9ce056fdd6ed50f3cc22bf23

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