GoodMem
ReferenceClient SDKs.NET SDKModels

AdvancedMemoryStreamRequest Model

AdvancedMemoryStreamRequest Model documentation for .NET SDK

Advanced memory stream request with custom post-processor configuration for semantic memory retrieval

Properties

NameTypeDescriptionNotes
MessagestringPrimary query or search message for semantic memory retrieval
SpaceIdsIList<string>List of space UUIDs to search within[optional]
RequestedSizeint?Maximum number of memories to retrieve. Default is 10[optional]
FetchMemorybool?Whether to fetch memory definitions in the response. Default is true[optional]
FetchMemoryContentbool?Whether to fetch original memory content. Default is false[optional]
FormatstringStreaming format: "ndjson" (newline-delimited JSON) or "sse" (Server-Sent Events). Default is "ndjson"[optional]
PostProcessorNamestringFully qualified name of the post-processor factory (e.g., "com.goodmem.retrieval.postprocess.ChatPostProcessorFactory")[optional]
PostProcessorConfigDictionary<string, object>Custom configuration dictionary for the post-processor. Keys and values depend on the post-processor implementation[optional]

Description

This class is used with the RetrieveMemoryStreamAdvancedAsync() method to provide full control over memory streaming with custom post-processor configurations. Unlike MemoryStreamRequest which uses query parameters, AdvancedMemoryStreamRequest sends the request as JSON in the POST body, allowing more complex post-processor configuration.

The post-processor configuration is flexible and depends on the specific post-processor being used. Common configurations include LLM settings, reranker settings, and relevance thresholds.

↑ Back to .NET SDK ↑ Back to .NET SDK ↑ Back to .NET SDK