Skip to content

.NET 8 Hack project submission, using AI. Use this app to chat with AI to organize files interactively. Adjust until satisfied, then select a destination for the newly structured files to be copied to.

Notifications You must be signed in to change notification settings

heathbm/Dynamic-Directory-Organizer-GPT

Repository files navigation

Dynamic Directory Organizer Gpt

.NET 8 Hack project submission

https://devblogs.microsoft.com/dotnet/join-us-for-the-great-dotnet-8-hack/
https://github.com/microsoft/hack-together-dotnet

Description

Use this app to chat with AI to organize files interactively.
Adjust until satisfied, then select a destination for the newly structured files to be copied to.

Why did I pick this project idea?

Like all developers, I find AI/GPT fascinating. However, I often consider these supplemental tools. They can provide code snippets, summarize research, generate images, and more. The results need to be inspected and the actions performed by the user. This was an attempt at harnessing the dynamic responses from AI/GPT and converting them into structured usable instructions that could be parsed by code. Allowing this tool to perform the tasks that AI/GPT is suggesting without the need for a user to perform the action manually.

Demo

This repo comes with a folder with a few example files that can be used to easily demo the app: ExampleFiles

Here are 3 videos showing some scenarios with these files:

Thanks to AI/GPT, there are seemingly endless scenarios!

Getting Started

1. Clone

Clone the repository:

git clone https://github.com/aaronpowell/ConsoleGPT.git

2. Configure

Open in Visual Studio, VS Code, or your favorite editor.

Configure appsettings.json.

{
  "settings": {
    "model": "chat",
    "endpoint": "https://<your resource>.openai.azure.com/",
    "key": "<your key>",
    "type": "azure"
  }
}

3. Running the Demo

If running in Windows, please consider running from:

If you run this project from CMD, you will not be able to render the unicode graphics.

When you are in the console, in the directory of DynamicDirectoryOrganizerGpt.csproj. Please run:

dotnet run

4. The Demo

Once the app is running follow the prompts:

Provide a directory with the files you wish to reorganize

DynamicDirectoryOrganizerGpt.csproj

Provide a directory where you would like the reorganized files to end up

DynamicDirectoryOrganizerGpt.csproj

Provide context as to how you want the files to be organized. Refine. Then copy them over!

DynamicDirectoryOrganizerGpt.csproj

Notes

  • This app is non-destructive, the only system operation used is copy.
  • LLMs often produce different results when given the same input. If you try something and it appears to fail in an unusual way, please try again.

About

.NET 8 Hack project submission, using AI. Use this app to chat with AI to organize files interactively. Adjust until satisfied, then select a destination for the newly structured files to be copied to.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages