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.42.tar.gz (57.7 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.42-py3-none-any.whl (62.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: contextchain-1.4.42.tar.gz
  • Upload date:
  • Size: 57.7 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.42.tar.gz
Algorithm Hash digest
SHA256 995f732bab99c185c30b9d234d10709315f3610b0909288c080a9a407fbd82d5
MD5 809c9ffeefdda87ed602901b705b1c55
BLAKE2b-256 5999e597d0fd9380d661590f9d7379efbdc243ca9147c2f95df3ea42f0f10c5d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: contextchain-1.4.42-py3-none-any.whl
  • Upload date:
  • Size: 62.6 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.42-py3-none-any.whl
Algorithm Hash digest
SHA256 85920925f619cf028cfb2d4be798d239044ff6bc5d84d034675c882dab8d1952
MD5 4e4511ec7aeeee78dfa4328df275726e
BLAKE2b-256 09130c9631a871cdfe5f858cc2fd7d6cad92740b72c2b52e16ac928dfd87c819

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