Sim Studio

Knowledge

Use vector search

Sim Studio's Knowledge Base is a powerful native feature that enables you to create, manage, and query custom knowledge bases directly within the platform. Using advanced AI embeddings and vector search technology, the Knowledge Base block allows you to build intelligent search capabilities into your workflows, making it easy to find and utilize relevant information across your organization.

The Knowledge Base system provides a comprehensive solution for managing organizational knowledge through its flexible and scalable architecture. With its built-in vector search capabilities, teams can perform semantic searches that understand meaning and context, going beyond traditional keyword matching.

Key features of the Knowledge Base include:

  • Semantic Search: Advanced AI-powered search that understands meaning and context, not just keywords
  • Vector Embeddings: Automatic conversion of text into high-dimensional vectors for intelligent similarity matching
  • Custom Knowledge Bases: Create and manage multiple knowledge bases for different purposes or departments
  • Flexible Content Types: Support for various document formats and content types
  • Real-time Updates: Immediate indexing of new content for instant searchability

In Sim Studio, the Knowledge Base block enables your agents to perform intelligent semantic searches across your custom knowledge bases. This creates opportunities for automated information retrieval, content recommendations, and knowledge discovery as part of your AI workflows. The integration allows agents to search and retrieve relevant information programmatically, facilitating automated knowledge management tasks and ensuring that important information is easily accessible. By leveraging the Knowledge Base block, you can build intelligent agents that enhance information discovery while automating routine knowledge management tasks, improving team efficiency and ensuring consistent access to organizational knowledge.

Usage Instructions

Perform semantic vector search across knowledge bases, upload individual chunks to existing documents, or create new documents from text content. Uses advanced AI embeddings to understand meaning and context for search operations.

Tools

Search for similar content in one or more knowledge bases using vector similarity

Input

ParameterTypeRequiredDescription
knowledgeBaseIdsstringYesID of the knowledge base to search in, or comma-separated IDs for multiple knowledge bases
querystringYesSearch query text
topKnumberNoNumber of most similar results to return (1-100)
tag1stringNoFilter by tag 1 value
tag2stringNoFilter by tag 2 value
tag3stringNoFilter by tag 3 value
tag4stringNoFilter by tag 4 value
tag5stringNoFilter by tag 5 value
tag6stringNoFilter by tag 6 value
tag7stringNoFilter by tag 7 value

Output

ParameterType
resultsstring
querystring
totalResultsstring

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

ParameterType
datastring
chunkIndexstring
contentstring
contentLengthstring
tokenCountstring
enabledstring
createdAtstring
updatedAtstring

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

Output

ParameterType
datastring
namestring

Block Configuration

Input

ParameterTypeRequiredDescription
operationstringYesOperation

Outputs

OutputTypeDescription
resultsjsonresults output from the block
querystringquery output from the block
totalResultsnumbertotalResults output from the block

Notes

  • Category: blocks
  • Type: knowledge