Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

File upload on Dialogflow CX or Conversation Agents

Hi,

I want to create an AI assistant for company employees.
I don't need full LLM power but I need document summarization and document comparison features.
As far as I research there is no file upload feature  on Dialogflow CX.
How to provide file uploading and summarization on Google Dialogflow CX ?

Thanks.

Solved Solved
1 5 317
1 ACCEPTED SOLUTION

Yes there is but I dont remember, you cant find it easily. Ill pass you the code:

This is the entire code for df-messenger, use it wisely. Hope this helps!

   <script src="https://www.gstatic.com/dialogflow-console/fast/df-messenger/prod/v1/df-messenger.js"></script>
    <df-messenger
      project-id=""
      agent-id=""
      language-code="en"
      intent="WELCOME"
      max-query-length="-1"
      gcs-upload="testing-bucket-upload-photo"  # this is the bucket name
      >
   
   
     <df-messenger-chat-bubble
     chat-title="Bot title"
     enable-file-upload   # Enable the button to upload to the bucket defined before
     enable-audio-input   # Enable the Microphone input.
      >
      </df-messenger-chat-bubble>
    </df-messenger>
    <style>
      df-messenger {
        z-index: 999;
        position: fixed;
        --df-messenger-font-color: #000;
        --df-messenger-font-family: Google Sans;
        --df-messenger-chat-background: #f3f6fc;
        --df-messenger-message-user-background: #d3e3fd;
        --df-messenger-message-bot-background: #fff;
        bottom: 16px;
        right: 16px;
      }
    </style>

 

View solution in original post

5 REPLIES 5