Think about storing original images in the history #90

Open
opened 2025-10-17 01:02:48 +03:00 by skobkin · 0 comments
Owner

Idea

LLM response quality could be improved if we:

  • Store original images in the history
  • Provide them to the LLM with all the history altogether each time it needs it
  • Remove early/lazy image-to-text conversion

Why

Currently when LLM replies to the request, it can rely only on the old image-to-text representation which were made without current context of user request.

If LLM has the image while processing current request, it can achieve better results by analyzing the image with consideration of it.

Pros

  • Better response quality
  • No requests for image recognition until we're starting to process user's request

Cons

  • Image recognition result caching will be removed
  • Images could be processed multiple times
## Idea LLM response quality could be improved if we: - Store original images in the history - Provide them to the LLM with all the history altogether each time it needs it - Remove early/lazy image-to-text conversion ## Why Currently when LLM replies to the request, it can rely only on the old image-to-text representation which were made without current context of user request. If LLM has the image while processing current request, it can achieve better results by analyzing the image with consideration of it. ## Pros - Better response quality - No requests for image recognition until we're starting to process user's request ## Cons - Image recognition result caching will be removed - Images could be processed multiple times
skobkin self-assigned this 2025-10-17 01:02:48 +03:00
skobkin changed title from Think about about storing original images in the history to Think about storing original images in the history 2026-04-20 04:44:44 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
skobkin/telegram-ollama-reply-bot#90
No description provided.