Skip to content

Commit

Permalink
docs: fix 'WithKeepAlive' docs (#823)
Browse files Browse the repository at this point in the history
docs(ollama): fix 'WithKeepAlive' docs
  • Loading branch information
CrazyWr authored May 9, 2024
1 parent 390a1b3 commit 1c185c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llms/ollama/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func WithFormat(format string) Option {
// WithKeepAlive controls how long the model will stay loaded into memory following the request (default: 5m)
// only supported by ollama v0.1.23 and later
//
// If set to a positive duration (e.g. 20m, 1hr or 30), the model will stay loaded for the provided duration
// If set to a positive duration (e.g. 20m, 1h or 30), the model will stay loaded for the provided duration
// If set to a negative duration (e.g. -1), the model will stay loaded indefinitely
// If set to 0, the model will be unloaded immediately once finished
// If not set, the model will stay loaded for 5 minutes by default
Expand Down

0 comments on commit 1c185c3

Please sign in to comment.