Skip to content

collect-intel/plural-prompt

Repository files navigation

PluralPrompt

PluralPrompt is an application that allows you to send prompts to multiple AI models simultaneously and compare their responses. It provides a streamlined interface for working with various AI models through the OpenRouter API.

Features

  • Send prompts to multiple AI models at once
  • Compare responses side-by-side
  • View summaries of collective model responses
  • Save and review recent prompt history
  • Customizable model selection

Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn
  • An OpenRouter API key (get one at openrouter.ai)

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/plural-prompt.git
    cd plural-prompt
  2. Install dependencies:

    npm install
    # or
    yarn
  3. Set up environment variables:

    cp .env.local.example .env.local

    Then edit .env.local to add your OpenRouter API key.

  4. Run the development server:

    npm run dev
    # or
    yarn dev
  5. Open http://localhost:3772 in your browser.

Usage

  1. Enter your prompt in the text area
  2. Select the models you'd like to use (you can add multiple)
  3. Click "Send to Models" to submit your prompt
  4. View individual model responses and the summary
  5. Previous prompts are saved in the sidebar for easy reference

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Built with Next.js and React
  • Uses OpenRouter API for model access

About

Pluralistically prompt multiple LLMs simultaneously

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors