gpt feeder
1.0.0
当今的GPT模型具有很高的令牌功能,可以使用诸如创建较长形式的内容,扩展对话以及文档搜索和分析之类的用例。
GPT Feeder是一个命令行应用程序,可扫描整个代码库,并生成一个由您要包含的所有文件名和文件内容组成的字符串。然后可以将此字符串馈入CHATGPT,并且该模型可以根据您的代码库的上下文生成代码。
确保您安装了cargo 。然后,运行以下命令:
# Install the application
cargo install gpt-feeder确保您安装了gpt-feeder 。就像使用.gitignore一样,将所有忽略的文件和目录模式添加到.feedignore 。然后,运行以下命令:
# Navigate to the directory you want to scan
cd < directory >
# Run the application with the file extensions you want included
gpt-feeder --include * .rs * .md
# If you want to output the result to a file, use the `--out` flag
gpt-feeder --include * .rs * .md --out output.txt
# Print help
gpt-feeder --help ✂️请注意, gpt-feeder会自动将内容复制到剪贴板。
现在,您可以将此字符串粘贴到chatgpt中,并基于代码库的上下文生成代码。
GPT馈线依靠您的外壳来扩展球形图案。这样做是为了让您的外壳提供有关模式的自动完整建议,此外还可以使程序更容易处理任意数量的球模式,同时仍然对用户友好。
