Coder Social home page Coder Social logo

chatgpt_selenium's Introduction

ChatGPT Selenium Invoice Extractor

This project utilizes ChatGPT and Selenium to extract invoice information, including the invoice number, date, and name of the person, from a given input. Users can customize the prompt by modifying the config.toml file to suit their needs.

Getting Started

Follow these steps to set up and run the project:

Prerequisites

  1. Python 3.x installed on your system.
  2. Chrome web browser installed.
  3. ChromeDriver installed for Selenium. You can download it from here.
  4. Clone this repository to your local machine.

Installation

  1. Navigate to the project directory:

    cd chatgpt_selenium
  2. Install required packages

    pip install -r requirements.txt

Usage

  1. Place the files you want to process in the source folder.

  2. Customize the ChatGPT prompt in the config.toml file according to your requirements.

  3. Currently it extracts invoice number, date and name of the person, and the each file present in source folder will be placed in destination folder with pdf file name as <name_of_the_person><invoice_number>.

  4. If any customization is required for your own usecase feel free to modify and raise the pr to merge as a feature.

    python main.py

Note:

If you need to add/update any extra details to the prompt please go to the config.toml and modify the prompt under project_settings.

chatgpt_selenium's People

Contributors

lokeish avatar

Watchers

 avatar

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.