asyml / forte

Forte is a flexible and powerful ML workflow builder. This is part of the CASL project: http://casl-project.ai/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`DataPack` function to add audio and text payload

hepengfe opened this issue · comments

Is your feature request related to a problem? Please describe.
Currently we don't have functions to add new AudioPayload and TextPayload.

Describe the solution you'd like

  • DataPack.add_audio() that takes audio data and add new AudioPayload containing the audio.
  • DataPack.add_text() that takes text data and add new TextPayload containing the text.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.