Diaflow's Documentation
HomePricingIntegrations
Documentation
Documentation
  • 😎WELCOME TO DIAFLOW
    • Introduction to Generative AI
    • What can you build with Diaflow?
  • 💻USER ACCOUNT
    • Create your user account
    • Delete your user account
    • Log out and log in
    • Change "Personal" & "Workspace" settings
    • Reset user account password
  • 🚀Getting Started
    • Let's start with the basics
      • How a component works?
      • How a flow works?
      • Creating your first flow
    • Dashboard
      • Services
      • Create a flow from scratch
      • Create a flow from templates
      • View your flows
    • Terminology
  • 🌊Flows
    • Overview
    • Create a flow
    • Delete a flow
    • Manage a flow
    • Publish a flow
    • Unpublish a flow
    • Deployment
    • Component Reference
      • Trigger
        • When inputs are submitted (Apps)
        • Cronjob (Automation)
        • Webhook (Automation)
        • Microsoft Outlook (Automation)
      • Outputs (Apps)
        • Text Output
        • Chart Output
        • Video Output
        • Audio Output
        • Image Output
      • Built in tools
        • Branch
        • Merge (Multiple data source to JSON)
        • Split Data (JSON Formatter)
        • Video to audio
        • Get current date and time
        • Web scraper
        • Document to plain text
        • Retrieve data from spreadsheet (Spreadsheet analyzer)
        • Spreadsheet creator
        • Convert JSON to chart data
        • PDF to image
        • Get weather information
        • HTTP Request
        • Get GEO Location
        • SMTP
        • Loop
        • Delay
      • Built in resources
        • Diaflow Vision
        • Diaflow Vectors
        • Diaflow Drive
        • Diaflow Table
      • Apps
        • Hunter.io
        • Outlook Email
        • Telegram
        • Slack
        • Python
        • YouTube
        • SerpAPI
        • Google Sheet
          • Document-level Operations
          • Sheet-level Operations
          • Data-level Operations
      • Database
        • MySQL
        • Microsoft SQL
        • PostgreSQL
        • Snowflake
      • Private AI/LLM Models
        • OpenAI
          • GPT Variants
          • GPT Vision
          • DALL-E Variants
          • TTS Variants
          • Whisper
        • Anthropic
        • Llama
        • Google Gemini
        • Cohere
        • MistralAI
      • Public AI/LLM Models
        • OpenAI Cloud
        • Perplexity Cloud
        • Deepseek Cloud
        • Anthropic Cloud
        • Replicate
        • Straico
        • OpenRouter
        • Cohere Cloud
        • Google Gemini Cloud
        • MistralAI Cloud
        • ElevenLabs Cloud
      • AI Tools
    • Component List & View Credits
  • ✒️PRODUCTIVITY TOOLS
    • Tables
    • Drive
    • Vectors
      • Document
      • Article
      • URLs
  • 🏠Workspace
    • History
    • Teams
    • Billing & Subscription
      • Upgrade/Downgrade a subscription
      • Buy credits
      • Credit Usage
      • Cancel a subscription
    • Settings
      • Personnal
      • Workspace
        • Change workspace
        • Workspace settings
        • Custom Domain
        • Delete workspace
      • Change Language
    • Documentation
    • Integrations
    • API keys
  • 📑Other
    • FAQs
    • Contact Information
Powered by GitBook
On this page
  • Description
  • Component settings
  • Advanced configurations
  • Use case
  • A - Get data from Vector
  • B - Add data to Vector

Was this helpful?

  1. Flows
  2. Component Reference
  3. Built in resources

Diaflow Vectors

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

Last updated 1 month ago

Was this helpful?

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

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.

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

🌊
Vectors