Skip to main content

Notifications

Power Platform Community / Forums / General / Get answers from a txt...
General
Unanswered

Get answers from a txt or docx file saved in onedrive

Posted on by 109

Hello community.

I have been trying to figure out this thing. But it has been almost impossible.

 

Can I develop a chat bot where the user ask for a question and the bot look in a document or text file and retrieve possible answers? Please no premium.

 

Thanks in advance for any help.

Categories:
  • sajarac Profile Picture
    sajarac 109 on at
    Re: Get answers from a txt or docx file saved in onedrive

    Hey @nikviz , Thank you very much for your prompt response. Great post BTW.

    Sadly premium stuff always is a limitation.

    But many many thanks for this.

    Regards,

  • nikviz Profile Picture
    nikviz 182 on at
    Re: Get answers from a txt or docx file saved in onedrive

    Hi
    You can try one of these 3 methods

     

    1) You can store your question and corresponding answer in an excel in one drive. When user asks a question build a logic using power automate to look into the excel and pull the corresponding answer.

    However, this will work if the user asks the exact wordings as you will have it in your question sheet (as this is a regular expression match).

    Or Instead of questions, have key word phrases which are comma separated or in array and use "contains" logic to pull the corresponding answer.

    2) Consider each question as a Topic and create a topic with trigger words which user may ask and spawn an answer.

    The problem with this would be if there are too many questions, you would have to create that many topics.

    3) Build an AI model (NLP) using BERT/SBERT/ChatGPT where your entire Q&A corpus is trained. When the user asks a question, your AI model is called and based on the word similarity your answer is returned.

    I have written on how to implement this here:
    https://medium.com/@nikviz/integrate-ai-language-models-with-power-virtual-agent-pva-36e357b76734 

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
renatoromao Profile Picture

renatoromao 6,459

#2
Pstork1 Profile Picture

Pstork1 1,962

#3
Expiscornovus Profile Picture

Expiscornovus 1,667