Skip to content

TakaSoap/PromptCraft

Repository files navigation

PromptCraft

Welcome to PromptCraft, a tool designed to enhance user's interaction with AI through improved prompt engineering. With PromptCraft, users may effectively boosting their AI literacy.

Demo

Try out the demo at https://promptcraft.takasoap.xyz/.

Introduction

PromptCraft is an open-source, web-based application that aims to assist users in crafting better prompts to get the most out of AI language models like ChatGPT. It offers real-time feedback, improvements to prompts, and comparative analysis of AI responses.

Users should bring their own OpenAI API keys.

Getting Started

To get PromptCraft up and running on your local machine for development and testing purposes, follow these simple steps:

Setup

To setup PromptCraft, clone the repository to your local machine using the following command:

git clone https://github.com/TakaSoap/PromptCraft.git

Navigate to the PromptCraft directory:

cd PromptCraft

Install the required dependencies using npm:

npm i

Alternatively, if you prefer using pnpm, you can install the dependencies using:

pnpm i

Running the Application

To start the application, run the following command:

npm run dev
# or if you are using pnpm
pnpm run dev

The PromptCraft web application should be accessible at http://localhost:3000.

Features

  • User-friendly interface for crafting and submitting prompts
  • Integration with OpenAI API for providing suggestions and enhancements
  • Comparative display of original and improved prompts along with AI-generated responses
  • Overall feedback system for reflection and learning