
Add to Memory
Easily store important information in your workflow with the Add to Memory component. Seamlessly save data or documents to long-term memory, categorized by cust...
The Search Memory component lets your flow retrieve information from stored memory based on user queries, supporting context-aware and knowledge-driven workflows.
Component description
The Search Memory component is designed to retrieve relevant information from your workflow’s memory storage, often referred to as “Long Term Memory”. It takes a user query and searches stored documents or knowledge resources, returning the most related content. This is particularly useful for AI workflows that need to reference previous information, retrieve supporting documents, or provide context-aware responses.
Input Name | Type | Required | Description | Default Value |
---|---|---|---|---|
Title | str | No | Title of the block in the output. | Related resources |
Result limit | int | Yes | Number of results to return. | 3 |
From pointer | bool | Yes | If true, loads from the best matching point in the document; otherwise, loads all. | true |
Hide resources | bool | No | If true, hides the retrieved resources from output. | false |
max_tokens | int | No | Maximum number of tokens in the output text. | 3000 |
strategy | str | Yes | Strategy for aggregating content: “Concat documents, fill from first up to tokens limit” or “Include equal size from each document”. | Include equal size from each documents |
threshold | float | No | Similarity threshold for retrieved results (0 to 1). | 0.8 |
tool_description | str | No | Description for the tool, used by agents to understand its function. | (empty) |
tool_name | str | No | Name for the tool in the agent. | (empty) |
use_content | multi-select | No | Which content types to export (e.g., H1-H6, Paragraph). | All (H1-H6, Paragraph) |
verbose | bool | No | Whether to print verbose output for debugging or insights. | false |
Input Name | Type | Required | Description | Default Value |
---|---|---|---|---|
Lookup key | str | No | Key used to locate specific information in Long Term Memory. | (empty) |
Input query | str | Yes | The search query to use in memory lookup. | (empty) |
The component provides multiple output formats to suit different needs:
Output Name | Type | Description |
---|---|---|
documents | Message | Retrieved content as message(s) |
documents_raw | Document | Raw, unprocessed document content |
documents_as_tool | Tool | Documents formatted for use as a tool in agent workflows |
Feature | Benefit |
---|---|
Query-based search | Finds the most relevant stored information for any user query |
Output options | Choose between message, raw document, or tool formats |
Custom retrieval | Control over number of results, similarity threshold, and content |
Integrates with AI | Ideal for AI agents needing dynamic access to stored knowledge |
This component is a versatile building block for any AI workflow that requires memory search, document retrieval, or contextual augmentation.
Search Memory enables your workflow to fetch relevant information from stored memory or documents using input queries, making your AI solutions more context-aware.
It retrieves documents that best match the input query, with options to limit the number of results and control the output format or strategy.
Yes, you can set a results limit, choose which document content types to include, and adjust strategies for combining document excerpts.
By allowing access to previous knowledge or long-term memory, your bot can provide more informed, accurate, and contextually relevant responses.
Absolutely. It’s designed to plug into complex flows where retrieving context or knowledge from prior data is crucial for intelligent automation.
Supercharge your AI solutions by integrating memory search and retrieval. Connect to long-term knowledge and deliver smarter responses.
Easily store important information in your workflow with the Add to Memory component. Seamlessly save data or documents to long-term memory, categorized by cust...
The JSON Document Search component enables powerful search capabilities within JSON files, using either text search or advanced query expressions. Connect exter...
The Search Emails component lets you automatically find and retrieve emails from Gmail based on specific criteria. It supports filtered searches and returns a l...