Generative AI
Docusense with GPT allows you to upload knowledge base documents like PDFs and URLs to the Engati platform. The bot can then use these materials to answer user queries creatively by generating responses based on the content.
Rather than picking statements directly from the documents, the bot reads and understands the content. When users ask questions, it provides new answers related to the information in an intelligent, conversational way.
This feature enables your bot to become knowledgeable about a topic by reading through documents you provide. The Generative AI then produces relevant, personalized responses to users' questions without needing extensive manual scripting. It allows your bot to dynamically answer a wide range of queries by learning from uploaded knowledge bases.
Step 1 : Navigate to Integration > Cloud Integrations > eSenseGPT
Step 2 : From the drop down menu select either OpenAI or Azure OpenAI and then click on "Authorize"
- OpenAI is an artificial intelligence research organization. They have developed very advanced AI systems like GPT-3 for generating human-like text.
- Azure OpenAI is Microsoft's offering that makes OpenAI's models easily accessible on the Azure cloud platform.
So OpenAI does the research and creates the AI models. Azure OpenAI takes those models and provides easy access to them through Microsoft Azure.
This allows developers to integrate OpenAI's powerful models like GPT-3 into their own applications using Azure's tools and services. They don't have to build the AI models from scratch.
Step 3 : Give an account name as desired and then add OpenAI generated API Key.
Step 4 : Once your OpenAI key is successfully added to the bot, navigate to Configure > Integrations > eSenseGPT
Step 5 : From the dropdown menu select the your OpenAI account.
Step 6 : Update the credit attribute .
- To control usage limits for Docusense with GPT, an "openai_credits" attribute has been added under Bot Attributes.
- The value of this attribute determines how many queries your bot can process using Docusense. Each document you upload and each query asked will decrease the credits by 1.
You can find and edit this attribute under Configure > Attributes > Bot Attributes in the Engati platform. It's value can be updated directly from UI using Edit Attribute.
Updating the "openai_credits" value allows managing the monthly usage limits. Setting a higher value enables more Docusense queries, while a lower value restricts the monthly volume.
Manage this bot attribute value to align with your usage needs and limits. Keeping credits topped up ensures your bot can continuously process queries using Docusense each month.
Note :
Step 7 : The basic setup for Docusense with GPT is done. Now , you can upload the required documents. Navigate to Train > Generative AI > Upload Document
Step 8 : Upload the document and keep in mind that URL/PDF can be uploaded. There are two options available :
- Upload Single URL/File
To upload a single URL/file, select the ‘Single URL/File’ option. In the ‘Document Name’ field, enter a name for the document. This name will help you identify the document later.
Next, select the ‘Category’ from the dropdown menu. The ‘Category’ field allows you to categorize the document for better organization and retrieval.
Finally, click the ‘Browse’ button to select the file you want to upload.
- Upload Multiple URLs
To upload multiple URLs, select the ‘Upload Multiple URLs’ option. Next, click the ‘Browse’ button to select the file you want to upload.
Note : If uploading a home page URL , it should not have more than 100 embedded URLs.
Step 9 : Once uploaded , it takes around 5 minutes to process the document .
Step 10 : Once the document is processed successfully , we can see the status as Ready to Search .
Step 11 : If we see status as error, please check the previous steps of setup is not missed.
Step 12 : Ask any query to the bot and bot should be able to return a response if the answer to the query asked is present in the documents uploaded.
Generative AI takes your bot's language comprehension and ability to handle conversations to the next level. Your bot becomes smarter over time with minimal training. It's an easy way to create extremely natural and capable conversational experiences.
If you face any issues or queries please reach out to us at [email protected].