metadata
license: apache-2.0
Capybara Dating App
Capybara Dating App is an interactive personality quiz that uses AI to generate questions and classify users' dating personalities. It's built with Python (Flask) for the backend and HTML/JavaScript for the frontend.
Features
- AI-generated questions tailored to previous responses
- Personality classification based on user answers
- Saves personality summaries to text files
- Interactive web interface
Requirements
- Python 3.8+
- Flask
- Flask-CORS
- LangChain
- OpenAI API key
Installation
Clone this repository:
git clone https://github.com/yourusername/capybara-dating-app.git cd capybara-dating-app
Install the required packages:
pip install -r requirements.txt
Set your OpenAI API key as an environment variable:
export OPENAI_API_KEY='your-api-key-here'
Usage
Start the Flask server:
python capx/capybara_dating_app_api.py
Open
capx/capybara_dating_app.html
in your web browser.Answer the questions presented by the app.
After answering 5 questions, you'll receive your personality classification.
A summary of your responses and personality classification will be saved as a text file in the project directory.
File Structure
capybara_dating_app_api.py
: Flask backendcapybara_dating_app.html
: Frontend HTML/JavaScriptrequirements.txt
: List of Python dependenciesREADME.md
: This file