Giter VIP home page Giter VIP logo

clothing_brand_db_chatbot's Introduction

clothing_brand_db_chatbot

Installation

  1. Clone this repository to your local machine using:
  git clone https://github.com/darshil929/clothing_brand_db_chatbot.git
  1. Navigate to the project directory:
  cd clothing_brand_db_chatbot
  1. Install the required dependencies using pip:
  pip install -r requirements.txt
  1. Acquire an api key through makersuite.google.com and put it in info.py file
  GOOGLE_API_KEY="your_api_key_here"
  1. For database setup, run database/db_creation_atliq_t_shirts.sql in your MySQL workbench

Usage

  1. Run the Streamlit app by executing:
streamlit run main.py
  1. The web app will open in your browser where you can ask questions

Sample Questions

  • How many total t shirts are left in total in stock?
  • How many t-shirts do we have left for Nike in XS size and white color?
  • How much is the total price of the inventory for all S-size t-shirts?
  • How much sales amount will be generated if we sell all small size adidas shirts today after discounts?

Project Structure

  • main.py: The main Streamlit application script.
  • llm.py: This has all the langchain code
  • requirements.txt: A list of required Python packages for the project.
  • few_shots.py: Contains few shot prompts
  • info.py: Configuration file for storing your Google API key and Database info.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.