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.24.tar.gz (56.4 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.24-py3-none-any.whl (61.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: contextchain-1.4.24.tar.gz
  • Upload date:
  • Size: 56.4 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.24.tar.gz
Algorithm Hash digest
SHA256 bf52fd4768592678a0eafb735c40ca2271698918c41006c6f3144782117ba24b
MD5 b071e63df234919e3cd12275a4100df0
BLAKE2b-256 6f03f5a7b611d7fede3f39d1d34c0d2665bfab2dd4ce08bf155bbd8ff26cbc2e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: contextchain-1.4.24-py3-none-any.whl
  • Upload date:
  • Size: 61.5 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.24-py3-none-any.whl
Algorithm Hash digest
SHA256 939c8cd707f41264cf6c05d01711b040ce268927e48d2224e407e1bf8cf4007d
MD5 67deb131ff5015772391625aff81dd9b
BLAKE2b-256 430142d87f2f5c2439a016cbbdc9b02c3eca1da025959b983af5ff63684d9b0b

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