Skip to content

Manvith-Shetty/Return-Policy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic Return Policy API

This project provides an API to generate dynamic return policies for different product categories based on customer trustworthiness scores. The API is built using FastAPI and integrates with HuggingFace models using LangChain to provide AI-generated return policies.

Installation

  1. Clone the Repository
git clone https://github.com/Manvith-Shetty/Return-Policy.git
cd Return-Policy
  1. Create a Virtual Environment
python -m venv venv
venv\Scripts\activate # on linux source venv/bin/activate
  1. Install Dependencies
pip install -r requirements.txt
  1. Set up Environment Variables
HF_TOKEN=your_huggingface_api_token

Running the Application

Start the FastAPI Server

fastapi run app.py --port 8000 --reload

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors