# Chatbot to use pdf document as source

**URL:** <https://forum.rasa.com/t/chatbot-to-use-pdf-document-as-source/15870>\
**Category:** Getting Started with Rasa\
**Created:** [September 19, 2019, 2:40am UTC](https://forum.rasa.com/t/chatbot-to-use-pdf-document-as-source/15870 "2019-09-19T02:40:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashok](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@ashok](https://forum.rasa.com/u/ashok)\
**Post date:** [September 19, 2019, 2:40am UTC](https://forum.rasa.com/t/chatbot-to-use-pdf-document-as-source/15870/1 "2019-09-19T02:40:56Z")

</div>

I am looking at creating a simple chatbot which can use a pdf file as it’s source. For example, the input to the chatbot can be a bank’s terms and conditions pdf document and the chatbot would respond to a question which are related to the contents of the document. So i would not have defined answers prior and should be looked in the pdf.

Sample Q&A. Q : What is my monthly fee for my savings account? A : Your monthly fees is $5 for the savings account if no deposit is made above $2000, else free.

I learnt about RASA and all the links which I saw uses a defined text response and not using any pdf document as a source.

Can someone provide any guidance on which approach i could follow?

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [September 20, 2019, 1:18am UTC](https://forum.rasa.com/t/chatbot-to-use-pdf-document-as-source/15870/2 "2019-09-20T01:18:10Z")

</div>

Hi @ashok Rasa isn’t designed to be able to do SQuAD style tasks, this is something you would have to build a custom algorithm for using a [custom component](https://rasa.com/docs/rasa/api/custom-nlu-components/).
