diff options
| author | Erik Tews <erik@datenzone.de> | 2026-01-01 09:05:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-01 08:05:51 +0000 |
| commit | e8c79f2944c021b86c068ea77ff937650cd291d7 (patch) | |
| tree | 263d6fdc10ccbff3c6de09c66a31198df0af5401 /docs/src | |
| parent | 3d652eee04d13ce992fbcce9a0fce53d52e99a07 (diff) | |
| download | karakeep-e8c79f2944c021b86c068ea77ff937650cd291d7.tar.zst | |
fix: use the Ollama generate endpoint instead of chat (#2324)
* Use the Ollama generate endpoint instead of chat
Ollama has two API endpoints for text generation. There is a chat endpoint for interactive and interactive chat like generation of text and there is a generate endpoint that is used one one-shot prompts, such as summarization tasks and similar things.
Karakeep used the chat endpoint that resulted in odd summaries. This commit makes karakeep use the generate endpoint instead, which results in better and more compact summaries.
* format
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions
