GoodMem
ReferenceClient SDKs.NET SDKModels

MemoryStreamRequest Model

MemoryStreamRequest Model documentation for .NET SDK

Memory stream request parameters for semantic memory retrieval with streaming support

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 true[optional]
GenerateAbstractbool?Whether to generate abstractive reply. Default is false[optional]
FormatstringStreaming format: "ndjson" (newline-delimited JSON) or "sse" (Server-Sent Events). Default is "ndjson"[optional]
PpLlmIdstringUUID of LLM for ChatPostProcessor[optional]
PpRerankerIdstringUUID of reranker for ChatPostProcessor[optional]
PpRelevanceThresholddouble?Minimum relevance score threshold for ChatPostProcessor[optional]
PpLlmTempdouble?LLM temperature for generation in ChatPostProcessor[optional]
PpMaxResultsint?Maximum results to return from ChatPostProcessor[optional]
PpChronologicalResortbool?Whether to resort results by creation time in ChatPostProcessor[optional]

Description

This class is used with the RetrieveMemoryStreamAsync() and RetrieveMemoryStreamChatAsync() methods to configure memory retrieval streaming. The request uses GET method with query parameters.

The Pp* properties are ChatPostProcessor-specific parameters for advanced post-processing of memory retrieval results. These are used when you need to apply additional LLM-based filtering, reranking, or abstractive summarization to the streaming results.

  • AdvancedMemoryStreamRequest - For POST-based requests with custom post-processor configuration
  • StreamingClient - Main streaming client class
  • StreamingEvent - Response events from streaming operations

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