This project implements an AI-driven platform designed to connect users with agents based on shared interests and expertise. The application aims to foster positive connections and facilitate collaboration among users in a community-focused environment.
-
Project Overview
-
Features
-
Technologies Used
-
Project Structure
-
Installation
-
Usage
-
Testing
-
Contributing
-
License
-
User registration and login system.
-
Agent registration and profile creation.
-
Matching mechanism based on shared interests and expertise.
-
Feedback system for users to rate their interactions with agents.
-
Admin dashboard to manage users and agents.
-
Python (Flask)
-
MongoDB
-
HTML/CSS (Bootstrap for styling)
-
JavaScript (for frontend interactivity)
-
Jinja2 (for templating)
-
Flask-WTF (for forms)
-
Flask-PyMongo (for MongoDB integration)
/AI_Agents_Project
│
├── app.py # Main application file
├── requirements.txt # Dependencies
├── config.py # Configuration settings
├── models # Directory for data models
│ ├── user_model.py # User model
│ └── agent_model.py # Agent model
├── templates # Directory for HTML templates
│ ├── base.html # Base template
│ ├── index.html # Homepage template
│ ├── login.html # Login page template
│ ├── register.html # Registration page template
│ └── dashboard.html # User dashboard template
└── static # Directory for static files (CSS, JS, Images)
├── css
├── js
└── images
-
Clone the repository:
git clone https://github.com/yourusername/AI_Agents_Project.git cd AI_Agents_Project
-
Create a virtual environment:
python -m venv venv source venv/bin/activate # For Linux/Mac venv\Scripts\activate # For Windows
-
Install the required dependencies:
pip install -r requirements.txt
-
Set up your MongoDB database and update the connection URI in
config.py
.
-
Run the application:
python app.py
-
Open your web browser and go to
http://127.0.0.1:5000
to access the application. -
You can register a new user or log in with existing credentials to start using the platform.
To run tests, you need to create a separate test database in MongoDB.
Update your config.py
with the test database URI. Then run:
pytest