Files
AutoGPT/docs/content/server/ollama.md
Swifty ef7cfbb860 refactor: AutoGPT Platform Stealth Launch Repo Re-Org (#8113)
Restructuring the Repo to make it clear the difference between classic autogpt and the autogpt platform:
* Move the "classic" projects `autogpt`, `forge`, `frontend`, and `benchmark` into a `classic` folder
  * Also rename `autogpt` to `original_autogpt` for absolute clarity
* Rename `rnd/` to `autogpt_platform/`
  * `rnd/autogpt_builder` -> `autogpt_platform/frontend`
  * `rnd/autogpt_server` -> `autogpt_platform/backend`
* Adjust any paths accordingly
2024-09-20 16:50:43 +02:00

859 B

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 autogpt_platform/backend/
      
    • 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 autogpt_platform/frontend/
      
    • 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