AdvancedMemoryStreamRequest Model
AdvancedMemoryStreamRequest Model documentation for .NET SDK
Advanced memory stream request with custom post-processor configuration for semantic memory retrieval
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Message | string | Primary query or search message for semantic memory retrieval | |
| SpaceIds | IList<string> | List of space UUIDs to search within | [optional] |
| RequestedSize | int? | Maximum number of memories to retrieve. Default is 10 | [optional] |
| FetchMemory | bool? | Whether to fetch memory definitions in the response. Default is true | [optional] |
| FetchMemoryContent | bool? | Whether to fetch original memory content. Default is false | [optional] |
| Format | string | Streaming format: "ndjson" (newline-delimited JSON) or "sse" (Server-Sent Events). Default is "ndjson" | [optional] |
| PostProcessorName | string | Fully qualified name of the post-processor factory (e.g., "com.goodmem.retrieval.postprocess.ChatPostProcessorFactory") | [optional] |
| PostProcessorConfig | Dictionary<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.