PC で Auto GPT を設定して使用する方法
![PC で Auto GPT を設定して使用する方法](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-640x375.webp)
AI テクノロジーの世界は、過去 2 か月で大幅な台頭を見せており、多くの企業がこの最新トレンドに乗じようと躍起になっています。本格的な言語モデルから、ワークフローを支援するコンテキスト アシスタントまで、さまざまなAI アシスタントが多数あります。したがって、1 回のクリックですべてを実行できる AI が出現するのは時間の問題でした。Auto GPT はまさにそれです。
人気のある GPT LLM に基づいた Auto GPT は、GPT 4 ベースの AI であり、さまざまな LLM の考えを連鎖させて、設定した目標を達成します。したがって、すべてを一度に実行できる AI を探している場合は、Auto GPT を試してみてください。Windows PC でセットアップして使用する方法は次のとおりです。
Auto GPT の設定方法と使用方法
Auto GPT は、GitHub リポジトリのクローンを作成することで PC にセットアップできます。そのためには、PC に Python と Git をダウンロードしてインストールする必要があります。以下の手順に従って、PC で Auto GPT をセットアップして使用してください。
ステップ 1: Python をダウンロードしてインストールする
まず、https://www.python.org/downloads/ から最新バージョンの Python をダウンロードします。リンクにアクセスしたら、[Python (バージョン番号) をダウンロード] をクリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-1.webp)
セットアップがダウンロードされたら、ダブルクリックして PC で起動します。下部にあるAdd python.exe to PATHのボックスをクリックしてチェックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-2.webp)
完了したら、[今すぐインストール]をクリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-3.webp)
注:古いバージョンの Python が既に PC にインストールされている場合は、このガイドを使用して最新バージョンをインストールする前にそれを削除することをお勧めします。
Python が PC にインストールされます。正しくインストールされているかテストしてみましょう。Windows + R
キーボードの を押して Run を開きます。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-4.webp)
次のように入力して を押しますCtrl + Shift + Enter
。
cmd
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-5.webp)
PC でコマンド プロンプトが開いたら、次のように入力して Enter キーを押します。
python --version
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-6.webp)
現在インストールされている Python のバージョンが画面に表示されるはずです。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-7.webp)
これは、インストールが意図したとおりに行われたことを意味し、Git を PC にダウンロードしてインストールできるようになりました。
ステップ 2: Git をダウンロードしてインストールする
Windows PC に Git をダウンロードしてインストールする方法は次のとおりです。
ブラウザーでhttps://git-scm.com/download/winにアクセスし、 64-bit Git for Windows Setupをクリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-21.webp)
セットアップ ファイルのダウンロードが開始されます。ファイルを PC の便利な場所に保存します。ダウンロードしたら、ファイルをダブルクリックして起動します。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-22.webp)
使用許諾契約を確認し、[次へ]をクリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-23.webp)
[Browse…]をクリックして、Git をインストールする場所を選択します。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-24.webp)
完了したら、[次へ]をもう一度クリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-25.webp)
コンポーネントの選択をデフォルト値のままにして、[次へ]をクリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-26.webp)
[次へ]をもう一度クリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-27.webp)
次のステップで[次へ]をクリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-28.webp)
次のステップで[Git に決定させる] が選択されていることを確認し、 [次へ]を再度クリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-30.webp)
コマンド ラインとサードパーティ ソフトウェアから Git を選択します。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-31.webp)
[次へ]をクリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-32.webp)
[次へ]をもう一度クリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-34.webp)
HTTPS トランスポート バックエンドの選択をデフォルト値のままにして、[次へ]をクリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-36.webp)
[次へ]をもう一度クリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-37.webp)
ターミナル エミュレータの選択をデフォルト値のままにして、[Next]をクリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-38.webp)
[次へ]をもう一度クリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-39.webp)
をクリックして[Git Credential Manager]を選択し、[Next]をクリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-40.webp)
[ファイル システム キャッシュを有効にする]のボックスがオンになっていることを確認し、[次へ]をクリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-41.webp)
実験的な機能を選択せずに、[インストール]をクリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-42.webp)
Git が PC にインストールされます。インストールしたら、[完了]をクリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-install-stable-diffusion-on-windows-44.webp)
Git が PC にインストールされます。これを使用して、Auto-GPT リポジトリのクローンを作成できます。
ステップ 3: Auto-GPT リポジトリのクローンを作成する
PC にインストールされた Auto-GPT リポジトリのクローンを作成する方法は次のとおりです。
を押してファイル エクスプローラーを開きWindows + E
、ブート ドライブを開きます。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-8.webp)
キーボードの を押して、Ctrl + Shift + N
新しいフォルダーを作成します。新しいフォルダーにAuto-GPTという名前を付けて、Enter キーを押します。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-9.webp)
Windows + R
完了したら、 を押して[実行] を開きます。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-4-1.webp)
次のように入力して を押しますCtrl + Shift + Enter
。
cmd
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-5-1.webp)
次のコマンドを使用して、ブート ドライブのルートに移動します。
cd /
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-10.webp)
次に、このコマンドを使用して、新しく作成された Auto-GPT フォルダーに移動します。
cd Auto-GPT
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-11.webp)
次のコマンドを使用して、リポジトリをクローンします。
git clone https://github.com/Torantulino/Auto-GPT.git
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-12.webp)
クローンが作成されたら、次のコマンドを使用してコマンド プロンプトを閉じます。
exit
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-15.webp)
次に、ブート ドライブの次のパスに移動します。
C:\Auto-GPT\Auto-GPT
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-16.webp)
.env.templateという名前のファイルを右クリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-17.webp)
で開くを選択します。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-18.webp)
[その他のアプリ] または [別のアプリを選択]をクリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-19.webp)
をクリックして[メモ帳]を選択します。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-20.webp)
[OK]をクリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-21.webp)
デフォルトのブラウザーに切り替えて、https://platform.openai.com/account/api-keysにアクセスします。必要に応じて OpenAI アカウントにログインし、+ Create new secret keyをクリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-22.webp)
後で簡単に識別できるように、API キーに名前を付けます。このガイドでは、Auto-GPT と名付けましょう。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-23.webp)
[秘密鍵の作成]をクリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-24.webp)
[コピー]アイコンをクリックして、キーをクリップボードにコピーします。このキーは二度と表示されず、使用することもできません。将来再び使用する場合に備えて、新しいキーを生成する必要があります。したがって、このガイドで後で必要になったときに簡単に入手できるように、一時的に安全な場所に保管しておくことをお勧めします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-25.webp)
[完了]をクリックします。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-26.webp)
メモ帳ファイルに戻り、コピーした API キーをOPENAI_API_KEYの横に貼り付けます。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-27.webp)
注: your-openai-api-key を置き換えて、値の横に#を付けずにキーを貼り付けます。
キーボードの を押してCtrl + S
、ファイルを保存します。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-28.webp)
メモ帳を閉じ、.env.templateファイルをクリックして選択します。F2
選択したら、キーボードの を押します。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-29.webp)
ファイルの名前を.envに変更し、Enter キーを押して変更を保存します。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-30.webp)
次のステップを使用して、PC で Auto-GPT を実行するために必要な要件をインストールできます。
ステップ 4: 要件をインストールする
Auto-GPT に必要なコンポーネントを PC にインストールする方法は次のとおりです。
キーボード ショートカットを使用して、PC で [ファイル名を指定して実行] を開きますWindows + R
。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-4-2.webp)
次のように入力して を押しますCtrl + Shift + Enter
。
cmd
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-5-2.webp)
次のコマンドを入力して、Enter キーを押します。
cd /
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-10-1.webp)
次のコマンドを実行します。
cd auto-gpt\auto-gpt
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-32.webp)
次のコマンドを使用して、必要なコンポーネントを PC にインストールします。
pip install -r requirements.txt
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-33.webp)
必要なコンポーネントがダウンロードされ、PC にインストールされます。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-34.webp)
コマンド プロンプトを閉じないでください。次のステップで、同じウィンドウを使用して PC で Auto-GPT を実行します。
ステップ 5: Auto-GPT を実行する
すべての設定が完了したので、Auto-GPT を実行して使用する方法は次のとおりです。前の手順でコマンド プロンプト ウィンドウを開いたままにしている場合は、以下のガイドの最初のいくつかの手順をスキップできます。以下の手順に従って、プロセスに役立ててください。
キーボード ショートカットを使用して [ファイル名を指定して実行] を開きますWindows + R
。次に、以下のコマンドを入力して、Ctrl + Shift + Enter
キーボードの を押します。
cmd
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-5-3.webp)
次のコマンドを使用して、ブート ドライブのルートに移動します。
cd /
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-31.webp)
次に、このコマンドを使用して、PC の Auto-GPT インストール ディレクトリに移動します。
cd auto-gpt\auto-gpt
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-32-1.webp)
このコマンドを使用して Auto-GPT を実行します。
python -m autogpt
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-35.webp)
ここで、AI に何をしてもらいたいかを尋ねられます。考えている目標を入力します。目標を入力したら、Enter キーを押します。
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-36.webp)
以上です!Auto GPT は割り当てられたタスクを実行するようになり、進行状況をリアルタイムで追跡できるようになります。
Auto-GPT 手動モードに入るには?
![](https://cdn.thewindowsclub.blog/wp-content/uploads/2023/05/how-to-set-up-and-use-auto-gpt-37.webp)
AI に名前を付けて独自の目標を設定できる手動モードに入るには、AI の目標を設定するよう求められたときに–manualと入力します。これにより手動モードに入り、AI の名前を設定したり、ニーズや要件に応じて目標を設定したりできます。
この投稿が、PC で Auto GPT を簡単にセットアップして使用するのに役立つことを願っています。さらに質問がある場合、または問題が発生した場合は、以下のコメントを使用してお気軽にお問い合わせください。
コメントを残す