Skip to content

Resume of selected documents #536

@leandroBorgesFerreira

Description

@leandroBorgesFerreira

The user should be able to select one or multiple documents and a resume of this document should be created in the same folder of the selected documents.

Usage:

1 - User selects some documents like this video:

Gravacao.de.Tela.2025-11-26.as.17.57.35.mov

2 - Then there a icon to make a resume. Clicking on it sends the text of all the documents to the AI and creates a document with the resume in the same folder of the navigation.

Development

To develop this feature, the following steps should be followed:

  • Create a button in the menu. Don't worry about the icon, the UX will be polished later.
  • Once the button is clicked, the documents are queried from database (using repositories) and all the content of the documents is fetched.
  • Once the content is loaded in memory, it is sent to Ollama, using OllamaApi class.
  • When the results comes from OllamaApi, a new document with the result is created.
  • To create the document, just add a title and a simple text in the first line.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions