huridocs / uwazi

Uwazi is a web-based, open-source solution for building and sharing document collections
http://www.uwazi.io
MIT License
242 stars 80 forks source link

[IX] Context per value instead of context per suggestion #7083

Open gabriel-piles opened 3 months ago

gabriel-piles commented 3 months ago

Currently, the metadata extractor provides one context per suggestion, which is suitable for PDF to text extractions. However, for PDF to multi-option extraction, it could be better to send a context per value.

The UI currently shows one context for each value, so no UI change is necessary. Changes are needed for the rest of the application, including the service.

Screenshot from 2024-08-01 17-19-06