File size: 1,218 Bytes
c818f4a
 
 
 
 
 
284f619
c818f4a
 
 
 
b9756ef
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
title: Tenant Rights Bot
emoji: 🏠
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.23.0
app_file: app.py
pinned: false
---

# Tenant Rights Bot

A Gradio app to answer questions about landlord-tenant laws across U.S. states, grounded in legal statutes.

## How to Use
1. Enter your OpenAI API key (get one from [OpenAI](https://platform.openai.com/api-keys)).
2. Select a U.S. state from the dropdown.
3. Ask your question about landlord-tenant laws (e.g., "What are the eviction rules in California?").
4. View the response, which will include citations to relevant statutes.

## Features
- Answers are grounded in state-specific legal statutes.
- Supports all U.S. states with data from a comprehensive landlord-tenant law document.
- Provides practical examples to help users understand the laws.

## Requirements
- An OpenAI API key is required to use the app.
- The app uses the `gpt-3.5-turbo` model for generating answers.

## License
This project is licensed under the [OpenRAIL License](https://huggingface.co/spaces/license/OpenRAIL).

## Note
This app is for informational purposes only and is not a substitute for legal advice. Always consult a legal professional for specific legal issues.