.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
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.
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.
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:
- Organize by file extension: https://youtu.be/AOwbVkdv4Gk
- Organize music by category: https://youtu.be/MJI3s0pfmxE
- Automatic determination of useful files: https://youtu.be/mxw1ybvMUDA
Thanks to AI/GPT, there are seemingly endless scenarios!
Clone the repository:
git clone https://github.com/aaronpowell/ConsoleGPT.git
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"
}
}
If running in Windows, please consider running from:
- Windows Terminal (preferred)
- PowerShell
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
Once the app is running follow the prompts:
- 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.