argument-analyzer

Argument Analyzer

A tool that uses the Gemini API to analyze the strength of arguments and provide feedback.

Features

Setup

test edit

  1. Clone the repository:
    git clone https://github.com/yourusername/argument-analyzer.git
    cd argument-analyzer
    
  2. Create and activate a virtual environment:
    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    
  3. Install dependencies:
    pip install -r requirements.txt
    
  4. Create a .env file in the root directory with your Gemini API key:
    GEMINI_API_KEY=your_api_key_here
    

Usage

from src.main import analyze_argument

result = analyze_argument("Your argument here")
print(result)

Development

Run tests:

pytest

License

MIT License