Smart answers from documents
AnyText can not only find documents but also answer a question: the /ask вопрос command searches for suitable fragments in your documents and asks the model to formulate an answer with references to sources.
How this differs from search
- Search returns files and fragments — you read them yourself.
- Answer is a ready text based on what was found, with references to the documents it comes from. If the documents do not contain the answer, the model will say honestly that it did not find one.
What is configured here
- Model for answers — which model formulates the answer. The “Save” button remembers the choice.
- If you leave the field empty, the image description model from the section above is used for answers.
Which model to choose
gemma4:e4b— to save resources and get quick answers: it runs on an ordinary computer and answers almost at once.deepseek-r1:8b— for more precise answers: it answers noticeably more precisely (gemma4:e4b sometimes makes mistakes or answers imprecisely), but needs more memory, and without a graphics card it both loads and answers slowly.
Both models are local: they are downloaded once and run on your computer — without the internet and without sending documents out. A cloud model (a name with :cloud) needs an Ollama account and subscription, and the text of the question together with the found fragments goes to the cloud.
If no suitable model is installed, the section will offer to download the one named in the field.
How to ask
In the search line, choose “Model answer” or type /ask вопрос. The answer appears together with references to the source documents.
Example: ask from your own documents
- Settings → “Smart answers from documents”: make sure a model is chosen. If the field is empty, answers will be written by the image description model — that is normal.
- Close the settings and switch the search line to the “Model answer” mode.
- Write the question in ordinary words, for example:
какие сроки поставки указаны в договоре. - Press Enter and wait for the answer.
What you get: AnyText first finds suitable fragments, then the model writes the answer and shows references to the source documents. Check the references: the answer is a retelling of your documents, not of what the model knows by itself. If the documents do not contain the answer, it will say honestly that it did not find one.
If no suitable model is installed, the section will offer to download it — click the button and wait for the download.