Use client variable name for custom client in README.md

This commit is contained in:
Jeffrey Morgan
2024-01-20 15:34:39 -05:00
parent 9c60d1569c
commit 467fd833f3
+2 -2
View File
@@ -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?',