How to Chat With PDF using RASA CALM

I can get the response using ollama on rasa calm from txt files but can’t work with any other format like (PDF , xlsx , csv , etc) , is Rasa Calm only works with txt files ?

if it can work with multiple format please let me know what should I write in the config file .

Thanks alot ,