Create synthetic datasets based on your documents
Project description
AfterImage
AfterImage is a flexible Python framework for generating synthetic conversational datasets using State-of-the-Art Large Language Models (LLMs), primarily Google Gemini and OpenAI-compatible APIs.
It is designed to be highly customizable, enabling tailored instruction generation, persona-based simulation, diverse document ingestion, and context-aware conversation generation.
🚀 Getting Started
To get started with AfterImage, please refer to the Quickstart Guide. It covers:
- Installation: How to set up the library.
- Basic Usage: Generating simple conversations.
- RAG & Context: Using documents to drive questions.
- Personas: Creating varied user personas for realistic datasets.
📖 Documentation
- Quickstart Guide: The best place to start.
- Design & Architecture: Understanding the core concepts and codebase structure.
- Examples: Examples of how to use AfterImage.
📦 Installation
pip install git+https://github.com/altaidevorg/afterimage.git
Optional extras (see pyproject.toml):
embeddings-local—sentence-transformersforProcessEmbeddingProvider,QdrantRetriever(by model name), andQualityCheckersemantic checks.server— FastAPI app (afterimage-server).training— Torch/TRL stack forexamples/demo_ui/training_scripts/train.py.
pip install "afterimage[embeddings-local]@git+https://github.com/altaidevorg/afterimage.git"
✨ Key Features
- Async-First: High-performance parallel generation.
- Persona Simulation: Realistic user diversity.
- Context-Aware: Grounds conversations in your documents (RAG).
- Multi-Modal: Support for text and potentially other modalities in future.
- Monitoring: Real-time generation metrics and alerts.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file afterimage-0.13.0.tar.gz.
File metadata
- Download URL: afterimage-0.13.0.tar.gz
- Upload date:
- Size: 96.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
befbd6900dad97826049c491f1ce56a2e39af2d83ca16201e95c428ba3bd6642
|
|
| MD5 |
fb9bc03423524fbf0e0e7e9a9773c21a
|
|
| BLAKE2b-256 |
a27d00d70784abff0fa7de4d2dbf0fd63bedd3c8d8413b046cc7ab6644757ea0
|
File details
Details for the file afterimage-0.13.0-py3-none-any.whl.
File metadata
- Download URL: afterimage-0.13.0-py3-none-any.whl
- Upload date:
- Size: 99.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbfb533672d6feb1092383cfd7f5a59ee733c4ce5a7e54cd23cf147abbbf5d9d
|
|
| MD5 |
37c8dd5f319a18cd2cd7cb727c47b1e2
|
|
| BLAKE2b-256 |
26877780437d98bcd7ca829a56c86e3d12a64a78eff707ab0af570808466b0ee
|