Welcome to the Gen AI-based Fashion Recommendation project! This project aims to provide personalized fashion recommendations based on user input. Whether you're preparing for a special event, looking for a casual outfit, or just want to upgrade your wardrobe, this AI-powered assistant is here to help.
In this project, we've developed an AI-based fashion recommendation system that takes user input in natural language. Users can provide details about their preferences, the event they're dressing for, their body type, and more. The AI then processes this information and generates fashion recommendations that include clothing and accessories.
This project is just a part of a larger endeavor, focusing specifically on handling user requests for fashion recommendations.
To set up and run the Gen AI-based Fashion Recommendation project locally, follow these steps:
-
Clone the repository to your local machine:
git clone <repository_url>
-
Navigate to the project directory:
cd <project_directory>
-
Install the project dependencies using npm:
npm install
-
Create a
.env
file in the root directory of the project. -
Obtain a Replicate API token from the Replicate platform.
-
Add the Replicate API token to your
.env
file:REPLICATE_API_TOKEN=<your_replicate_api_token> apiUrl=<your_ml_model_endpoint>
-
Save the
.env
file.
After completing the installation and setup process, you can run the Gen AI-based Fashion Recommendation project locally:
-
Start the server using npm:
npm start
-
Make a POST request to the
/chat
endpoint with the initial user input. You can use tools like Postman orcurl
:curl -X POST -H "Content-Type: application/json" -d '{ "initialInput": "I'm looking for a formal outfit for a wedding. I'm a tall person with an athletic body type." }' http://localhost:3000/chat
-
Receive a JSON response with the AI-generated fashion recommendations based on the user's input.
This project is built using the following technologies and packages:
- Node.js
- Express.js
- Google Translate API
- Replicate
Thank you for exploring the Gen AI-based Fashion Recommendation project!