Knowledge

Use vector search

Configuration

Operation
Search
Knowledge Base*
Select knowledge base
Search Query
Enter your search query (optional when using tag filters)
Number of Results
Enter number of results (default: 10)
Tag Filters
Add tag filters
Search (knowledge_search)

Search for similar content in a knowledge base using vector similarity

Input
ParameterTypeRequiredDescription
knowledgeBaseIdstringYesID of the knowledge base to search in
querystringNoSearch query text (optional when using tag filters)
topKnumberNoNumber of most similar results to return (1-100)
tagFiltersarrayNoArray of tag filters with tagName and tagValue properties
itemsobjectNoNo description
propertiesstringNoNo description
tagNamestringNoNo description
tagValuestringNoNo description
tagFiltersstringNoNo description
Output
ParameterTypeDescription
documentIdstringDocument ID
documentNamestringDocument name
contentstringContent of the result
chunkIndexnumberIndex of the chunk within the document
similaritynumberSimilarity score of the result

Upload Chunk

Operation
Upload Chunk
Knowledge Base*
Select knowledge base
Document*
Select document
Chunk Content*
Enter the chunk content to upload
Upload Chunk (knowledge_upload_chunk)

Upload a new chunk to a document in a knowledge base

Input
ParameterTypeRequiredDescription
knowledgeBaseIdstringYesID of the knowledge base containing the document
documentIdstringYesID of the document to upload the chunk to
contentstringYesContent of the chunk to upload
Output
ParameterTypeDescription
chunkIdstringChunk ID
chunkIndexnumberIndex of the chunk within the document
contentstringContent of the chunk
contentLengthnumberLength of the content in characters
tokenCountnumberNumber of tokens in the chunk
enabledbooleanWhether the chunk is enabled
createdAtstringCreation timestamp

Create Document

Operation
Create Document
Knowledge Base*
Select knowledge base
Document Name*
Enter document name
Document Content*
Enter the document content
Document Tags
Document Tags
Create Document (knowledge_create_document)

Create a new document in a knowledge base

Input
ParameterTypeRequiredDescription
knowledgeBaseIdstringYesID of the knowledge base containing the document
namestringYesName of the document
contentstringYesContent of the document
tag1stringNoTag 1 value for the document
tag2stringNoTag 2 value for the document
tag3stringNoTag 3 value for the document
tag4stringNoTag 4 value for the document
tag5stringNoTag 5 value for the document
tag6stringNoTag 6 value for the document
tag7stringNoTag 7 value for the document
documentTagsDataarrayNoStructured tag data with names, types, and values
Output
ParameterTypeDescription
documentIdstringDocument ID
documentNamestringDocument name
typestringDocument type
enabledbooleanWhether the document is enabled
createdAtstringCreation timestamp

Usage Instructions

Integrate Knowledge into the workflow. Can search, upload chunks, and create documents.

Notes

  • Category: blocks
  • Type: knowledge