From 467fd833f3d6d487112dee821ddc1c10b7bae32f Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Sat, 20 Jan 2024 15:34:39 -0500 Subject: [PATCH] Use `client` variable name for custom client in `README.md` --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 19d01bc..dd227b2 100644 --- a/README.md +++ b/README.md @@ -116,8 +116,8 @@ A custom client can be created with the following fields: ```python from ollama import Client -ollama = Client(host='http://localhost:11434') -response = ollama.chat(model='llama2', messages=[ +client = Client(host='http://localhost:11434') +response = client.chat(model='llama2', messages=[ { 'role': 'user', 'content': 'Why is the sky blue?',