Giter Club home page Giter Club logo

fia_doc_webhook's Introduction

FIA Document Send and Summarize

  • A program that will retrieve the latest FIA document file, summarize it using AI, then sends it to a Discord channel using webhook.
  • Note: This program will only summarize and send documents that are considered "Summons", "Decision", "Infringement".

Requirements

Run the Program

Docker (Recommended)

  • Run using docker once to allow for config file creation
    • docker run -v /path/on/local:/app/config -p 8080:8080 ghcr.io/sfn-git/fia_doc_webhook:latest
  • Navigate to the web ui at port 8080

Manual

  • Install python dependencies requirements.txt
    • pip install -r requirements.txt
  • Run main.py once
    • python main.py
  • Navigate to the web ui at port 8080

Configs

Edit configs on the configs page of the webui

  • DISCORD_WEBHOOK_URL
    • An array of webhook URLs to allow for the program to send to multiple channels.
  • OLLAMA_URL (optional)
    • If not skipping summary, the link to your ollama instance
  • OLLAMA_MODEL (optional)
    • Model you will use to summarize the pdf content

Custom Scheduler Coming Soon...

  • Built in scheduler allows you to customize how often you would like to check the FIA documents website for a new document to process.
    • Use cron syntax to set the timing for a specific job.
    • To disable a job, simply make the cron string invalid (Example: -* * * * *)

fia_doc_webhook's People

Contributors

sfn-git 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.