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.41.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.41-py3-none-any.whl (62.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: contextchain-1.4.41.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.41.tar.gz
Algorithm Hash digest
SHA256 39d9021dca00dde5cd458d3a63fa5dc7c07b48853e1f66d983fb7d1968d5b405
MD5 01d9fff79b2d409ab0b311f4159940e7
BLAKE2b-256 d4594f5189a2d7486656fa00e2026c6c5a8f11d2ca7618d1a753dea094794a02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: contextchain-1.4.41-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.41-py3-none-any.whl
Algorithm Hash digest
SHA256 44fd261269150f82ac53ca17a1ec502a02e7ce1d4b7b7326d429d6b70663602b
MD5 86cda57cbcd3d891cafc889bece7c72e
BLAKE2b-256 fe291dfa8fd9d558623a833b73393903af49b16e778e5ce8d436fd3ca41628c8

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