[Tut] Auto-GPT: Command Line Arguments and Usage - Printable Version +- Sick Gaming (https://www.sickgaming.net) +-- Forum: Programming (https://www.sickgaming.net/forum-76.html) +--- Forum: Python (https://www.sickgaming.net/forum-83.html) +--- Thread: [Tut] Auto-GPT: Command Line Arguments and Usage (/thread-101166.html) |
[Tut] Auto-GPT: Command Line Arguments and Usage - xSicKxBot - 05-23-2023 Auto-GPT: Command Line Arguments and Usage <div> <div class="kk-star-ratings kksr-auto kksr-align-left kksr-valign-top" data-payload='{"align":"left","id":"1383166","slug":"default","valign":"top","ignore":"","reference":"auto","class":"","count":"1","legendonly":"","readonly":"","score":"4","starsonly":"","best":"5","gap":"5","greet":"Rate this post","legend":"4\/5 - (1 vote)","size":"24","title":"Auto-GPT: Command Line Arguments and Usage","width":"113.5","_legend":"{score}\/{best} - ({count} {votes})","font_factor":"1.25"}'> <div class="kksr-stars"> <div class="kksr-stars-inactive"> <div class="kksr-star" data-star="1" style="padding-right: 5px"> <div class="kksr-icon" style="width: 24px; height: 24px;"></div> </p></div> <div class="kksr-star" data-star="2" style="padding-right: 5px"> <div class="kksr-icon" style="width: 24px; height: 24px;"></div> </p></div> <div class="kksr-star" data-star="3" style="padding-right: 5px"> <div class="kksr-icon" style="width: 24px; height: 24px;"></div> </p></div> <div class="kksr-star" data-star="4" style="padding-right: 5px"> <div class="kksr-icon" style="width: 24px; height: 24px;"></div> </p></div> <div class="kksr-star" data-star="5" style="padding-right: 5px"> <div class="kksr-icon" style="width: 24px; height: 24px;"></div> </p></div> </p></div> <div class="kksr-stars-active" style="width: 113.5px;"> <div class="kksr-star" style="padding-right: 5px"> <div class="kksr-icon" style="width: 24px; height: 24px;"></div> </p></div> <div class="kksr-star" style="padding-right: 5px"> <div class="kksr-icon" style="width: 24px; height: 24px;"></div> </p></div> <div class="kksr-star" style="padding-right: 5px"> <div class="kksr-icon" style="width: 24px; height: 24px;"></div> </p></div> <div class="kksr-star" style="padding-right: 5px"> <div class="kksr-icon" style="width: 24px; height: 24px;"></div> </p></div> <div class="kksr-star" style="padding-right: 5px"> <div class="kksr-icon" style="width: 24px; height: 24px;"></div> </p></div> </p></div> </div> <div class="kksr-legend" style="font-size: 19.2px;"> 4/5 – (1 vote) </div> </p></div> <p>This quick guide assumes you have already set up Auto-GPT. If you haven’t, follow our <a href="https://blog.finxter.com/installing-auto-gpt-any-other-way-is-dangerous/" data-type="post" data-id="1381013" target="_blank" rel="noreferrer noopener">in-depth guide on the Finxter blog</a>. </p> <p>Use <code>./run.sh --help</code> (Linux/macOS) or <code>.\run.bat --help</code> (Windows) to list command line arguments. For Docker, substitute <code>docker-compose run --rm auto-gpt</code> in examples. </p> <p>Common Auto-GPT arguments include: <code>--ai-settings <filename></code>, <code>--prompt-settings <filename></code>, and <code>--use-memory <memory-backend></code>. Short forms such as <code>-m</code> for <code>--use-memory</code> exist. Substitute any angled brackets (<code><></code>) with your desired values.</p> <p>Enable Text-to-Speech using <code>./run.sh --speak</code>.</p> <p><img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f480.png" alt="?" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Use continuous mode (potentially hazardous, may run indefinitely) with <code>./run.sh --continuous</code>. Exit with <code>Ctrl+C</code>.</p> <p><img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f6a7.png" alt="?" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Use Self-Feedback mode (increases token usage, costs) by entering <code>S</code> in the input field.</p> <p>Run GPT-3.5 only mode with <code>./run.sh --gpt3only</code> or set <code>SMART_LLM_MODEL</code> in <code>.env</code> to <code>gpt-3.5-turbo</code>. For GPT-4 only, use <code>./run.sh --gpt4only</code> (raises API costs).</p> <p>Find logs in <code>./output/logs</code>, debug with <code>./run.sh --debug</code>.</p> <p>Disable commands by setting <code>DISABLED_COMMAND_CATEGORIES</code> in <code>.env</code>. For instance, to disable coding features, use:</p> <p><code>DISABLED_COMMAND_CATEGORIES=autogpt.commands.analyze_code,autogpt.commands.execute_code,autogpt.commands.gi</code>.</p> <hr class="wp-block-separator has-alpha-channel-opacity"/> <p>Okay, this was dry, here’s a more fun article: <img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f447.png" alt="?" class="wp-smiley" style="height: 1em; max-height: 1em;" /> </p> <p class="has-base-2-background-color has-background"><img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f4a1.png" alt="?" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended</strong>: <a href="https://blog.finxter.com/30-creative-autogpt-use-cases-to-make-money-online/" data-type="URL" data-id="https://blog.finxter.com/30-creative-autogpt-use-cases-to-make-money-online/" target="_blank" rel="noreferrer noopener">30 Creative AutoGPT Use Cases to Make Money Online</a></p> </div> https://www.sickgaming.net/blog/2023/05/22/auto-gpt-command-line-arguments-and-usage/ |