How do I launch this?
Private research annotation
Sign in to add a private research label or note.
- User
How do I launch this?
Assistant
Based on the repository information, I can help you launch the ai-contract-analyzer (Kontra) application. Here are the step-by-step instructions:
-
First, ensure you have the required system dependencies installed:
bash# For macOS brew install ghostscript graphicsmagick # For Ubuntu/Debian sudo apt-get update sudo apt-get install -y ghostscript graphicsmagick -
Make sure you have Node.js (version 18 or higher) and npm installed
-
Clone the repository:
bashgit clone https://github.com/Tammilore/ai-contract-analyzer.git cd ai-contract-analyzer -
Install project dependencies:
bashnpm install -
Set up your environment variables by creating a
.env.localfile in the root directory with:envOPENAI_API_KEY=your_openai_api_key SUPABASE_URL=your_supabase_url SUPABASE_KEY=your_supabase_secret_key -
Create a Supabase account and set up a bucket named
pdfAttachmentsfor file storage -
Start the development server:
bashnpm run dev
The application will be available at http://localhost:3000
Note that you'll need valid API keys for OpenAI and Supabase for the application to function properly.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.