Skip to content

rob-9/la

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Argument Analyzer

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

Features

  • Analyze argument strength using LLM
  • Provide detailed feedback on argument structure
  • Identify logical fallacies and weaknesses
  • Suggest improvements to strengthen arguments

Setup

test edit

  1. Clone the repository:
git clone https://github.com/yourusername/argument-analyzer.git
cd argument-analyzer
  1. Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors