We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
client
README.md
1 parent 9c60d15 commit 467fd83Copy full SHA for 467fd83
README.md
@@ -116,8 +116,8 @@ A custom client can be created with the following fields:
116
117
```python
118
from ollama import Client
119
-ollama = Client(host='http://localhost:11434')
120
-response = ollama.chat(model='llama2', messages=[
+client = Client(host='http://localhost:11434')
+response = client.chat(model='llama2', messages=[
121
{
122
'role': 'user',
123
'content': 'Why is the sky blue?',
0 commit comments