View Single Post
Old 02-04-2026, 01:27 AM   #36
sheldonrrr
A self-taught developer
sheldonrrr reads for the sheer pleasure of reading.sheldonrrr reads for the sheer pleasure of reading.sheldonrrr reads for the sheer pleasure of reading.sheldonrrr reads for the sheer pleasure of reading.sheldonrrr reads for the sheer pleasure of reading.sheldonrrr reads for the sheer pleasure of reading.sheldonrrr reads for the sheer pleasure of reading.sheldonrrr reads for the sheer pleasure of reading.sheldonrrr reads for the sheer pleasure of reading.sheldonrrr reads for the sheer pleasure of reading.sheldonrrr reads for the sheer pleasure of reading.
 
Posts: 46
Karma: 125496
Join Date: Feb 2025
Location: Shanghai
Device: Kindle Paperwhite 2, iPad mini 5
Quote:
Originally Posted by varia View Post
Hi, what is the largest number of selected book entries the AI can pull data from? If I select all book records (thousands) and ask something short and simple like "Help me find disabled protagonists", I get the response: "Question too long".

I am using:
Calibre portable 8.16.2
Ollama & Mistral
Now current status:
Prompt length limits:
- Single book mode: 2000 characters max
- Multi-book mode: 4000 characters max

When you select thousands of books, the metadata (title + author) for each book gets concatenated into the prompt. With ~50-100 characters per book, selecting 1000+ books easily exceeds the 4000 character limit, triggering the "Question too long" error.

Practical book selection limits:

- Roughly 40-80 books max depending on title/author length
- This is a client-side validation, not an AI model limitation.

I will fix this later. Thanks for your feedback.
sheldonrrr is offline   Reply With Quote