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

Uploaded Python 3

File details

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

File metadata

  • Download URL: contextchain-1.4.2.tar.gz
  • Upload date:
  • Size: 3.3 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.2.tar.gz
Algorithm Hash digest
SHA256 50c6934d0ef13eb7765bdc603f48f369ff4d349569c26bda3f2e59cdd9166823
MD5 4abfde9f0bf8932bb478c1481065f392
BLAKE2b-256 ef5e6b81faf3bbcae37ca93e45027ba0f15c2ee54ac7b00e2c1d69814ee2c68d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: contextchain-1.4.2-py3-none-any.whl
  • Upload date:
  • Size: 3.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9f56118f1af66ddef575405fce077702110e03cf890684a4b93fe51f91dc132c
MD5 5b85da269971f66d0cce8bc2aa974210
BLAKE2b-256 22685d5cf7e003aadf267306ba3cb35005d7445f22ee09babeef17056306bdf9

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