Skip to main content

Notifications

Copilot Studio - General
Unanswered

Get answers from a txt or docx file saved in onedrive

Posted on by 3,243

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 3,243 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 242 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

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Getting Started…

Welcome to the Power Platform Community! We appreciate your visit…

Welcome to the new Power Platform Community!…

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

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 138,006

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,059

Leaderboard