Skip to main content
Version: 1.10.x

Memory Base

A memory base is a per-flow vector store that automatically ingests conversation messages after each flow run. The Memory Base component retrieves context from a memory base attached to the current flow using semantic search. The most relevant conversation chunks are returned as a DataFrame.

Memory Base parameters

Some parameters are hidden by default in the visual editor. You can modify all component parameters through the component inspection panel that appears when you select a component.

NameDisplay NameInfo
memory_​baseMemory BaseInput parameter. Select the memory base to search. Only memory bases attached to the current flow are listed. Click the refresh button to reload the list after creating a new memory base.
search_​querySearch QueryInput parameter. The query string used for semantic retrieval. If empty, no results are returned. Supports tool mode for agent use.
top_​kTop K ResultsInput parameter. Number of top results to return. Default: 5.
include_​metadataInclude MetadataInput parameter. Whether to include chunk metadata (session ID, sender, timestamp, and so on) on each output row. Default: enabled.
filter_​by_​sessionFilter by SessionInput parameter. If enabled, only chunks from the current session_​id are returned. Disable to search across all sessions ingested into this memory base, which is useful for cross-conversation recall. Default: enabled.

The output is a DataFrame named Results where each row represents one matching memory chunk.

When Include Metadata is enabled, each row also contains fields such as session_id, sender, sender_name, and timestamp.

When a search query is provided, each row includes a _score field with the similarity score.

Use the Memory Base component in a flow

For more information, see Manage memory bases.

Search