Questionnaire into Survey chat bot.
# 🤝help
d
Hello guys! I have a simple (hope) situation. I'm developing a bot that can help both Tax experts and customers. So instead of copy\paste every single question from the provided Questionnaire I want to just put the questionnaire into the Knowledge base and then EXTRACT all necessary questions from ANY document and turn them into a question inside a chat bot. So In case of changing source document I don't need to redevelop my bot. Will need to add a new document. I tried to make this just using regular ChatGPT 3.5 and it working well, but i need such functionality inside a Messenger or WhatsApp or any other messenger.
c
Did you have a look at this video?

https://youtu.be/A8yT4PhO7lA?si=4aTnT4cvF20nXVgR

I believe this will help you build your use case
d
I'll do it right now, Sabrina! Thanks
Let me add some additional details: I'm developing a bot that can help both Tax experts and customers. So instead of copy\paste every single question from the provided Questionnaire I want to just put the questionnaire into the Knowledge base and then EXTRACT all necessary questions from ANY document and turn them into a question inside a chat bot. So In case of changing source document I don't need to redevelop my bot. Will need to add a new document. I tried to make this just using regular ChatGPT 3.5 and it working well, but i need such functionality inside a Messenger or WhatsApp or any other messenger.
f
Hey there, You can add them to a separate KB and then use the Query Knowledge Bases card to get the questions. I would create a node for each question (unless there are a lot) and then just transition to that node. The question would be in a capture information card.
d
There is a lot, actually. I did it in ManyChat, but wanted something more flexible and AI oriented.
f
Have you tried adding them to a separate KB? Then saying something like Question about x: X question Then you could do a query and say that you need all questions about x
d
Hmm… thank for your answer, but can you please clear this idea for me a little bit?
f
You would add another KB. This KB would only be used with sources like documents or rich text. The format of the text in the source would look like this: Question about .... The question here. So let's say it's a question about elephants: Question about the age of elephants. How old do elephants get? Then you could do a custom query with the Query Knowledge Bases card like this: Find all questions about elephants. You would have to change some things and test it. This is just a starting point of how it could be done.
d
I’m not arguing:) but trying to understand - why with chat gpt it was easier? I just ask to “use this text and separate topics. Also create questions based on topics” . Is it possible to do similar in BotPress?
This is all questions that I have to ask my clients: The main sections of the business income and expenses checklist are as follows: 1. Business Details: - Business Name - GST Number (if applicable) - Physical Address - First Year of the Business - Main Product or Service 2. Income: - Sales (including GST if Applicable) - GST Inputs (paid on your expenses) 3. Expenses: - Advertisement - Meals - Liability Insurance - Management Fee - Accountant, Legal Fees - Interest & Bank Charges - Licenses, Membership - Office Expenses - Rent Office - Equipment Rent - Travel Expenses - Wages (Subcontractors) - Liability Insurance/WCB - Telephone - Other (Specify) 4. Business-Use-of-Home Expenses: - Total House Area (sq. feet) - Used for Business Only (sq. feet) - Heat - Water - Light - Repair & Maintenance - Property Taxes - Insurance - Mortgage Interest - Other (Specify) 5. Auto Expenses: - Vehicle Information - Total Kilometres Driven in the Fiscal Period - Kilometres Driven for Business - Fuel and Oil - Interest (Financing) - Auto Insurance - Licence and Registration - Maintenance and Repairs - Leasing - Other Expenses (Specify) 6. Acquisition of Capital Assets: - List of Equipment/Vehicles Acquired During the Year 7. Other Relevant Information for Your Business
Some of them (like Auto expenses) can be repeated a few times for the same customer
f
You can use the AI Task like you would with ChatGPT. You can give it some instructions on what it should ask questions about.

https://youtu.be/ujzjn4lEU-Y?si=hCp5I04PJb-ZUxW6

67 Views