From 09ae36a0f940bd32a98d69437ea1f4d4f6808d8f Mon Sep 17 00:00:00 2001 From: SALES <5235127+adriens@users.noreply.github.com> Date: Wed, 31 Jan 2024 21:13:54 +1100 Subject: [PATCH 1/3] doc(README) : add prerequisites --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 6eb8b1a..fd44f19 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,17 @@ The Ollama Python library provides the easiest way to integrate Python 3.8+ projects with [Ollama](https://github.com/jmorganca/ollama). +## Prerequisites + +Prior to be able to use the next steps, you need to have `ollama` [installed](https://ollama.ai/download), up and running: + +```sh +curl https://ollama.ai/install.sh | sh +ollama serve +``` + +Next you can go ahead with `ollapa-python`. + ## Install ```sh From 70e376368fbd6b327fee4fafef64899c1ebd9f34 Mon Sep 17 00:00:00 2001 From: SALES <5235127+adriens@users.noreply.github.com> Date: Fri, 2 Feb 2024 07:56:27 +1100 Subject: [PATCH 2/3] Update README.md Co-authored-by: Michael Esteban --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fd44f19..4de1ee6 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ curl https://ollama.ai/install.sh | sh ollama serve ``` -Next you can go ahead with `ollapa-python`. +Next you can go ahead with `ollama-python`. ## Install From e28f43f892f0900826e303dad3766b1dcf9dbf8e Mon Sep 17 00:00:00 2001 From: SALES <5235127+adriens@users.noreply.github.com> Date: Fri, 16 Feb 2024 07:02:48 +1100 Subject: [PATCH 3/3] Update README.md cf https://github.com/ollama/ollama-python/pull/45#issuecomment-1942447161 --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4de1ee6..9df06a3 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,14 @@ The Ollama Python library provides the easiest way to integrate Python 3.8+ proj ## Prerequisites -Prior to be able to use the next steps, you need to have `ollama` [installed](https://ollama.ai/download), up and running: +You need to have a local ollama server running to be able to continue. To do this: + +- Download: https://ollama.com/ +- Run an LLM: https://ollama.com/library + - Example: `ollama run llama2` + - Example: `ollama run llama2:70b` + +Then: ```sh curl https://ollama.ai/install.sh | sh