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
To launch the ai-contract-analyzer, follow these steps:
- Clone the repository:
bash
git clone https://github.com/Tammilore/ai-contract-analyzer.git cd ai-contract-analyzer - Install dependencies:
bash
npm install - Set up environment variables:
-
Create a
.env.localfile in the root directory. -
Add the following variables to the
.env.localfile, replacing the placeholders with your actual keys and URL:envOPENAI_API_KEY=your_openai_api_key SUPABASE_URL=your_supabase_url SUPABASE_KEY=your_supabase_secret_key -
Make sure you have created a bucket named
pdfAttachmentsin your Supabase account to store uploaded files.
-
- Start the development server:
The application will then be available atbash
npm run devhttp://localhost:3000.
Before launching, ensure you have the required system dependencies installed:
- Ghostscript
- [Redacted Person]
You can install these using:
macOS:
bashbrew install ghostscript graphicsmagickDebian/Ubuntu:
bashsudo apt-get update sudo apt-get install -y ghostscript graphicsmagickAlso, make sure you have Node.js (18 or higher) and npm installed.
- Clone the repository:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.