Integration with AI Features
How to Use Vectors in Diaflow Vector Node
Prerequisites: You have vectors uploaded and an automation flow created.
Search Data from Vectors:

Add Diaflow Vector node to your flow
Set Action to “Search data from Vectors”
Choose data source:
All data from vectors: Searches entire knowledge base
From vector groups: Select specific groups
From vector files: Select specific files
Configure Input field with search query or dynamic reference
Connect to LLM node(s) to analysis the data which queried at Diaflow Vector node
Setup output and execute the flow

Add Data to Vectors:

Set Action to “Add data to Vectors”
Choose Destination:
Root: Adds to main directory
Group: Select target group
Configure Input with file path or URL
Set Advanced Configurations:
Chunking Method, Chunk Size, and Chunk Overlap
Connect LLM model(s)
Setup output and execute the flow
Expected Result: Data is processed and becomes available for search operations.
UI Enhancements:

Selected files/groups display count (e.g., “Selected 6 files”)
View Files/Groups button shows detailed selection list
How to Integrate with Chat Simple Mode
Prerequisites: You have vectors uploaded and want to create a knowledge-based chatbot.
Steps:
Navigate to Chat, Simple Mode
In Knowledge Source section:
Select Vector data sources from Resource - Vector
Choose scope: Root, Group, or Files
Configure AI Engine (provider, model)
Set up personality and prompts
Check by asking some questions.
Publish your chatbot if you want everyone to be able to access it.
Data Integration:
Vector context appears as {{vec-0.output}} in prompts
Follow-up questions consider both conversation and vector context
Expected Result: Chatbot responses include relevant information from your knowledge base.
How to Use Vectors in Page Generation
Prerequisites: You want to generate documents (blogs, contracts) using your knowledge base.

Steps:
Navigate to Page on the sidebar, then generate document type
Complete initial input step
Click Setting icon
Knowledge source screen appears, select data you want to use
Setup AI Engine
Use a prompt to search the knowledge base you selected
AI generates content incorporating vector knowledge

Source Integration:
Documents: Summarized paragraphs used as context
Articles: Main body text provides supporting ideas
URLs: Text extracted without HTML/scripts
Groups: Aggregates most relevant vectors
Expected Result: Generated content reflects knowledge from selected vector sources.
Last updated
Was this helpful?