Dust
Dust is an AI platform that enhances team collaboration and efficiency with customizable AI assistants integrated with internal data. It supports multiple AI models, enabling businesses to streamline workflows and foster innovation. With enterprise-grade security, Dust ensures data privacy while offering seamless collaboration through features like shared conversations and Slack integration.
How to Integrate Dust with ZBrain Flow
Click the '+' button in ZBrain Flow.
Search for Dust in the available integrations.
Select any Dust action to configure it.
How to Connect Dust to ZBrain Flow
Provide a Connection Name β Enter a name to identify your Dust connection.
Enter API Key β Obtain an API Key from Dust.
Steps to Get an API Key from Dust:
Log in to your Dust account.
Navigate to the API section:
Click on your profile picture or settings icon.
Select API from the menu.
Generate a New API Key:
Click the βGenerate New API Keyβ button.
Provide a name for the API Key (to remember its purpose).
Click βGenerateβ to create the key.
Copy the API Key:
The key will be displayed once. Copy it immediately, as it won't be shown again.
Enter the Dust Workspace ID
Steps to Find Your Workspace ID:
Go to the Workspaces Section:
Click on βWorkspacesβ in the main menu.
Select the Workspace:
Click on the workspace for which you need the ID.
Find the Workspace ID:
The Workspace ID is displayed in the URL of the workspace page or the workspace settings.
Click 'Save' β Your Dust connection is now ready for use in ZBrain Flow.
Actions Available in ZBrain Flow
1. Create a Conversation
Start a new conversation with a specific Dust assistant.
Configuration Steps:
Select a connection or create a new one.
Choose the Agent β Select the AI assistant that will handle the conversation.
Enter the Username β The user initiating the conversation.
Enter the Time Zone β Specify the user's time zone.
Enter the Title β Define the topic of the conversation.
Enter the Query β The initial message for the conversation.
Enter the Fragment β Add a content fragment (optional).
Enter the Fragment Name β Give a name to the content fragment (optional).
Enter Timeout (in seconds) β Specify the maximum wait time for a response.
2. Get an Existing Conversation
Retrieve details of a previously started conversation.
Configuration Steps:
Select a connection or create a new one.
Enter the Conversation ID β The unique identifier of the conversation.
Enter Timeout (in seconds) β Define how long to wait for a response.
3. Reply to a Conversation
Send a message in an ongoing conversation.
Configuration Steps:
Select a connection or create a new one.
Enter the Conversation ID β The ID of the ongoing conversation.
Choose the Agent β Select the AI assistant responding to the message.
Enter the Query β The message content to send as a reply.
Enter the Username β Identify the sender of the message.
Enter the Time Zone β Specify the userβs time zone.
Enter Timeout (in seconds) β Define the response wait time.
4. Add a Fragment to a Conversation
Create a new content fragment within a conversation.
What are Fragments?
A fragment is a piece of contextual information inserted into a conversation. It provides background data that an assistant can use while generating responses. For example, a fragment can include:
Product details in a customer support chat.
Company policies for an HR assistant.
Summarized meeting notes for an AI-powered meeting assistant.
Configuration Steps:
Select a connection or create a new one.
Enter the Conversation ID β Specify the conversation where the fragment should be added.
Enter the Fragment β Provide the contextual information.
Enter the Fragment Name β Assign a name to the fragment for reference.
5. Add or Update a Document
Insert a new document into a data source or update an existing document.
What is a Data Source?
A data source in Dust stores structured and unstructured content. AI assistants reference these documents when responding to queries.
Configuration Steps:
Select a connection or create a new one.
Enter the Data Source Name β Specify the source where the document will be stored.
Enter the Document ID β Assign a unique identifier for the document.
Enter the Document Content β Provide the text content of the document.
Enter the Source URL β If the document is cited from an external source, enter the URL.
Enter the Document Title β Provide a title for the document.
Enter Tags β Add metadata tags to categorize the document.
Click '+ Add Item' to add multiple tags.
6. Custom API Call
Perform a custom API request to a Dust endpoint.
Configuration Steps:
Select a connection or create a new one.
Enter the API Endpoint URL β Include the full URL or relative path.
Select the HTTP Method:
GET β Retrieve data.
POST β Send new data.
PATCH β Modify existing data.
PUT β Update or replace data.
DELETE β Remove data.
HEAD β Fetch headers only.
Add Headers β Define request headers (Authorization headers are auto-injected).
Add Query Parameters β Specify API parameters.
Enter JSON Body β Provide the request payload in JSON format.
Set Timeout (in seconds) β Define the request timeout duration.
Last updated