Documents and PDFs
Creating Custom DataApp using Documents and PDFs as an input
Use this procedure to create a custom DataApp using documents and PDFs an an input. Note that these DataApps are model-independent, so no project model is required to create them.
Hover over the menu icon and select Projects
Select the project for which you want to create DataApps and click the DataApps icon from the project level navigation.
Click the plus icon and select Custom DataApp. This opens the Create DataApp page.
Specify this information on the Details tab.
Select the input type as Documents and PDFs.
Add the description of the DataApp that explains about it.
By default, the environment selected during project creation is applied. However, you have the flexibility to choose a different environment for running your DataApps.
Provide the name of the DataApp on the breadcrumb.
Click to upload an image to display on the DataApp card that you see on the DataApps page.
Turn ON or OFF the following toggles in the Consumer Permissions section to control what actions users with the DataApp Consumer role can perform:
Allow New Chat Creation: Turn ON to allow consumers to create new chats in the AskAI tab.
Allow Chat Deletion: Turn ON to enable consumers to delete chat threads.
Allow Input Selection: Turn ON to allow consumers to select input datasets or reports for chats in AskAI.
Show Input Name & Details: This option is disabled by default and is automatically enabled when Allow Input Selection is turned OFF. When enabled, consumers can view input data and its details. Ensure at least one input is selected in the chat for consumers to ask prompts related to the selected input. If a consumer deletes a chat, the same input will automatically be transferred to the new chat, ensuring continuity and ease of use.
Allow Documents Download and Preview: Turn ON to allow consumers to download and preview documents. Disabling this toggle will prevent them from downloading and previewing the documents.
Show Model Response Code: Turn ON to allow consumers to view the model-generated code for their queries.
Hide Side Panel: If toggles such as Allow New Chat Creation, Allow Input Selection, and Allow Chat Deletion are turned OFF, the side panel will no longer be visible.
If you want to preview how the DataApp's consumer interface appears after adjusting these toggles, use the Consumer Preview option. You can find this option under the Actions drop-down on the DataApps page. This allows you to see the interface from a consumer’s perspective and ensure that the changes reflect as expected.
Click Create. The DataApp card is created.
Click on the DataApp card to launch the AskAI DataApp. The AskAI chat window appears.
To upload documents, click Upload Documents, which supports formats such as PDF, DOC, DOCX, TXT, and Markdown. This option allows you to browse and upload files directly from your local system. Once uploaded, you can begin querying using AskAI. You can upload up to 50 documents at a time.
The Recent Documents tab displays recently uploaded documents, while the Select from Artifacts tab shows a list of folders in the Artifacts library. Clicking on a folder shows the files within it, allowing you to select the desired file for querying. However, only artifact files in PDF, DOC, DOCX, TXT, or Markdown formats can be selected for this purpose.
Enter the query in the query box. The generated output will be in the text format. You can:
Copy the answer using the Copy Answer option.
View the generated code by selecting the View Code option where you can also view the explanation for each line of code.
Perform the following actions clicking the Actions drop-down:
Copy the dataapps URL to share with the other business users, using the Copy option.
Open the dataapps on a new tab, using the Open in New Tab option.
View logs of DataApps to debug issues, using the Logs option.
Delete the DataApp that is no longer required, using the Delete option.
Customize the branding appearance of your DataApp, using the Branding option. This opens the Branding modal. Enter your desired title in the DataApp Title field, then use the Upload from Computer option to upload your logo. Once you have added the title and logo, click Save to apply the changes. The customized title and logo will now appear on the AskAI page and will also be visible when the DataApp is opened in a new tab.
As a DataApp power user or admin, you can preview the consumer interface using the Consumer Preview option. This option is available only when the DataApp is running.
Last updated