AI DIAL Chat is a powerful enterprise-grade application that serves as a default web interface for users, providing access to the full set of AI DIAL features.
- Watch a demo video with introduction to AI DIAL Chat UI.
- Refer to Quick Start to learn how to launch AI DIAL Chat in a few clicks.
Refer to AI DIAL Chat repository to view the project source code and documentation for additional components:
- DIAL Chat documentation.
- DIAL Chat Theming documentation.
- Chat Overlay documentation.
- DIAL Chat Visualizer Connector documentation.
You can also refer to other topics in this documentation:
- Chat localization instruction.
- List of supported LLMs.
- Chat UI design guidelines.
- Authentication guidelines.
The AI DIAL Chat application interface has several sections, such as the chat box, settings, and panels for managing conversations and saved prompts.
- Conversations: Here, you can manage your conversations: create new ones, organize them in folders, and delete. You can collapse and expand the panel by clicking the Hide panel icon above it.
- Chat: Use this section to enter a prompt, view results, and interact with language models.
- Chat Settings: In this section, you can select the language model, assistant, application, and addons you'd like to use. You can also provide a system prompt and adjust the temperature setting.
- Prompts: In this section, you can work with saved prompts: create new templates, update them, and organize them in folders. You can collapse and expand the panel by clicking the Hide panel icon above it.
- User Settings: In your user settings, you can customize the color theme (dark or light), choose a custom logo and other customization options.
- DIAL Marketplace: This section includes all applications, language models and assistants available on your DIAL environment.
In the AI DIAL framework, a conversation is a dialogue between an agent, such as a language model, assistant, or application, and a human user. The agent uses natural language to interact with a human and receive/give a feedback. Within one conversation, you can refer to previous questions and answers. But different conversations don't share context.
All your conversations are stored on the server, and you can access them from any device you use.
Click a ... icon to open a conversation menu. There, you can find the list of all the available actions for the selected conversation.
Note, that actions may vary for the selected conversation (e.g. there will not be an Unpublish action if the conversation has not yet been published).
This is the list of all the supported actions:
- Select: use to select conversations you want to delete.
- Rename - use to rename a conversation.
- Compare: use to compare conversations with different settings.
- Duplicate: use to duplicate a shared conversation.
- Replay: use to to reproduce conversations but with different settings.
- Playback: use to simulate the current conversation without any engagement with models.
- Export: use to export a conversation.
- Move to: use to relocate conversations.
- Share: use to share a conversation by providing a link.
- Unshare: use to revoke a shred conversation.
- Publish: use to publish conversations within the target audience.
- Unpublish: use to revoke public access from published conversations.
- Delete: use to delete a single conversation.
You can arrange your conversations in folders. To create a new folder, click a folder icon in the bottom menu:
You can also create a new folder or move a conversation to the existing folder from the Move to context menu of the selected conversation:
New folders will automatically be arranged in the Pinned conversations tab in the Conversations panel.
You can create a hierarchy of folders with three nesting levels. Just create a folder and drag-n-drop it in the other folder to create a nesting level. The same way, you can either drag-n-drop a conversation into a folder or use Move to in the context menu of a conversation to move it to a parent folder.
Note: empty folders are deleted after refreshing the page.
The following symbols in the folders names are prohibited: tab, "
, :
, ;
, /
, \
, ,
, =
, {
, }
, %
, &
and will be excluded. Note that you can use the .
symbol at the start or inside a name, but the dot at the end will be automatically removed.
The MAX length of the folder name is limited to 160 symbols. Everything beyond is cut off.
The Search box can be utilized to find conversations and folders by their names. If you have any shared conversations, you can apply Shared by me filter to sort them out.
- On the left panel, click New conversation.
- In the main section, under Talk To, select a language model, an assistant, or an application. Five most recently used items are shown in the section. To see all available items, click See full list.
- Optionally, under System prompts, select a prompt by typing "/" in the text box. For details, refer to the Prompts section of this guide.
- Under Temperature, set a value of the temperature parameter. For details, refer to the Temperature section of this guide.
- Optionally, under Addons, select an Addon. For details, refer to the Addons section of this guide.
- Under conversation settings, type your text (prompt) in the chat box and click the Send icon. The conversation will be created, and your first prompts will be used as its name.
When you create a new conversation, it is automatically named after the first line in your first prompt. For example, if your prompt includes several sentences separated by tab, the first one will be used to name the conversation. Moreover,the MAX length of the conversation name is limited to 160 symbols. Everything beyond is cut off. After that, you can rename your conversation.
- Click Rename in the context menu of the selected conversation.
- Enter a new name and submit.
The following symbols in the conversation names are prohibited: tab, "
, :
, ;
, /
, \
, ,
, =
, {
, }
, %
, &
and will be excluded. Note that you can use the .
symbol at the start or inside a name, but the dot at the end will be automatically removed.
In the conversation header, you can view the current settings, change settings (including model, temperature, prompt and more or clear the conversation history to start from scratch:
You can share a conversation or a folder with several conversations with other users. Yo can also receive a shared conversation.
Watch Collaboration demo video to learn more about sharing and other collaboration features in AI DIAL.
When someone shared a conversation with you, you can find it in the Shared with me section in the left panel.
Important: you cannot change a conversation that has been shared with you. To be able to work with it, duplicate it.
Note: You can share entire folders with conversations. When you share a folder, all folders and conversations in it will be shared as well.
To share a conversation or a folder, click Share in the contextual menu and copy the link.
After the recipient has opened your link, the arrow icon appears near its name. Note, it may be required to reload the page.
Click Shared by me checkbox in the filter to select just the conversations that you have shared:
To revoke access from all users you have shared with, click Unshare in the contextual menu and then confirm action in the dialog window.
Duplicate a shared with you conversation to be able to change it. To duplicate a conversation, click Duplicate in the contextual menu.
This feature is available only for conversations shared with you.
You can export selected conversations. If a conversation includes attachments, you can export it with or without attachments.
You can also export all your conversations at once without attachments in a JSON format.
Exported conversations are named by the following pattern: prefix "epam_ai_dial_chat", then "with_attachments" if the conversation was exported with attachments, then "month_day". However, the naming convention is configurable in the chat config.
- On the left panel, in the conversation contextual menu, point to Export.
- Click With attachments.
The conversation will be exported as a ZIP archive.
- On the left panel, in the conversation contextual menu, point to Export.
- Click Without attachments.
The conversation will be exported as a JSON file.
To export all conversations, at the bottom of the left panel, click the Export conversations icon.
Conversations will be exported without attachments.
Exported conversations can be imported.
To import a JSON file with a conversation or a ZIP archive with several conversations (may include attachments as well), click the Import conversations icon at the bottom of the left panel and then select a file with conversations.
When you import a conversation with attachments, the attachments will be available in the parent of the root folder in the Attachments Manager.
When importing a duplicate of an existing conversation, you will be prompted to select one of the proceeding options for both the conversation and each of the attachments:
- Replace - replace the original conversation/attachment
- Ignore - do nothing
- Postfix - add a postfix to the imported conversation/attachment. For example: my-conversation 1 , where 1 is added postfix to the name of the duplicated imported conversation.
You can delete a single conversation, selected conversations or all conversations.
- To delete a single conversation, on the left panel, in the conversation contextual menu, select Delete and confirm your action.
- To delete all conversations, at the bottom of the left panel, click the Delete all conversations icon.
Also, you can use a selection mode to choose conversation(s) you want to delete:
- Click Select all button in the bottom panel. When you do this, all conversations get preselected and you can unselect the ones you want to keep. You can also click Unselect all in the bottom panel to clear the selection.
- Click Select in the conversation menu to enter into a selection mode. In this mode, you can hover over any conversation and use checkboxes to select/unselect conversations you want to delete. You can also click Unselect all in the bottom panel to clear the selection.
You can use Replay to reproduce conversations but with different settings (e.g. a different model). A replayed conversation can be used to compare responses to the same questions from different models and with different settings of the conversation.
Use Replay as is to reproduce the conversation with the original settings.
- Click Replay in the conversation menu.
- Select Replay as is in More info in the Replay settings to reproduce the conversation with the original settings or change the conversation settings.
- Click Start replay.
- In the process of replaying, you can stop and resume the replay process.
The replayed conversation is displayed as a new conversation with the [Replay]
tag in the list of your conversations.
You can use Parameterized Replay to create your own chats or stories with custom variables and share them with your team. Such parametrized conversations others can follow, but with their own details or answers to create a personalized experience. This makes chat a much more useful tool for sharing information and collaboration.
You can create a parametrized conversation using a special prompt with variables.
Let's create a simple Travel Guide conversation, which will take a user though several steps to clarify information and provide the answer.
- Start by creating a special prompt with variables. Use templates (this
{{VariableName|DefaultValue}}
or this{{VariableName}}
) to add variables into your prompt with or without default values. For example:I'd like to travel to {{country|Japan}}. Could you please suggest {{num-attractions|10}} of the best attractions? I will be there for {{num-days}}. Thank you.
- To use your parametrized prompt, type
/
in the conversation text input area and select your prompt. You will be asked to provide your inputs for variables in a pop-up window. Enter your inputs and clickSubmit
. The prompt is now populated with your inputs in the conversation text box. Send message to start. - The chat will return its response to your prompt.
- You can now click Replay in your conversation's menu to repeat this dialogue but with different input parameters.
- You can Share this conversation with someone. When a person opens the shared conversation, they will be prompted to fill in their personal input in the parameterized prompt, allowing them to have the same conversation but with their custom inputs, for example, travel to USA instead of Japan.
You can create a parametrized conversation from any message in your chat. This scenario does not require having any pre-configured prompts.
Watch a demo video to see it in action.
-
Within a conversation, you can set any message as a template for subsequent replay. Use Set message template to invoke the Message template window.
-
In the Message template window, you can substitute sections of your original message with variables under the Set template tab. To achieve this, copy a segment from your original message and paste it into the first input box. Then, in the second input box, introduce a variable using the format:
{{Variable name}}
. For instance, in our example, we have replaced "France" with the{{Country}}
variable.In the Preview tab, you can preview your original message with variables:
-
Once you click save, you can return to your conversation. In the conversation menu, select Replay to initiate the replay of this conversation. The chat will prompt you to input values for your variable(s) to replay the conversation. You have the option to replay it as it originally was (using the same model as in your initial conversation) - select Replay as is in Talk to, or you can alter the settings of the conversation to experiment with different models and parameters.
-
You can Share this conversation with others. When someone opens the shared conversation, they will be prompted to provide their own inputs in the template. This allows experiencing the same conversation but with personalized inputs, such as traveling to the USA instead of France.
The Playback mode can be used to simulate the current conversation without any engagement with models. This mode accurately reproduces the conversation like a recording. It should be noted that this differs from the Replay mode, where the prompts are resubmitted to the chosen model and the outcomes may differ from the initial conversation.
During the playback, you can move back and forward the playback process or stop it.
Use the Compare mode to compare two new (or two existing) conversations with different setting (e.g. different models or temperature).
- Click the Compare icon at the bottom of the left panel.
- Choose settings of the first conversations.
- Choose settings of the second conversation.
- Type your question (prompt) in the chat box.
As you can see on the picture above, the system creates two conversations with the same name but adds numbers to them. If you have chosen different language models, the conversations icons on the left panel will differ.
The Compare mode works only with conversations with the same amount of prompts from a user. The application will not allow comparing two conversations with different amounts of prompts.
- On the left panel, in the conversation menu of a conversation, select Compare.
- In the main section, under Select conversation to compare with, select the second conversation from the drop box.
- By default, only conversations with the same name are available in the drop box. Select Show all conversations to see the full list of conversations.
- Type your question (prompt) in the chat box.
You can publish conversations to make them available for the target audience.
Watch Publications demo video to learn more about collaboration features in AI DIAL.
Note: to publish a shared conversation, duplicate it and then publish.
- Click Publish in the conversation menu.
-
In the pop-up window:
- Enter publication request name in the upper area.
- In Publish to, you can select the target destination. You can also create a dedicated folder to publish your conversation into.
- In Allow access.., specify access rules and the target audience. For example Role-Equals-Admin. Note: the available roles are configured for each organization individually. Contact your support to find out the rules are applicable in your organization.
- In Conversations, you can choose what conversations you want to publish (if you have selected a folder with several conversations). If conversations include attachments, you can also select them in the Files section.
- Assign a version to your request.
- Click Send request to send your publish request to the administrator.
-
When your request is approved, the published conversation or a folder with conversation(s) will become available in the Organization tab.
When you make a publication request, it is required to assign it a unique version number. A version must follow format: 0.0.0
. With each request you must provide a new version - the system will not accept two identical versions.
Versioning helps you create specific publications for different groups of people, run experiments, and keep track of your conversations easily.
You can add a version of your publication request next to the conversation check box:
If you try to publish this conversation again, you will be able to view the last version or a drop-down with versions:
When you open a published conversation, you can view and switch between its versions in the conversation settings:
You can unpublish conversations to withdraw them from public use.
- Click Unpublish in the conversation menu.
- In the pop-up window:
- Enter unpublish request name in the upper area.
- In Conversations, if you have selected a folder, you can choose what conversations you want to unpublish. If conversation(s) include attachment(s), you can also select them in the Files section.
- Click Send request to send your unpublish request to the administrator.
- When your request is approved, the unpublished conversation or a folder with conversation(s) will become unavailable in the Organization tab.
A prompt is an instruction, a question, or a message that a user provides to a language model to receive an answer. Prompts can also contain constraints or requirements. They help the model understand the task at hand and the types of responses that are expected. You can use prompts as templates for your messages, instructions to the model, or to encourage the model to generate specific types of content. In AI DIAL, you can create prompts beforehand and reuse them in one or several conversations.
Prompts can be applied to one message or a whole conversation. Refer to the System prompt section of this guide for details.
The section with your prompts is located in the right-hand area of the screen. In this section, you can work with saved prompts: create new templates, update them, and organize them with folders.
All your prompts are stored on the server, and you can access them from any device you use.
Click a ... icon to open a prompt menu. There, you can find a list of all the available actions for the selected prompt.
This is the list of all the supported actions. Note, that actions may vary for the selected prompt (e.g. there will not be an Unpublish action if the prompt has not yet been published)
- Select: use to select prompts you want to delete.
- Edit: select a prompt on the right panel to invoke the Edit window. Make all necessary changes and click Save.
- Duplicate: use to duplicate a shared prompt.
- Export: right-click a prompt on the right panel and select Export. The prompt will be exported as JSON.
- Import: click the Import prompts icon at the bottom of the right panel and then select a JSON file with prompts.
- Move to: use to place a prompt in a folder.
- Share: use to share a prompt or a folder with several prompts with other users.
- Unshare: use to revoke access to shared prompts.
- Publish: use to publish prompts within the organization.
- Unpublish: use to withdraw prompts from public use.
- Delete: you can delete a single prompt, all prompts or selected prompts.
- Export all prompts: click the Export prompts icon at the bottom of the right panel. All your prompts will be exported as JSON.
You can arrange your prompts in folders. To create a new folder, click a folder icon in the bottom menu:
You can also create a new folder or move a prompt to the existing folder from the Move to context menu of the selected prompt:
New folders will automatically be arranged in the Pinned prompts tab in the Prompts panel.
You can create a hierarchy of folders with three nesting levels. Just create a folder and drag-n-drop it in the other folder to create a nesting level. The same way, you can either drag-n-drop a prompt into a folder or use Move to in the context menu of a prompt to move it to a parent folder.
Note: empty folders are deleted after refreshing the page.
The following symbols in the folders names are prohibited: tab, "
, :
, ;
, /
, \
, ,
, =
, {
, }
, %
, &
and will be excluded. Note that you can use the .
symbol at the start or inside a name, but the dot at the end will be automatically removed.
The MAX length of the folder name is limited to 160 symbols. Everything beyond is cut off.
The Search box can be utilized to find prompts and folders by their names. If you have any shared prompts, you can apply Shared by me filter to sort them out.
-
On the right panel, select New prompt.
-
Fill in the Name, Description, and Prompt boxes. The following symbols in the prompt names are prohibited: tab, ":", ";", "/", "", ",", "=", "{", "}", "%", "&". Note that you can use the "." symbol at the start or inside a name, but the dot at the end will be automatically removed. The MAX length of the prompt name is limited to 160 symbols. Everything beyond is cut off.
Please note that both the Name and Description fields are mandatory to fill in order to create a prompt!
-
Click Save.
Name and Description aren’t used as instructions for a language model. They only help you to distinguish the prompt from others. The language model will only use instructions from the Prompt box.
You can use prompts as templates for your instructions to a language model. You can also add variables in your prompts. Use notation such as {{variableName}}
or {{variableName|Default Value}}
to add variables.
Refer to Parameterized Replay to view a use case when prompts are used to create parametrized conversations.
For example, you need to calculate an equation a + c/d
, round up the answer, and then divide it by 4. Let’s imagine that you need results for four sets of a
, c
, and d
.
In that case you can create the following prompt:
Here, a
, c
, and d
are variables. In the prompt body, they are denoted by double curly brackets: {{ }}
.
You can combine mathematical expressions and natural language in your prompts.
After you have created the prompt, you can use it by typing a slash /
in the chat box and selecting the name of a prompt (it is Math in our example). You’ll see the following form where you can enter any numbers:
When you submit the form, your message will look like on the illustration below:
Send the message to the model, and it will generate an answer using both mathematical and natural language instructions:
Generally, variables can be anything, not only numbers. For example, you can create a prompt with the following body: Who played {{character}} in {{movie}}? or What is a Latin name of {{plant common name}}?
You can delete a single prompt, selected prompts or all prompts.
- To delete a single prompt, in the menu of each prompt, select Delete and confirm your action.
- To delete all prompts, at the bottom of the right panel, click the Delete all prompts icon.
Also, you can use a selection mode to choose prompt(s) you want to delete:
- Click Select all button in the bottom panel. In this case, all prompts are preselected and you can unselect the ones you want to keep. You can also click Unselect all in the bottom panel to clear the selection.
- Click Select in the prompts menu. In this case, you can hover over any prompt and use checkboxes to select/unselect prompts you want to delete. You can also click Unselect all in the bottom panel to clear the selection.
You can share a prompt or a folder with several prompts with other users.
Watch Collaboration demo video to learn more about sharing and other collaboration features in AI DIAL.
To obtain a prompt from someone else (receive a shared prompt), you must get a link from them. By clicking on this link, you will import the prompt into your chat.
When someone shares a prompt with you, you can find it in the Shared with me section on the right panel. Important: you cannot change a prompt that has been shared with you. To be able to work with it, duplicate it. When you receive a shared prompt, a pop-up window opens up, where you can preview a prompt and duplicate it if needed.
You can always view prompts that have been shared with you in a dedicated section and perform various actions on them such as
- View: opens a pop-up window with a prompt preview.
- Duplicate: use to duplicate a shared with you prompt to be able to modify it.
- Delete: remove from the list.
- Export: download in a JSON format.
To share a prompt or a folder, click Share in the contextual menu and copy the link. After someone has opened your link, an arrow icon appears near its name and this prompt can be found when Shared by me checkbox in the filter is selected.
When you share a folder, all folders and prompts in this folders will be shared.
To revoke access from all users you have shared with, click Unshare in the contextual menu and then confirm actions in the dialog window.
You can duplicate a prompt to be able to change a prompt that was shared with you. To duplicate a prompt, click Duplicate in the contextual menu.
You can duplicate only prompt shared with you.
You can export
and import prompts as Json files
When importing a duplicate of an existing prompt, you will be asked to select one of the proceeding options:
- Replace - replace the original prompt
- Ignore - do nothing
- Postfix - add a postfix to the imported prompt. For example: my-prompt 1 , where 1 is added postfix to the name of the duplicated imported prompt.
You can publish prompts to make them available for the target audience.
Watch Publications demo video to learn more about collaboration features in AI DIAL.
Note: to publish a shared prompt, duplicate it and then publish.
- Click Publish in the prompt's menu.
- In the pop-up window:
- Enter publication request name in the upper area.
- In Publish to, select the target destination or a folder to publish your prompt into.
- In Allow access..., specify access rules and the target audience. For example Role-Equals-Admin. Note: the available roles are defined in each organization individually. Contact your support to find out the rules are applicable in your organization.
- In Prompts, if you have selected a folder, you can choose what prompts you want to publish.
- Assign a version to your publication request.
- Click Send request to send your publication request to the administrator.
- When your request is approved, the published prompt or a folder with prompt(s) will become available in the Organization tab.
When you make a publication request, it is required to assign it a unique version number. A version must follow format: 0.0.0
. With each request you must provide a new version - the system will not accept two identical versions.
Versioning helps you create specific publications for different groups of people, run experiments, and keep track of your prompts easily.
You can add a version of your publication request next to the prompt check box:
If you try to publish this prompt again, you will be able to view the last version or a drop-down with versions:
You can unpublish prompts to withdraw them from the public use.
- Click Unpublish in the prompt's menu.
- In the pop-up window:
- Enter unpublish request name in the upper area.
- In Prompts, if you have selected a folder, you can choose what prompts you want to unpublish.
- Click Send request to send your unpublish request to the administrator.
- When your request is approved, the unpublished prompt or a folder with prompt(s) will become unavailable in the Organization tab.
Chat has a central section where you can enter messages, view responses and perform other supported actions, depending on the application and chat configurations.
During a conversation, you can perform various actions:
Entering messages: you can use a text box at the bottom to enter your prompts and trigger the generation of answers by hitting Enter on your keyboard or clicking the Send button in the text box.
Copying responses: you can copy answers to reuse them some place else.
Stop and Regenerate: in the process of generating the response, you can stop it by clicking a Stop icon in the text box.
When the response generation has been stopped, you can regenerate it. Important: If you encounter a server error or click the Stop Generating button and receive an empty response, the Send button will be disabled. To continue the conversation, you'll need to generate the answer again. If you receive a partial response (a combination of text and an error), the model can still proceed, while for Assistants/Applications, you'll need to generate the response again.
Working with prompts: during the conversation, you can edit or delete your prompts. After a prompt has been edited, the response is regenerated, and all your prompts after the edited one will be deleted. When you delete your prompt, the response will be deleted, too.
Working with attachments in responses: if in the response you have received an attachment, you can click the Download icon near the file name to download it or an Expand to preview:
Attach files to requests: some models and applications (e.g. DIAL RAG) support adding attachments (files, links, folders) to conversations. In this case, you'll see the Attachments icon available in the chat box. Click it to upload a file from your device or select an already uploaded file. Refer to the Manage attachments section for details.
Like/Dislike: you can like and dislike responses in a conversation. Use likes to highlight important responses and dislikes to mark the responses you don't need.
View current settings: on the top bar, point to the language model logo icon near the conversation name to see current settings. In the same bar, you can click the Eraser icon to clear conversation messages and click the Gear icon to change conversation settings. Refer to Chat Settings to learn more.
In the Chat Settings section, you can define setting for a new conversation by selecting an entity you are going to communicate with (model, application or assistant), defining a system prompt, temperature or addon. During an ongoing conversation, you can edit these settings in a settings box.
In the Chat Settings section, there are the following components:
Take a closer look at each of these elements.
In this section, you can view all models, applications and assistants that you have added to My workspace section. Here, you can select them to use in conversations.
- In the Talk to area, click Search on My workspace to navigate to My workspace where you can display all models, applications and assistants that you have selected. Note, in the DIAL Marketplace section, you can view all the models available on your DIAL environment. There, you can select models to add them to My workspace.
- To display just Models, disable all other Types and enable just Models.
- To select a model, click any of the available models or select its version in the dropdown list. The selected model will appear in the models list as pre-selected for the new conversation.
In the DIAL Marketplace section, you can view all the models available on your DIAL environment. There, you can select models to add them to My workspace.
Refer to Supported Models to view all the models supported in AI DIAL.
- In the Talk to area, click Search on My workspace to navigate to My workspace where you can display all models, applications and assistants that you have selected.
- To display just Assistants, disable all other Types and enable just Assistants. Note, in the DIAL Marketplace section, you can view all the Assistants available on your DIAL environment. There, you can select Assistants to add them to My workspace.
- To select an Assistant, click any of the available Assistants.
In the AI DIAL framework, Assistants are a combination of preselected Addons and System Prompts that enable specific behavior in the LLM, allowing for more tailored and adaptive responses to user needs. Unlike the Model+Addon configuration, where users have the flexibility to choose different Addons, Assistants come with predetermined Addons that cannot be removed or unselected. However, the Model can still be reassigned within the Assistant.
Assistants give you more control over LLM behavior, resulting in tailored and accurate responses that match specific needs. The flexibility of this combination lets you create custom Assistants within the AI DIAL framework. These Assistants can range from simple tasks, like asking the LLM to provide answers in a specific tone or style (e.g., like a pirate), to more complex tasks, such as restricting the LLM's data to a specific geographical area (e.g., providing weather forecasts for Chicago only). Combining Addons and System Prompts enables better customization and adaptability to various situations, leading to more versatile responses.
In a chat application, you can include custom Assistant(s) that users can choose when using AI DIAL.
- Refer to Applications to learn more about them.
- Refer to My workspace to learn how to register and manage custom apps in AI DIAL Chat.
- In the Talk to area, click Search on My workspace to navigate to My workspace where you can display all models, applications and assistants that you have selected.
- display just Applications, disable all other Types and enable just Applications. Note, in the DIAL Marketplace section, you can view all the Applications available on your DIAL environment. There, you can select Applications to add them to My workspace.
- Click any of the available applications to start a conversation.
The system prompt in AI DIAL refers to the initial instructions given to the model. The system prompt in AI DIAL is like a compass for a traveler, pointing the model in the right direction to navigate the conversational landscape, ensuring it stays on course and aligned with the overall purpose and desired outcome.
Type /
in the text box to select any previously created prompt as a system prompt (for details, refer to the Create in Prompts), and it will set the context and tone for the whole conversation.
You can change system prompts during a conversation by selecting the Settings icon at the top bar of the conversation.
Let's compare a conversation with a system prompt selected and a conversation without a system prompt. For illustration purposes, we are going to use the compare mode (refer to the Compare section for details) and create two conversations with identical settings except for the system prompt selection.
The prompt used as a system prompt is as follows:
Let's play a game. Name a city that starts with the last letter of the one that I named in a previous message and then tell me that it is my turn to name a city.
User message | Language model response without a system prompt | Language model response with a system prompt |
---|---|---|
Grodno | Grodno, also known as Hrodna, is a city in western Belarus, near the borders with Poland and Lithuania. It is the administrative center of Grodno region and has a population of around 365,000 people. Grodno is one of the oldest cities in Belarus, dating back to the 11th century. The city boasts a rich history and diverse architectural styles, including baroque, classicism, and modernism. | Oslo. It's your turn! |
Osaka | Osaka is a large port city and commercial center on the Japanese island of Honshu. It's known for its modern architecture, nightlife, and hearty street food. One of Osaka's most popular tourist destinations is the bustling urban area of Dotonbori, where the city's entertainment and dining scenes come to life with numerous restaurants, bars, and shops. | Ankara. Now it's your turn to name a city! |
Antwerp | Antwerp is a city in Belgium, and it's the country’s biggest port. It is located on the River Scheldt, linked to the North Sea by the Westerschelde estuary. Known for its many historical buildings, squares, museums, and cultural attractions, it's a popular tourist destination. | Prague. Your turn to name a city! |
The temperature parameter controls the creativity and randomness of the model's output. A higher temperature (e.g., 1.0) makes the output more diverse and creative, while a lower temperature (e.g., 0.1) makes the output more focused and deterministic.
Adjusting the temperature allows you to balance creativity and consistency in the generated response.
You may want LLM to access particular data or technology to generate responses. This could be your company's database, a collection of PDF documents, calculation engines, API or any other data source or technology.
In the AI DIAL framework, an Addon refers to a service or component that conforms to the Open API specification. Examples of Addon implementations include semantic search, Q&A search, database query generators, or any custom logic tailored to meet specific business requirements. AI DIAL allows for the inclusion of custom Addons, which can be activated to achieve desired system behaviors.
- In the Talk to area, select a model to display additional parameters in the section to the right.
- In the Addons section you can view the addons available in your DIAL environment.
- Click on See all addons... to view all available addons. You can select one or more addons and then click Apply addons to start using them.
In the Isolated View Mode, a user can follow a specific URL https://server/models/modelID
or https://server/models/applicationID
to use the AI DIAL Chat in a simplified view with minimal configuration settings for a selected model or application. Conversation settings, conversation and prompt panels are not shown in this case. All created conversations are saved and displayed in the regular chat view mode as well (when just created, names of such conversations are appended in the regular view mode with an isolated
prefix in the beginning. e.g. isolated_dial-rag
).
For instance, if a user wants to open GPT-4 without any extra features or configurations, they can simply go to https://AI DIAL Chat URL/models/gpt-4
and access a streamlined user interface that only contains a chat input with GPT-4:
On the top bar, in the user area, you can click a down arrow to access additional settings or logout.
You can select the chat theme (dark or light), change logo, and switch to the full-width chat mode.
AI DIAL applications (e.g. DIAL RAG) can support attaching files, links or folders to a conversation and generate responses considering the attached resources.
If the selected application supports this, you can click the attachment icon in the conversation box and select Attach folders.
Note, that you can attach only folders from the file manager and cannot upload folders from an external source.
In the pop-up window, select a checkbox for the folder you want to add to add it. The attached folder will appear in the conversation box and become available for the application to work with.
If the selected application supports this, you can click the attachment icon in the conversation box and select Attach link. Then, specify a valid URL and click Attach. The link will be displayed as attachment in the conversation box and become available for the application to work with.
If the selected application supports this, you can click the attachment icon in the conversation box and select Attach uploaded files. In the attachments manager, select available files that you have previously uploaded and select a checkbox to add to the conversation. The file will be displayed as attachment in the conversation box and become available for the application to work with.
All attached and uploaded files are available in the attachments manager. To manage all attachments, click the Attachments icon at the bottom of the left panel.
There can be a few tabs in the Attachments Manager:
- Organization - published files
- Shared with me - files shared with you
- All files - the rest of your files
You can create folders and then upload files into them. Note, the only way to add a file into a folder is to upload it - you cannot move files between folders.
AI DIAL applications can be configured to allow attaching entire folders to conversations. In this case, only folders created in the attachments manager can be attached to a conversation.
- Click a folder icon to create a new folder.
- Give your folder a name.
- Click submit to apply.
You can as well perform several actions on your folders:
- Rename
- Upload files
- Add subfolders
To add a file into a folder it is necessary to upload it.
- In the Manage attachments dialog, select Upload from device.
- Select one or several files you want to upload and click Open.
- Under Upload to, select Change to pick a folder, in which the files will be uploaded.
- Under Files, change their names or delete them, if necessary. The following symbols in the file names are prohibited: tab,
"
,:
,;
,/
,\
,,
,=
,{
,}
,%
,&
. Note that you can use the.
symbol at the start or inside a name, but the dot at the end will be automatically removed. - Click Upload and attach files.
Using the application that supports the attachments of files, you can create a conversation and share it with someone. When a conversation is shared, all the attached to the conversation files are shared as well. In the attachments manager, such shared files are tagged with a blue arrow.
In the file menu, you can choose to unshare it:
Click a folder to expand it.
- In the Manage attachments dialog, point to a file and select it. You can select several files.
- Click the Download icon below the files tree.
You won't be able to preview or download a deleted file in a conversation, but you still will see its name.
- In the Manage attachments dialog, point to a file and select it. You can select several files.
- Click the Delete icon below the files tree.
You can publish/unpublish your applications, conversations and prompts, or even a collection of those, making them accessible within your organization. Additionally, you can manage access to the published resources, ensuring that the right information is accessible to the right individuals or teams.
Watch Publications demo video to learn more about publication and collaboration features in AI DIAL.
Refer to tutorials to learn more about working and configuring publications.
To enable the publication feature:
- Configure your identity service provider by allocation users in a group for administrators.
- Configure
access.admin.rules
in AI DIAL Core to define which user roles can perform the admin's actions. Refer to configuration to view the description of parameters. - Configure AI DIAL Chat by including
ConversationsPublishing
andPromptsPublishing
in theENABLED_FEATURES
variable. Refer to configuration to view the description of parameters and examples.
This is the high level overview of the publication workflow:
- Chat user sends a publication request for the selected resource(s) (conversation, prompt, application).
- Admin receives the publication request, reviews it and either approves or declines. Refer to Process Publish Requests to learn more.
- In case the publication request has been approved, the published resources (conversations and prompts) become available for the target audience in the Organization section in the chat application. Published applications can be found in DIAL Marketplace. If the published conversation includes attachments, they will be available in the Attachments Manager.
- Resource owner can unpublish the published resource.
Refer to Conversations, Prompts and Publish App to view step-by-step instructions.
Administrators are chat users that can perform additional actions. Chat interface for administrators includes extra components (for example the Approve required tab in conversations and prompts sections)
Users with the admin role have access to the Approve required tab in conversations and prompts sections, where they can view all publish and unpublish requests from users.
The count shows the number of requests to be reviewed. Each such request has a color dot attached to it. The refresh of a browser updates this information.
To review:
- Click on any conversation or prompt request to open the review window.
- In the review window, you can preview the details of the request and download attached files, if present. Note, that a request can include both publish and unpublish requests. The latter is highlighted in red color in the list of conversations or prompts. Such mixed requests can be currently realized exclusively using DIAL API.
- If Go to a review... is displayed, click it to review conversation(s) or prompt(s) in the request. For the unfinished review, this button changes to Continue review.... Note, you cannot approve the request which has not been reviewed in full.
- In the review mode, you can use arrows to navigate between conversations/prompts and click Back to publication request when finished reviewing.
- Once the review is completed, the Approve button is enabled. Note, you can approve or reject only the entire request.
AI DIAL Chat enables data visualization for specific data types using data visualizers. It comes with built-in support for the Plotly data visualizer. To link any other custom visualizers, you can use the DIAL Chat Visualizer Connector library.
Refer to Data Visualization to learn more about visualizing data in chat and custom visualization apps.
Plotly is an open-source JavaScript library that enables the creation of diverse data visualizations, including charts, 3D graphs, and more.
- Refer to Plotly to learn more.
- Watch Animated Scatterplot demo video to see how statistical data can be visualized in AI DIAL Chat using a Plotly animated scatterplot.
- Watch Omics AI Assistant demo video to see how protein structures can be visualized with Plotly.
AI DIAL Chat integrates with Plotly, offering robust data visualization capabilities. To utilize Plotly, choose an AI DIAL application that supports this feature. These applications must be capable of querying data (either from a URL or directly from the Chat application) based on user input and returning it in a format compatible with Plotly. Chat automatically detects attachments in this format and uses Plotly to visualize the data.
The visualizations come with standard Plotly controls for easy manipulation.
Refer to Plotly GitHub to learn more.
Refer to My workspace to learn how to register and manage custom apps in AI DIAL Chat.
An Application in AI DIAL refers to any custom logic with a conversational interface, adhering to a Unified API, and packaged as a ready-to-deploy solution. Applications can facilitate the customization of LLM behavior by incorporating tools (such as Addons) with a desired functionality. Additionally, applications can support logic not directly related to LLMs, such as echoing user messages, creating a fully deterministic chatbot, or orchestrating complex interactions involving multiple LLMs. The flexibility offered by applications enables customized solutions for distinct scenarios and needs.
Applications can be developed (using DIAL SDK) to execute any custom logic and can even form an ecosystem and interact with each other through the Unified API with access to all DIAL Core features among which is connectivity to models, file storage, access control, per-request API keys and other.
Watch a DIAL RAG video as an example of what DIAL applications may look like.
AI DIAL platform serves as an application server, offering tools to develop, deploy and operate custom applications.
DIAL applications can be integrated into the DIAL Core deployment. By doing so, these applications will be immediately available in your chat from the start. For examples, refer to the dynamic setting in DIAL Core. Additionally, you can register your custom and deployed applications through the DIAL API and DIAL Chat UI. In such cases, the configuration of your custom applications, described in a JSON file, is saved in your blob store and accessed by DIAL Core for usage.
Watch Marketplace demo video to see it in action.
Click DIAL Marketplace to navigate to the home page of DIAL Marketplace where you can find all applications, language models and assistants available on your DIAL environment. Here, you can also find all applications published in your organization.
You can navigate to this section form the main chat screen:
In DIAL Marketplace, there are two sections:
- DIAL Marketplace: this section includes all applications, language models and assistants available on your DIAL environment.
- My workspace: this section includes all applications, language models and assistants that you have selected in DIAL Marketplace. In this section, you can also register your custom applications.
From both these sections you can click Back to Chat to navigate to the main chat screen.
Use the Type filters to display any or all applications, language models, and assistants, and categorize them by Topic. Additionally, the Search allows you to swiftly locate any item.
Click DIAL Marketplace to navigate to the home page of DIAL Marketplace where you can find all applications, language models and assistants available on your DIAL environment. Here, you can also find all applications published in your organization.
In the DIAL Marketplace section, you can view details of any item and add it to My workspace:
- Click any item to view its details.
- Choose its version (if available). Note, that you can add different versions in several iterations. In this case, you will be able to select a version in Talk to before the conversation.
- Click Use to add.
- You can find the added item in My workspace and in Talk to.
In My workspace, you can access all the applications, language models, and assistants that you have added in DIAL Marketplace. This area allows you to view and select items for your conversations, as well as remove them from the list. Additionally, you can register custom applications here, which provides you with options for an extended range of actions.
You can also add custom applications using DIAL API.
If you want to use your custom application, you can register it in AI DIAL Chat or add using DIAL API. After adding a custom application, a JSON file describing the configuration of your application will be saved in a dedicated folder within a blob store account bucket assigned to your user account. These files can then be accessed by DIAL Core to facilitate the integration and operation of your applications. Configuration of a custom application matches DIAL Core dynamic configuration for applications. Refer to Examples to view how it can look like.
Important Requirement: Custom applications must provide a chat completion endpoint for DIAL Core and adhere to the Unified API standards to ensure seamless integration and functionality.
- Click Add app and select Custom app.
- Fill in the Add application form
- The registered application will appear in My workspace
Field | Required | Description |
---|---|---|
Name | Yes | Application name. |
Version | Yes | Application version, following the format x.y.z and contain only numbers and dots. |
Icon | Yes | The icon that will be rendered in the chat UI for this application. |
Topics | No | You can assign one of pre-defined topics to your custom application. Topics and their styles are defined in AI DIAL Chat Themes. You can also add custom applications using DIAL API. In this case, you can add any custom topic to your application by including this parameter in the application configuration JSON file: "description_keywords": ["My custom topic"] |
Description | No | A short description that will be rendered in the chat UI. Add two line breaks and provide an addition description if needed. |
Features data | No | Application features are specific configurations of applications specified in JSON format. Currently, only two are supported: rate and configuration endpoints:rateEndpoint is the endpoint for rate requests.configurationEndpoint is the endpoint to request application configuration parameters as JSON schema.Refer to DIAL Core documentation to view the full set of available application features. |
Attachments type | No | Types of attachments allowed for this application. Provide the types according to MIME standard. E.g.: image/png and click enter. |
Max. attachments number | No | The maximal number of attachments the application is allowed to accept. Skip to apply the max integer number. Enter 0 to disable attachments. |
Completion URL | Yes | A chat completion URL exposed by your application and used by DIAL Core to send chat completion requests. |
In My workspace, you can select with application, model or assistant you want to have in Talk To and then use in your conversations.
-
In My workspace, click an app/model/assistant and select to use it.
-
Click Back to Chat to return to the main chat screen.
-
Click New conversation. Select the desired item in the Talk To section. From there, you can use it for conversations.
You can also edit your custom application in Talk To.
Use Edit in the app's menu to modify the selected application. Note that you can edit only your custom applications.
-
Click Edit to invoke the Edit application form
-
Make changes and click Save
You can publish your custom applications to make them accessible to the selected audience in your organization. Refer to Publications to learn more about this functionality and to Tutorials for a more extended documentation.
Note: all published applications within your organization will appear in DIAL Marketplace for the corresponding audience.
You can also publish your custom application in Talk To.
-
In the application menu (you can also find a Publish icon in the Edit application form), click Publish
-
Enter publication request name in the upper area.
-
In Publish to, select the target destination or a folder to publish your prompt into.
-
In Allow access..., specify access rules and the target audience. For example Role-Equals-Admin. Note: the available roles are defined in each organization individually. Contact your support to find out the rules are applicable in your organization.
-
In Applications you can choose what applications you want to publish.
-
Click Send request to send your publication request to the administrator.
Note, when your request is approved, the published application will become available in the DIAL Marketplace for the target audience.
You can remove any application/model/assistant from My workspace. Use Remove in the item's menu to do this:
- Navigate to the My workspace section.
- In the item's menu, click Remove.
- Confirm your action in the dialog window.
You can also delete your custom application in Talk To.
Use Delete in the app's menu to completely delete the selected application. Note that you can delete only your custom applications.
- Navigate to the My workspace section.
- In the application menu, click Delete.
- Confirm your action in the dialog window.