Picachain is a framework for building complex non language pipelines for your LLM application. Build pipelines for your images, charts and graphs, parse, extract and generate using opensource models with ease, thanks to support for huggingface and diffusion libraries.
- Image Search Engines: Build quick search engines for your images using ChromaDB and Pinecone for vector storage and retrieval.
- Image Generation: Generate images with ease, thanks to support of Stable Diffusion, SDXL and SDXLturbo.
- Chart Parsing: Parse chart/graph from images and extract meaningful data and build a question-answering system on top of this using an LLM.
pip install picachain
Use ChromaDB or Pinecone for storage with CLIP embeddings. Check out a demo
Fig: Image Search Engine Overview
Create a conversation chain and ask questions from chart/graph images.
Fig: Conversation chain for Q&A with charts/graphs
Check out the example notebook under examples directory.
As an open-source project, we are open to all kinds of contribution, be it through code, documentation, issues, bugs, or even feature suggestions.
Feel free to check out Contribution guide for more details.
We use poetry as the package manager. Make sure to refer to pyproject.toml
for more details on dependencies.
cd picachain
pip install poetry
poetry install