You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: demos/help.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# help via -h and --help
2
2
3
-
A [demo](../README.md#demos) of [Ollama Bash Lib](https://github.com/attogram/ollama-bash-lib) v0.45.9
3
+
A [demo](../README.md#demos) of [Ollama Bash Lib](https://github.com/attogram/ollama-bash-lib) v0.45.10
4
4
## Testing -h for all functions (first argument)
5
5
6
6
`ollama_api_get -h`
@@ -191,9 +191,9 @@ Generate a completion from a model as a stream of text.
191
191
-p <prompt> Prompt text. If omitted, the function reads from STDIN.
192
192
-h Show this help and exit.
193
193
-v Show version information and exit.
194
-
195
-
This function calls 'ollama_generate_stream_json' and pipes the output to 'jq' to extract the 'response' field from each JSON object, providing a continuous stream of text.
196
-
It is ideal for displaying real-time generation in interactive scripts.
194
+
195
+
This function calls ollama_generate_stream_json and pipes the output to jq to extract the response field from each JSON object, providing a continuous stream of text.
196
+
It is ideal for displaying real-time generation in interactive scripts.
197
197
```
198
198
199
199
`ogs -h`
@@ -206,9 +206,9 @@ Generate a completion from a model as a stream of text.
206
206
-p <prompt> Prompt text. If omitted, the function reads from STDIN.
207
207
-h Show this help and exit.
208
208
-v Show version information and exit.
209
-
210
-
This function calls 'ollama_generate_stream_json' and pipes the output to 'jq' to extract the 'response' field from each JSON object, providing a continuous stream of text.
211
-
It is ideal for displaying real-time generation in interactive scripts.
209
+
210
+
This function calls ollama_generate_stream_json and pipes the output to jq to extract the response field from each JSON object, providing a continuous stream of text.
211
+
It is ideal for displaying real-time generation in interactive scripts.
0 commit comments