Skip to content

xrisdevs/transactions-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

transactions-classifier

API for classifying transactions by type using OpenAI Text Completion API

Endpoints

  • /classify_transactions/ - takes in a CSV file (use the one provided in /data as an example) and returns a JSON with transactions grouped by their type

Transaction Types:

Groceries, Shopping, Building Improvement, Work, Utility Bills, Professional Services, Software/IT and Other

How to run:

  • Install all depedencies with poetry install

  • insert your OpenAI API Key in local.env

  • (optional) set limit to how many transactions get processed in local.env

  • run with python src/routes.py

  • access Swagger at http://localhost:8000/docs

About

FastAPI app for classifying Bank transactions using OpenAI API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages