You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 and set_audio as it's outdated. DataPack should supports multiple Payloads with different Modality.
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: