From 960ceb090f380639d8856396691aeae7050000ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Schr=C3=B6ter?= Date: Tue, 24 Sep 2024 09:20:40 +0200 Subject: [PATCH] Document OLLAMA_HOST --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 3731b7c..13ff85a 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,7 @@ services: LLM_MODEL: 'gpt-4o' # or 'llama2' OPENAI_API_KEY: 'your_openai_api_key' # Required if using OpenAI LLM_LANGUAGE: 'English' # Optional, default is 'English' + OLLAMA_HOST: http://host.docker.internal:11434 # Useful if using Ollama ports: - '8080:8080' depends_on: @@ -113,6 +114,7 @@ If you prefer to run the application manually: | `LLM_MODEL` | The model name to use (e.g., `gpt-4`, `gpt-3.5-turbo`, `llama2`). | Yes | | `OPENAI_API_KEY` | Your OpenAI API key. Required if using OpenAI as the LLM provider. | Cond. | | `LLM_LANGUAGE` | The likely language of your documents (e.g., `English`, `German`). Default is `English`. | No | +| `OLLAMA_HOST` | The URL of the Ollama server (e.g., `http://host.docker.internal:11434`). Useful if using Ollama. Default is `http://127.0.0.1:11434` | No | **Note:** When using Ollama, ensure that the Ollama server is running and accessible from the paperless-gpt container.