Skip to content

A product recommendation system that uses Chat GPT API to provide personalized product recommendations

Notifications You must be signed in to change notification settings

Ranieeery/openai-ecommerce-api-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-commerce Product Recommendation System

A Java-based product recommendation system that uses OpenAI's GPT API to provide personalized product recommendations and sentiment analysis for customer reviews.

Features

  • Product recommendations based on user input
  • Multi-profile recommendations
  • Sentiment analysis for product reviews
  • Token usage tracking and cost calculation
  • CSV file processing support

Technologies

Project Structure

src/
├── main/
│   ├── java/
│   │   └── dev/raniery/ecommerce/
│   │       ├── details/                # System configurations
│   │       ├── functions/              # Core functionality
│   │       └── IntegrationTest         # OpenAI API integration
│   └── resources/
│       ├── clients10.csv               # Sample client data
│       ├── clients100.csv              # Extended client data
│       └── reviews/                    # Product review files
└── test/
    └── java/                           # Test classes (not yet)

Setup

  1. Clone the repository
  2. Copy .envexample to .env and add your OpenAI API key:
OPENAI_API_KEY=your_api_key_here
  1. Build the project:
mvn clean install

Dependencies

About

A product recommendation system that uses Chat GPT API to provide personalized product recommendations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages