aaronn/gptfile
关于
A proof-of-concept illustration to show how LLM's could manage and organize files.
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文gptfile
About
A proof-of-concept infinite file-processing script using GPT-4. This illustrates GPT-4's ability to manipulate your file system in one directory, but consider a future operating system that has no "directory / file" prescription. Files are just sorted and presented in whatever form you need them, whether that's based on relevance to your task, the contents, or so-on.
Pull requests welcome.
Flow
This works by.
- Taking user input.
- Using a programming agent to generate code.
- Using an assistant agent that generates JSON to explain the code and process user input.
- Executing the code once the user confirms.

Usage
poetry install&poetry shell- Set your
OPENAI_API_KEY. - It will run in your current working directory. Eg:
cd testfiles&python ../gptfile.py
Improvements
Future improvements could validate the code with an agent, allow further chained manipulation, or allow the system to spin up a virtualenv with required packages for things like computer vision, before processing the files and destroying the virtual environment.
Some additional considerations:
- The completions occasionally do not work consistently. This could be improved with a validating agent.
- The completions are very slow.
- Input would ideally be looped, to allow iteration instead of only confirm / decline.
Disclaimer
You assume all liability for running this, it might destroy your computer.
Author
Aaron Ng (@localghost)
探索相关项目
加载中…