Payload load data of different modality into cache #832
Labels
topic: data
Issue about data loader modules and data processing related
topic: ontology
All issues related to ontologies in core, top and base_ontology
Milestone
Is your feature request related to a problem? Please describe.
Follow up on #828, I complete a draft that Payload can holds loading method and load path(assigned in reader), and they can be used together to achieve lazy loading in processor (rather than reader). However, load data into payload cache is not implemented yet. By implementing this feature, we also need to remove old DataPack methods such
set_text
andset_audio
as it's outdated. DataPack should supports multiple Payloads with different Modality.It's also part of #810
Describe the solution you'd like
Datapack.set_text
andDatapack.set_audio
.Payload.load
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
The text was updated successfully, but these errors were encountered: