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饋線依靠您的外殼來擴展球形圖案。這樣做是為了讓您的外殼提供有關模式的自動完整建議,此外還可以使程序更容易處理任意數量的球模式,同時仍然對用戶友好。
