Diaflow Vectors

Retrieve relevant/ Add data from Diaflow vector database powered by MongoDB Atlas

Description

What it does: The Diaflow Vector component is used to vectorize data and transforming raw input data into a numerical format that the model can understand and process.

The Diaflow Vector component has the identifier of vec-X, where X represents the instance number of the Diaflow Vector component. When to use it? Imagine you're building an AI-powered chatbot that needs to answer user questions based on a massive knowledge base of documents. Diaflow Vectors lets you efficiently search through this knowledge base to find the most relevant information. It's not just about keyword matching – it's about understanding the meaning of the query and finding semantically similar content.

Caution with action "Add data to Vectors"

After you run the node

  • The system is processing the data, and it may take a few minutes to successfully save it to the Vector. You can check the data processing status on the Vector page

  • When the name of the added data matches the name of existing data, the system will automatically overwrite the old data

Component settings

Parameter Name
Description

Action

Options: (1) To get data from Vectors:

  • All data from vectors: Uses all available vector data.

  • From vector groups: Uses data from specific groups of vectors.

  • From vector files: Uses data from specific vector files.

(2) To add data to Vectors:

  • Add data to vectors

Input

(1) To get data from Vectors: The content will be used as a keyword for searching data. (2) To add data to Vectors Include: - File (.docx, .pdf, .txt) - URL

Destination

Applied this field witch action = Add data to vectors Option:

  • Root

  • Group

Select data

Allows the user to manage his vector files. Refer to Vectors section to have more information.

Advanced configurations

This Diaflow Vectors component has no advanced configurations.

Use case

A - Get data from Vector

Here is a simple use case of the Diaflow Vector component, where the Diaflow Vector component is being used to get data from vector.

B - Add data to Vector

Here is a simple use case of the Diaflow Vector component, where the Diaflow Vector component is being used to add data to vector.

Last updated

Was this helpful?