Skip to content

Terzer-bit/FileSorter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

FileSorter

Table of Contents


  1. Project Overview
  2. Getting Started
  3. Contact

Project Overview


This project consists of a tool able to organize your files based on context similarity, grouping them in folders with the context as name.

Note: This project currently sorts only PDFs

Technologies Used

  • Ollama 0.5.5
  • Python 3.12.2

Getting Started


Prerequisites

To be able to run the project, make sure to have the following tools installed:

  • Ollama:
    Go to https://ollama.com/download and select your platform Note: This project is currently only available for Windows
  • AI model of preference (gemma2:2b by default):
    By default, it will automatically pull the model on the first run. Otherwise execute ollama run gemma2:2b or any other AI model for the first time to pull from the repository the corresponding model.

Installation

  1. Clone the repository:
    git clone https://github.com/Terzer-bit/FileSorter.git
    
  2. Change directory to the project folder:
    cd FileSorter for PowerShell
    chdir FileSorter for cmd
  3. Install the requirements:
    pip install -r requirements.txt
    
  4. Execute the script file:
    pyhton ./FileSorter.py
    

Parameters

Parameters are displayed at the beginning of the code

  • modelToUse: The model's name in Ollama (gemma2:2b by default).
  • enableManualPath: Bool that allows switching between asking the user what path wants to insert and automatically sorting the file specified in folderPath (False by default, folder needs to be changed within the code).
  • folderPath: The file to sort when enableManualPath is set to False (default).

Contact


For any details contact the owner of the project on:

About

Sort your documents based on context with AI

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages