Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

How to Combine Prompt with Genarative AI -> upload document and Conversation Flow Responses

(0) ShareShare
ReportReport
Posted on by 18

Hello,

  1. I uploaded couple of PDF documents in copilot studio. (using Generative AI -> Upload a Doc option)
  2. I also created a conversational flow where bot asks multiple questions to the user.
  3. Now, I want to generate a Prompt - this prompt should be combination of PDF document and user responses from conversational flow. Based, by bot should generate a response. 
  4. I am trying to use create generative answers. How can I point to my PDF docs and responses?

Or is there any other option available?

balachandra_0-1701446787671.png

 

Categories:
  • remidyon Profile Picture
    on at
    Re: How to Combine Prompt with Genarative AI -> upload document and Conversation Flow Responses

    Hi @balachandra 

    When you upload documents to your Copilot they are automatically added as a datasource to all the "create generative answers" nodes. The best practice is to use the fallback mechanism of the conversation boost topic to capture any user questions and pass it to the generative answer node.

     

    The other way you could do that in a particular topic would be to ask a question to the user like "what is your question regarding the HR documents", capture their question in a variable then send that question to the "create generative answers" node which will automatically send the question + document to a GPT model to create an answer.

     

    For example, I am using the conversation boost with fallback mechanism to answer any user questions from the power platform licensing Deck I uploaded to my copilot:

    remidyon_0-1702490553814.png

     

    Take a look at those documentation links;

    Generative answers - Microsoft Copilot Studio | Microsoft Learn

    Use uploaded documents as a generative answers data source (preview) - Microsoft Copilot Studio | Microsoft Learn

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 25

#1
Pablo Roldan Profile Picture

Pablo Roldan 25

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard