Below the workflow graph frame in the middle panel of the home page, you'll find a chatbox. Use it to interact with a chatbot and receive answers about the platform, documentation, compliance, and the implementation of products, workflows, and APIs in the workspace.
Each workspace includes two chatbots:
Chatbots use embeddings to generate answers. These embeddings are texts converted into vectors and stored in a vector database.
Owners and designers can import files for training and manage the embeddings each chatbot use to answer prompts.
You can import and export training files for a selected chatbot, and manage its embeddings to optimize their training.
You can import training files in YAML or TXT format. Each format has its own purpose:
Keep in mind that the imported files will only apply to the selected chatbot.
To download a YAML file containing the embeddings used by the selected chatbot, click the Export YAML button. The file will be saved to your device and can be used to train other chatbots.
Each YAML file contains sections for individual embeddings. Below is the structure of an embedding section:
- keywords:
- A keyword
sources:
- "Single Source of Information"
- "https://www.example.com/url/to/the/source"
heading: "Title of the Text Content"
text: "Here goes a single paragraph text content"
Where:
keywords
lists the most important topics covered in the text.sources
references the articles, books, or resources used to generate the content.When importing text files, the system creates an embedding where:
keywords
and sources
are left empty.heading
is set to the file name.text
.This results in a YAML structure like:
- keywords: []
sources: []
heading: "File name"
text: "Here goes a single paragraph text content"
You can also have multiple sources or multiline text contents for an embedding:
- keywords:
- A keyword
sources:
>-
https://www.example.com/url/to/source-1
>-
https://www.example.com/url/to/source-2
heading: "Title of the Text Content"
text: >+
This is the first line.
This is the second line.
While you can follow these guidelines to manually structure YAML files, you can easily add embeddings from this modal and let the system handle the formatting.
When a user enters a prompt in the chatbot, the system:
Providing complete and accurate data in your embeddings improves the chatbot's ability to deliver precise answers.
Search and manage the chatbot embeddings to optimize their performance.
By default, embeddings are not listed in the table; you need to fetch them to display them. You can search and filter embeddings by:
To search the embeddings of the selected chatbot:
Keep in mind that the same query may produce different results based on the chatbot selected.
To add an embedding:
keywords
(optional): list the most important topics covered in the text. Separate multiple keywords with commas.sources
(optional): reference the articles, books, or resources used to generate the content. Separate multiple sources with commas.heading
(required): a title to the text content.text
(required): the content used to generate the chatbot responses.To edit an embedding from the table:
Here’s a refined version:
keywords
(optional): list the most important topics covered in the text. Separate multiple keywords with commas.sources
(optional): reference the articles, books, or resources used to generate the content. Separate multiple sources with commas.heading
(required): a title to the text content.text
(required): the content used to generate the chatbot responses.To delete an embedding, click the Delete Embedding button in the Actions column of its row in the Embeddings table. The row will be deleted automatically.