Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
6e16098a
Unverified
Commit
6e16098a
authored
Dec 14, 2023
by
Bruce MacDonald
Committed by
GitHub
Dec 14, 2023
Browse files
remove sample_count from docs (#1527)
this info has not been returned from these endpoints in some time
parent
6ee8c801
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
docs/api.md
docs/api.md
+0
-12
No files found.
docs/api.md
View file @
6e16098a
...
...
@@ -85,8 +85,6 @@ The final response in the stream also includes additional data about the generat
-
`total_duration`
: time spent generating the response
-
`load_duration`
: time spent in nanoseconds loading the model
-
`sample_count`
: number of samples generated
-
`sample_duration`
: time spent generating samples
-
`prompt_eval_count`
: number of tokens in the prompt
-
`prompt_eval_duration`
: time spent in nanoseconds evaluating the prompt
-
`eval_count`
: number of tokens the response
...
...
@@ -105,8 +103,6 @@ To calculate how fast the response is generated in tokens per second (token/s),
"done"
:
true
,
"total_duration"
:
5589157167
,
"load_duration"
:
3013701500
,
"sample_count"
:
114
,
"sample_duration"
:
81442000
,
"prompt_eval_count"
:
46
,
"prompt_eval_duration"
:
1160282000
,
"eval_count"
:
113
,
...
...
@@ -139,8 +135,6 @@ If `stream` is set to `false`, the response will be a single JSON object:
"done"
:
true
,
"total_duration"
:
5589157167
,
"load_duration"
:
3013701500
,
"sample_count"
:
114
,
"sample_duration"
:
81442000
,
"prompt_eval_count"
:
46
,
"prompt_eval_duration"
:
1160282000
,
"eval_count"
:
13
,
...
...
@@ -314,8 +308,6 @@ curl http://localhost:11434/api/generate -d '{
"done"
:
true
,
"total_duration"
:
5589157167
,
"load_duration"
:
3013701500
,
"sample_count"
:
114
,
"sample_duration"
:
81442000
,
"prompt_eval_count"
:
46
,
"prompt_eval_duration"
:
1160282000
,
"eval_count"
:
13
,
...
...
@@ -392,8 +384,6 @@ Final response:
"done"
:
true
,
"total_duration"
:
5589157167
,
"load_duration"
:
3013701500
,
"sample_count"
:
114
,
"sample_duration"
:
81442000
,
"prompt_eval_count"
:
46
,
"prompt_eval_duration"
:
1160282000
,
"eval_count"
:
113
,
...
...
@@ -450,8 +440,6 @@ Final response:
"done"
:
true
,
"total_duration"
:
5589157167
,
"load_duration"
:
3013701500
,
"sample_count"
:
114
,
"sample_duration"
:
81442000
,
"prompt_eval_count"
:
46
,
"prompt_eval_duration"
:
1160282000
,
"eval_count"
:
113
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment