Prompt Iterator is a Python-based project designed to facilitate the creation, management, and execution of prompts using large language models (LLMs). The project provides a modular architecture with core configuration, logging, LLM connection handling, prompt models, and services for prompt shooting and application monitoring. It also includes a user interface built with Streamlit for interactive usage. Tool uses AzureOpenai models
- Modular design with clear separation of concerns
- Configuration management and logging setup
- LLM connection handling for prompt execution
- Prompt models for structured prompt management
- Services for prompt shooting and application monitoring
- Streamlit-based UI for easy interaction
app/- Main application packagecore/- Core utilities including configuration and loggingllm/- LLM connection and interaction logicmodels/- Data models for promptsservices/- Business logic for prompt itaration and monitoring appui/- User interface components using Streamlit
README.md- Project overview and documentation.gitignore- Git ignore rules.python-version- Python version specificationpyproject.toml- Project metadata and dependenciesuv.lock- Lock file for dependencies
-
Clone the repository:
git clone <repository-url> cd prompt-iterator
-
Install dependencies using uv:
uv install uv sync
-
Activate a virtual environment:
source .venv/bin/activate # On Windows use `.venv\Scripts\activate`
Run the Streamlit UI to interact with the prompt iterator application:
streamlit run app/main.py