|
@@ -57,7 +57,7 @@ ollama.generate("./llama-7b-ggml.bin", "hi")
|
|
|
|
|
|
List available local models
|
|
|
|
|
|
-```
|
|
|
+```python
|
|
|
models = ollama.models()
|
|
|
```
|
|
|
|
|
@@ -65,6 +65,10 @@ models = ollama.models()
|
|
|
|
|
|
Serve the ollama http server
|
|
|
|
|
|
+```
|
|
|
+ollama.serve()
|
|
|
+```
|
|
|
+
|
|
|
### `ollama.add(filepath)`
|
|
|
|
|
|
Add a model by importing from a file
|