Vectors

Vector databases are integral to most LLM systems and aid in extracting the key parts of a document for use by an LLM. They are specialized databases that store vectorized data, such as a document and its embeddings. They swiftly fetch the most pertinent documents based on a query by pinpointing the embeddings that closely match the query.

Diaflow supports storing and managing your files into vector format in one central location, allowing access by all your flows.

Files can be stored in the root Vectors area, or you can assign a file to one or multiple Groups. To switch the display, click either the "Files" or the "Groups" button.

You can upload documents, create articles within Diaflow for upload, or upload URLs.

The Vectors page has two modes, allowing you to view files in Groups or all Files.


Files Display Mode

When the page is in Files display mode, the list will display files from both the root Vector area and all groups.

Diaflow will also show you in real-time the status of the vectorization process so that you know when your Vectors are ready for use.

You can add files to the root Vector area by clicking the "Add" button. This will display a menu, allowing you to upload Documents, Articles or URLs.

You can also arrange you files into Groups to better organize them by clicking on the "Groups" button.


Group Mode

Your Vectors can be arranged into different Groups to organize them. Documents, articles and URLs can be individually stored in groups.

Groups can be displayed by selecting the "Groups" button from the Vectors page.

From here, you can view your existing groups and a new group can be created by clicking on the "Add a group" button.

Enter a name and description for your group.

Clicking on the "Create" button will create the new group and open the Group page where you can specify the contents of the group.

The triple-dot icon at the right hand side of each row displays a menu allowing you to view your data and delete the file from the group.

To view a textual version of your data you can select the "View data" menu item which will then display a popup dialog box showing the data.

Last updated