From dccc33152ba4d9e31029de210c13efe0c13c89c2 Mon Sep 17 00:00:00 2001 From: Aarushi <50577581+aarushik93@users.noreply.github.com> Date: Thu, 1 Aug 2024 12:12:01 +0100 Subject: [PATCH] feat(docs) Add how to run ollama with AutoGPT (#7665) add ollama howto --- docs/content/server/ollama.md | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 docs/content/server/ollama.md diff --git a/docs/content/server/ollama.md b/docs/content/server/ollama.md new file mode 100644 index 0000000000..803fdd56b0 --- /dev/null +++ b/docs/content/server/ollama.md @@ -0,0 +1,37 @@ +# Running Ollama with AutoGPT + +Follow these steps to set up and run Ollama and your AutoGPT project: + +1. **Run Ollama** + - Open a terminal + - Execute the following command: + ``` + ollama run llama3 + ``` + - Leave this terminal running + +2. **Run the Backend** + - Open a new terminal + - Navigate to the backend directory in the AutoGPT project: + ``` + cd rnd/autogpt_server/ + ``` + - Start the backend using Poetry: + ``` + poetry run app + ``` + +3. **Run the Frontend** + - Open another terminal + - Navigate to the frontend directory in the AutoGPT project: + ``` + cd rnd/autogpt_builder/ + ``` + - Start the frontend development server: + ``` + npm run dev + ``` + +4. **Choose the Ollama Model** + - Add LLMBlock in the UI + - Choose the last option in the model selection dropdown \ No newline at end of file