Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prompt Iterator

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

Features

  • 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

Project Structure

  • app/ - Main application package
    • core/ - Core utilities including configuration and logging
    • llm/ - LLM connection and interaction logic
    • models/ - Data models for prompts
    • services/ - Business logic for prompt itaration and monitoring app
    • ui/ - User interface components using Streamlit
  • README.md - Project overview and documentation
  • .gitignore - Git ignore rules
  • .python-version - Python version specification
  • pyproject.toml - Project metadata and dependencies
  • uv.lock - Lock file for dependencies

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd prompt-iterator
  2. Install dependencies using uv:

    uv install
    uv sync
  3. Activate a virtual environment:

    source .venv/bin/activate  # On Windows use `.venv\Scripts\activate`

Usage

Run the Streamlit UI to interact with the prompt iterator application:

streamlit run app/main.py

About

AI Tool to execute pretrained prompts on large Excel files. Tool provides an AI response for each individual record in an Excel column specified by user.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages