# Introduction

Welcome to UnifiedStacks documentation.


# Platform Overview

**Folders Tab**

Let’s start by creating a new folder in UnifiedStacks dashboard. Click on the “New Folder” button in the top right corner of the dashboard. A folder is a container where you can manage multiple applications. You can view all the folders created by you as well as shared with you.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FddZpTqWdktOL6N9eoWlG%2FScreenshot%202024-04-17%20at%205.03.27%E2%80%AFPM.png?alt=media&amp;token=35b5476a-2db6-4f9b-ac38-509ec79eeec4" alt=""><figcaption></figcaption></figure>

### Apps tab

You can manage all your applications from the apps tab. Click on the “New App” button in the top right corner of the dashboard to create a new app. You can view all the applications created by you as well as shared with you.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FbK2KEiGlO7nxRtV9vruF%2FScreenshot%202024-04-17%20at%205.05.36%E2%80%AFPM.png?alt=media&amp;token=d8112e8f-c714-4fc0-850b-5cdfd2a87837" alt=""><figcaption></figcaption></figure>

### Templates

You can create a blank app or choose from a list of pre-designed applications depending on your use case.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FpdH0w6n4Pd7jQq5VT6sv%2FScreenshot%202024-04-17%20at%205.07.19%E2%80%AFPM.png?alt=media&amp;token=ccaddb63-d395-48c9-bbac-25a9c3dd8590" alt=""><figcaption></figcaption></figure>

### Settings

You can manage your plans and check usage from settings page.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FtVY5epP43VkrWTqcfXpb%2FScreenshot%202024-04-17%20at%205.11.26%E2%80%AFPM.png?alt=media&amp;token=3b4d909a-881a-4368-9fe5-04139e12bad7" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2F6CpT1Zf3OuMMqIZ2C2vj%2FScreenshot%202024-04-17%20at%205.11.35%E2%80%AFPM.png?alt=media&amp;token=17cd8583-b4a1-4771-8cc6-85b4545d119e" alt=""><figcaption></figcaption></figure>

### Application Builder

Once you create a new application, you will see an interface with four sections.&#x20;

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2F3TZR7yZ0I6KZ612q92pr%2FScreenshot%202024-04-17%20at%205.15.31%E2%80%AFPM.png?alt=media&amp;token=8fba35d9-69c4-45b4-b98d-37785f77d46a" alt=""><figcaption></figcaption></figure>

1. Top bar - You can edit the name, preview, save and publish the application from the top navigation bar.
2. Left side - App Navigation bar.
3. Workflow - Drag and drop workflow elements in the section.
4. Workflow elements - List of available elements for app builder.

### Knowledge Base

You can upload, review and manage documents and information relevant to the application from Knowledge Base page.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2F6bvBo0Oq2Mnk5AqBRneQ%2FScreenshot%202024-04-17%20at%205.27.55%E2%80%AFPM.png?alt=media&amp;token=fad2cd34-e2e7-4fc5-a128-e48c64a9d0f8" alt=""><figcaption></figcaption></figure>

### Exports

Once you publish an application, you will get an URL link which you can share with internal as well as external users.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FIZKRTlRczkUf4QchEAZN%2FScreenshot%202024-04-17%20at%205.28.33%E2%80%AFPM.png?alt=media&amp;token=5519d37e-665c-4e99-85d3-b5830afda61e" alt=""><figcaption></figcaption></figure>

### Published Application

Once you click on the exported link, you will be taken to the application page.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2Fuf9gefrMnF5pKQKmSjuh%2FScreenshot%202024-04-17%20at%205.36.50%E2%80%AFPM.png?alt=media&amp;token=0979defa-9dc2-4646-b7ae-285ec9415777" alt=""><figcaption></figcaption></figure>

### Sessions

You can easily access all historical interactions of your users with your application.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FDeuh6FtrmQ86XA2bwa5n%2FScreenshot%202024-04-17%20at%205.34.05%E2%80%AFPM.png?alt=media&amp;token=c5a6bbd7-6c30-493e-9cc1-de24cf093a0d" alt=""><figcaption></figcaption></figure>

### Logs

You can easily access logs and all the processed information from the logs page.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FFxGsbC9jD5mqUy8KyjH2%2FScreenshot%202024-04-17%20at%205.51.52%E2%80%AFPM.png?alt=media&amp;token=1c35a57f-dfb3-45eb-9e71-ff2ab219fe30" alt=""><figcaption></figcaption></figure>

### Invite

You can invite team members and collaborators to work together on an application. Similarly, you can also add team members to folder from the folders page which gives them access to all the applications in the folder.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FeAomLndKgXRYLyjClwXM%2FScreenshot%202024-04-17%20at%205.54.18%E2%80%AFPM.png?alt=media&amp;token=ebb2bcc6-1b0a-400c-8934-93c3b21fdc84" alt=""><figcaption></figcaption></figure>


# Knowledge Base

Easily upload, manage and review documents and information to the knowledge base. You can think of knowledge base as the central information system of the application. The documents uploaded are indexed and stored in a vector database for easy retrieval.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FZu28xgxhUcsc0eK7FhAh%2FScreenshot%202024-04-17%20at%207.30.14%E2%80%AFPM.png?alt=media&amp;token=27b4094e-d4e5-4e50-98bf-e72f7f2efed9" alt=""><figcaption></figcaption></figure>

Users can upload multiple document formats to the knowledge base.

1. **Documents** - Easily upload any of these file types with one click - .pdf, .epub,.pptx, .docx, .rtf, .txt.
2. **Website** - Easily scrape information and data by providing the web url.
3. **Images** - Along with uploading the image, the loader extracts all the information visible in the image including texts, figures, objects, description.
4. **Audio** - Along with uploading audio files to the knowledge base, system transcribes the audio file and extract all the information.  Allowed file types - .3ga, .aac, .ac3, .flac, .flv, .m4a, .mp3, .wav, .wma.
5. **Video** - Along with uploading the video files to the knowledge base, system transcribes the video and extract all the information.  Allowed file types - .mts, .mov, .mp2, .mp4, .m4v, .webm.

**More formats coming soon......**


# Layout Elements

Layout elements are essentially used to provide description and information to the users about the application. You can add headings, paragraphs, separators and URL links.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2F58ve9QgZeNvcu5qd3WKZ%2FScreenshot%202024-04-17%20at%206.00.49%E2%80%AFPM.png?alt=media&amp;token=5c3aab75-166f-4d1b-8970-e39f4264a3e4" alt=""><figcaption></figcaption></figure>

Once you drag the element to the workflow builder, you can easily customize the element by clicking on the element.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FXyzIzibYfxnIcdauoRI4%2FScreenshot%202024-04-17%20at%206.03.47%E2%80%AFPM.png?alt=media&amp;token=e0685cbf-23b8-4bda-b233-ce351b1acb6f" alt=""><figcaption></figcaption></figure>

To remove an element, just click on the trash icon.


# Input Elements

Input elements gives you the flexibility to allow users to enter text / query which can be used in the workflow. You get access to multiple input types - checkbox, date, number, select (dropdown), text and textarea fields.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FZEok7LcJLl31inDZiqKo%2FScreenshot%202024-04-17%20at%206.06.09%E2%80%AFPM.png?alt=media&amp;token=2a0ea8a4-e5b3-4204-9c92-aef327bbe6af" alt=""><figcaption></figcaption></figure>

You can easily customize the element to provide information about the purpose of the input field.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2Fo1RTHBhmcnFTLbEu4fW8%2FScreenshot%202024-04-17%20at%208.49.51%E2%80%AFPM.png?alt=media&amp;token=d08d821c-0d28-44ac-a1c9-e36425dcbd28" alt=""><figcaption></figcaption></figure>

To remove an element, just click on the trash icon.


# Knowledge Base Retriever

The knowledge base retriever can be used to search the knowledge base and retrieve relevant information from the vector store based on the query. You can retrieve information from documents, websites, images, audios and videos uploaded to the knowledge base. Depending on your use case, you can use single or multiple retrievers.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FcOarNSvfvNGme6XUFDuR%2FScreenshot%202024-04-17%20at%207.09.23%E2%80%AFPM.png?alt=media&amp;token=e5364b55-863c-4ded-8665-1070a120badb" alt=""><figcaption></figcaption></figure>

Once you drop the retriever to the builder zone, you need to configure the query to retrieve relevant information. You can hardcode your query text in the query box.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2F3BelUjratZ1KqmtU7fFI%2FScreenshot%202024-04-17%20at%207.41.30%E2%80%AFPM.png?alt=media&amp;token=cf800a7a-bc43-4140-a51e-94f84b60ba2c" alt=""><figcaption></figcaption></figure>

Alternatively, you can pipe in the variable from the workflow to be used as a query. Type "**#**" in the Query box, it will show the list of available variables from the workflow builder. Users can also specify number of results to be fetched.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FtClXlM5Ule1J3z4EPDYu%2FScreenshot%202024-04-17%20at%207.45.31%E2%80%AFPM.png?alt=media&amp;token=7f7c3dea-5355-4670-973c-b5c8f1ecd64a" alt=""><figcaption></figcaption></figure>

**These steps are applicable to all knowledge base retrievers.**&#x20;


# UI Data Loaders

UI data loaders give users flexibility to add real-time documents and data to the workflow.&#x20;

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FdjNm8DJKgM0728lkrKLm%2FScreenshot%202024-04-17%20at%207.50.22%E2%80%AFPM.png?alt=media&amp;token=1cfe05ee-b9e1-4692-8510-83e0abf8424e" alt=""><figcaption></figcaption></figure>

The UI data loaders functions same as the ones available for knowledge base retrievers. The advantage of UI data loader over knowledge base is that it gives the flexibility for the frontend users to add their own document in the workflow for processing. Admin can also select if they want the documents uploaded by the users to be added to knowledge base or not for future processing. Similar to the knowledge base loaders, admin can either add static query for information retrieval or pipe variable from the workflow.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FH2MHCja8ok0qmTUJX1zM%2FScreenshot%202024-04-17%20at%207.53.48%E2%80%AFPM.png?alt=media&amp;token=1ff93779-0c4b-4791-a406-dd0991d35345" alt=""><figcaption></figcaption></figure>

**These steps are applicable to all UI data loaders.**&#x20;


# Agents

Agents are off-the-shelf tools which can help you enhance your workflow. These are collection of toolkits designed to do a specific task.  You can also select if the output of agents are visible to the users or hidden.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FRIBRRflxamESjfHWAElN%2FScreenshot%202024-04-17%20at%208.05.18%E2%80%AFPM.png?alt=media&amp;token=960f8249-0539-412b-8b36-f594caf61f8e" alt=""><figcaption></figcaption></figure>

### Google Search

You can use Google Search agent to perform real-time search on Google and retrieve answers. You can either hard code the search query or pipe a set of variables from the workflow.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FCMcg3D8g3EvDPNZ9GUKE%2FScreenshot%202024-04-17%20at%208.07.20%E2%80%AFPM.png?alt=media&amp;token=03cbe77c-5cae-46f7-b768-805e2cc3142b" alt=""><figcaption></figcaption></figure>

### Wikipedia

You can use Wikipedia agent to perform real-time search on Wikipedia and retrieve answers. You can either hard code the search query or pipe a set of variables from the workflow.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2Fhj2Caq4amxz9bpwHmIgJ%2FScreenshot%202024-04-17%20at%208.54.32%E2%80%AFPM.png?alt=media&amp;token=2bb2c20a-1178-415a-b204-4c42ad8d19d5" alt=""><figcaption></figcaption></figure>

### YouTube

YouTube agent helps users to extract transcript by providing a YouTube video url. You can either hard code the url or pipe a set of variables from the workflow.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FWedUBEhidhlJjbd7vezg%2FScreenshot%202024-04-17%20at%208.14.58%E2%80%AFPM.png?alt=media&amp;token=d6f6880b-8661-4ff3-830c-8e143572e0a0" alt=""><figcaption></figcaption></figure>


# Actions

Actions are core components of the application. Actions uses large language model that takes data from input elements, knowledge base and agents as inputs and returns messages as outputs based on the prompt. You can specify system instructions, prompts, interchange between different providers and models. Each action step can either be final output or intermediate depending one the use case.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FyVnmELSKqHbMtB5u4Vt5%2FScreenshot%202024-04-17%20at%208.22.55%E2%80%AFPM.png?alt=media&amp;token=9a0040a3-a7e3-4b8a-b3c0-65ca3bcbba63" alt=""><figcaption></figcaption></figure>

### Text to Text

Creates text from text input. You need to specify the task in the prompt box. You can use the input variables as well as result generated from previous steps as input to prompt.&#x20;

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FLgp4XaFm11FW7ErXN3mo%2FScreenshot%202024-04-17%20at%208.24.03%E2%80%AFPM.png?alt=media&amp;token=fd386f16-b749-4732-a864-d726681c7182" alt=""><figcaption></figcaption></figure>

Model Setting - In the model setting tab, you can switch between different LLM providers, models, temperature and maximum output length.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2FekvLmQdesL11f0dNkD7b%2FScreenshot%202024-04-17%20at%208.25.49%E2%80%AFPM.png?alt=media&amp;token=a6b3d7be-924e-413d-a8e6-e7c002bd396a" alt=""><figcaption></figcaption></figure>

### Summarizer

Summarizer action can be used to review a document and generate a summary of the content.

<figure><img src="https://3545311624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZomqulOCaUUsoGuopvVH%2Fuploads%2Fnc7Jyz1arZx1RatEincc%2FScreenshot%202024-04-17%20at%208.28.14%E2%80%AFPM.png?alt=media&amp;token=78df32b3-6887-42bb-9736-b92ada200b5e" alt=""><figcaption></figcaption></figure>

*Currently, summarizer only works with UI Data Loaders.*


