[GH-ISSUE #6045] Documentation for API Options #29544

Open
opened 2026-04-22 08:31:37 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @noggynoggy on GitHub (Jul 29, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6045

When reading the API Docs many options are listed with no visible explanation for what they do. The only explanation I could find here explains some, but more advanced ones are not explained anywhere it seems.

Since I am to make Langchains ChatOllama more feature complete, I require these explanations for the necessary doc-strings.

Originally created by @noggynoggy on GitHub (Jul 29, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6045 When reading the [API Docs](https://github.com/ollama/ollama/blob/main/docs/api.md#request-7) many options are listed with no visible explanation for what they do. The only explanation I could find [here](https://github.com/taketwo/llm-ollama/blob/40c66002a449cd52da2dbe91ea356b59e76bc9a5/llm_ollama.py#L45-L101) explains some, but more advanced ones are not explained anywhere it seems. Since I am to make Langchains ChatOllama more feature complete, I require these explanations for the necessary doc-strings.
GiteaMirror added the documentationapi labels 2026-04-22 08:31:39 -05:00
Author
Owner

@rick-github commented on GitHub (Jul 29, 2024):

Most of them are llama.cpp options which are passed through. Some have a different name but also map on to llama.cpp options.

<!-- gh-comment-id:2255877342 --> @rick-github commented on GitHub (Jul 29, 2024): Most of them are llama.cpp [options](https://github.com/ggerganov/llama.cpp/blob/master/examples/main/README.md#common-options) which are passed through. Some have a different name but [also map](https://github.com/ollama/ollama/issues/5946#issuecomment-2250122405) on to llama.cpp options.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#29544