SDK for prompt programming with foundation models
Top 68.7% on sourcepulse
Manifest is a Python library designed to simplify prompt programming with foundation models, targeting researchers and developers working with large language models. It provides a unified API for interacting with various models, supports caching for reproducibility and cost savings, and facilitates prompt iteration and experimentation.
How It Works
Manifest abstracts away the complexities of different model APIs by offering a consistent interface for generation, scoring, and embedding tasks. It supports multiple model providers (OpenAI, AI21, Cohere, Together, HuggingFace) and allows seamless switching between them. A key feature is its global caching mechanism, which stores model inputs and outputs using SQLite or Redis, enabling faster iteration, reproducible results, and reduced API costs.
Quick Start & Requirements
pip install manifest-ml
pip install manifest-ml[diffusers]
pip install manifest-ml[api]
Highlighted Details
generate
, score
, and embed
tasks.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The model pooling feature is noted as "very much a work in progress." Support for diffusion models is planned but not yet implemented.
1 year ago
1+ week