Play audio instead of text response in rasa

hi everyone I want to play audio files i have saved locally instead of text response can anyone help me regarding that. Thank you

You could pass the name of the audio file to play in the response. Depending on how your front end app works, you could pass it as markdown or setup your own playload as a custom payload response.