greenintellect / README.md
Tanxshh's picture
Deploy GreenIntellect Backend API with ML models and scraping
02cc7f6
|
Raw
History Blame Contribute Delete
1.13 kB
---
title: GreenIntellect API
emoji: 🌿
colorFrom: green
colorTo: blue
sdk: docker
pinned: false
license: mit
---
# 🌿 GreenIntellect API
AI-powered API for analyzing sustainability reports and detecting greenwashing.
## API Endpoints
| Endpoint | Method | Description |
|----------|--------|-------------|
| `/api/` | GET | API health check |
| `/api/analyze` | POST | Analyze text for greenwashing |
| `/api/upload` | POST | Upload PDF for analysis |
| `/api/requests` | GET | Get analysis requests |
| `/` | GET | API welcome message |
## Usage
```python
import requests
# Analyze text
response = requests.post(
"https://tanxshh-greenintellect.hf.space/api/analyze",
json={"company_name": "Example Corp", "text": "Our sustainable practices..."}
)
print(response.json())
```
## Features
- πŸ“„ PDF/Text Analysis
- πŸ” Greenwashing Detection
- πŸ“Š Sentiment Analysis
- 🌐 Web Scraping (News & Reviews)
- πŸ€– AI-powered Insights
## Technology
- FastAPI + Python 3.11
- FinBERT & Sentence Transformers
- Selenium + Chromium for scraping
- SQLite Database
---
Built with ❀️ for a sustainable future